Loading include/my_sys.h +21 −17 Original line number Diff line number Diff line Loading @@ -316,7 +316,7 @@ typedef struct st_io_cache_share int count; /* actual IO_CACHE that filled the buffer */ struct st_io_cache *active; /* the following will go implemented whenever the need arises */ /* the following will be implemented whenever the need arises */ #ifdef NOT_IMPLEMENTED /* whether the structure should be free'd */ my_bool alloced; Loading Loading @@ -387,14 +387,18 @@ typedef struct st_io_cache /* Used when cacheing files */ */ byte **current_pos, **current_end; #ifdef THREAD /* The lock is for append buffer used in SEQ_READ_APPEND cache need mutex copying from append buffer to read buffer. */ /* The lock is for append buffer used in SEQ_READ_APPEND cache need mutex copying from append buffer to read buffer. */ pthread_mutex_t append_buffer_lock; /* The following is used when several threads are reading the /* The following is used when several threads are reading the same file in parallel. They are synchronized on disk accesses reading the cached part of the file asynchronously. It should be set to NULL to disable the feature. Only READ_CACHE mode is supported. */ READ_CACHE mode is supported. */ IO_CACHE_SHARE *share; #endif /* Loading Loading
include/my_sys.h +21 −17 Original line number Diff line number Diff line Loading @@ -316,7 +316,7 @@ typedef struct st_io_cache_share int count; /* actual IO_CACHE that filled the buffer */ struct st_io_cache *active; /* the following will go implemented whenever the need arises */ /* the following will be implemented whenever the need arises */ #ifdef NOT_IMPLEMENTED /* whether the structure should be free'd */ my_bool alloced; Loading Loading @@ -387,14 +387,18 @@ typedef struct st_io_cache /* Used when cacheing files */ */ byte **current_pos, **current_end; #ifdef THREAD /* The lock is for append buffer used in SEQ_READ_APPEND cache need mutex copying from append buffer to read buffer. */ /* The lock is for append buffer used in SEQ_READ_APPEND cache need mutex copying from append buffer to read buffer. */ pthread_mutex_t append_buffer_lock; /* The following is used when several threads are reading the /* The following is used when several threads are reading the same file in parallel. They are synchronized on disk accesses reading the cached part of the file asynchronously. It should be set to NULL to disable the feature. Only READ_CACHE mode is supported. */ READ_CACHE mode is supported. */ IO_CACHE_SHARE *share; #endif /* Loading