MySQL 5.6.14 Source Code Document
|
#include <my_global.h>
#include <string.h>
#include <my_dir.h>
#include <my_sys.h>
#include "mysql/psi/psi.h"
Go to the source code of this file.
Classes | |
struct | st_mysql_file |
Macros | |
#define | mysql_file_register(P1, P2, P3) inline_mysql_file_register(P1, P2, P3) |
#define | mysql_file_fgets(P1, P2, F) inline_mysql_file_fgets(P1, P2, F) |
#define | mysql_file_fgetc(F) inline_mysql_file_fgetc(F) |
#define | mysql_file_fputs(P1, F) inline_mysql_file_fputs(P1, F) |
#define | mysql_file_fputc(P1, F) inline_mysql_file_fputc(P1, F) |
#define | mysql_file_fprintf inline_mysql_file_fprintf |
#define | mysql_file_vfprintf(F, P1, P2) inline_mysql_file_vfprintf(F, P1, P2) |
#define | mysql_file_fflush(F) inline_mysql_file_fflush(F) |
#define | mysql_file_feof(F) inline_mysql_file_feof(F) |
#define | mysql_file_fstat(FN, S, FL) inline_mysql_file_fstat(FN, S, FL) |
#define | mysql_file_stat(K, FN, S, FL) inline_mysql_file_stat(FN, S, FL) |
#define | mysql_file_chsize(F, P1, P2, P3) inline_mysql_file_chsize(F, P1, P2, P3) |
#define | mysql_file_fopen(K, N, F1, F2) inline_mysql_file_fopen(N, F1, F2) |
#define | mysql_file_fclose(FD, FL) inline_mysql_file_fclose(FD, FL) |
#define | mysql_file_fread(FD, P1, P2, P3) inline_mysql_file_fread(FD, P1, P2, P3) |
#define | mysql_file_fwrite(FD, P1, P2, P3) inline_mysql_file_fwrite(FD, P1, P2, P3) |
#define | mysql_file_fseek(FD, P, W, F) inline_mysql_file_fseek(FD, P, W, F) |
#define | mysql_file_ftell(FD, F) inline_mysql_file_ftell(FD, F) |
#define | mysql_file_create(K, N, F1, F2, F3) inline_mysql_file_create(N, F1, F2, F3) |
#define | mysql_file_create_temp(K, T, D, P, M, F) inline_mysql_file_create_temp(T, D, P, M, F) |
#define | mysql_file_open(K, N, F1, F2) inline_mysql_file_open(N, F1, F2) |
#define | mysql_file_close(FD, F) inline_mysql_file_close(FD, F) |
#define | mysql_file_read(FD, B, S, F) inline_mysql_file_read(FD, B, S, F) |
#define | mysql_file_write(FD, B, S, F) inline_mysql_file_write(FD, B, S, F) |
#define | mysql_file_pread(FD, B, S, O, F) inline_mysql_file_pread(FD, B, S, O, F) |
#define | mysql_file_pwrite(FD, B, S, O, F) inline_mysql_file_pwrite(FD, B, S, O, F) |
#define | mysql_file_seek(FD, P, W, F) inline_mysql_file_seek(FD, P, W, F) |
#define | mysql_file_tell(FD, F) inline_mysql_file_tell(FD, F) |
#define | mysql_file_delete(K, P1, P2) inline_mysql_file_delete(P1, P2) |
#define | mysql_file_rename(K, P1, P2, P3) inline_mysql_file_rename(P1, P2, P3) |
#define | mysql_file_create_with_symlink(K, P1, P2, P3, P4, P5) inline_mysql_file_create_with_symlink(P1, P2, P3, P4, P5) |
#define | mysql_file_delete_with_symlink(K, P1, P2) inline_mysql_file_delete_with_symlink(P1, P2) |
#define | mysql_file_rename_with_symlink(K, P1, P2, P3) inline_mysql_file_rename_with_symlink(P1, P2, P3) |
#define | mysql_file_sync(P1, P2) inline_mysql_file_sync(P1, P2) |
Typedefs | |
typedef struct st_mysql_file | MYSQL_FILE |
Instrumentation helpers for mysys file io. This header file provides the necessary declarations to use the mysys file API with the performance schema instrumentation. In some compilers (SunStudio), 'static inline' functions, when declared but not used, are not optimized away (because they are unused) by default, so that including a static inline function from a header file does create unwanted dependencies, causing unresolved symbols at link time. Other compilers, like gcc, optimize these dependencies by default.
Since the instrumented APIs declared here are wrapper on top of mysys file io APIs, including mysql/psi/mysql_file.h assumes that the dependency on my_sys already exists.
Definition in file mysql_file.h.