1393
1393
if (protocol->send_fields(&field_list,
1394
1394
Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF))
1397
1397
pthread_mutex_lock(drizzle_bin_log.get_log_lock());
1398
1398
drizzle_bin_log.lock_index();
1399
1399
index_file= drizzle_bin_log.get_index_file();
1401
1401
drizzle_bin_log.raw_get_current_log(&cur); // dont take mutex
1402
1402
pthread_mutex_unlock(drizzle_bin_log.get_log_lock()); // lockdep, OK
1404
1404
cur_dir_len= dirname_length(cur.log_file_name);
1406
1406
reinit_io_cache(index_file, READ_CACHE, (my_off_t) 0, 0, 0);