diff options
author | unknown <serg@sergbook.mysql.com> | 2002-07-14 21:47:46 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-07-14 21:47:46 +0200 |
commit | af2d5f3df11d4bcf51f465e6732f40dba06dbd94 (patch) | |
tree | b53b24f6e33023d7d8ec76bbad1101b24ec1c504 /mysys/mf_iocache.c | |
parent | d8093cf6ff17e146e33e91ba16f46992859a5cc9 (diff) | |
download | mariadb-git-af2d5f3df11d4bcf51f465e6732f40dba06dbd94.tar.gz |
parallel repair needs rec_buff local for thread !!!
mysys/mf_iocache.c:
remove debug output
Diffstat (limited to 'mysys/mf_iocache.c')
-rw-r--r-- | mysys/mf_iocache.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index f5e381cf026..b141e341016 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -524,13 +524,6 @@ int _my_b_read_r(register IO_CACHE *info, byte *Buffer, uint Count) } if (lock_io_cache(info)) { -#if 0 && SAFE_MUTEX -#define PRINT_LOCK(M) printf("Thread %d: mutex is %s\n", my_thread_id(), \ - (((safe_mutex_t *)(M))->count ? "Locked" : "Unlocked")) -#else -#define PRINT_LOCK(M) -#endif - PRINT_LOCK(&info->share->mutex); info->share->active=info; if (info->seek_not_done) /* File touched, do seek */ VOID(my_seek(info->file,pos_in_file,MY_SEEK_SET,MYF(0))); @@ -539,7 +532,6 @@ int _my_b_read_r(register IO_CACHE *info, byte *Buffer, uint Count) info->error=(len == (int)length ? 0 : len); info->pos_in_file=pos_in_file; unlock_io_cache(info); - PRINT_LOCK(&info->share->mutex); } else { @@ -547,7 +539,6 @@ int _my_b_read_r(register IO_CACHE *info, byte *Buffer, uint Count) info->read_end= info->share->active->read_end; info->pos_in_file= info->share->active->pos_in_file; len= (info->error == -1 ? -1 : info->read_end-info->buffer); - PRINT_LOCK(&info->share->mutex); } info->read_pos=info->buffer; info->seek_not_done=0; |