Fixes to make code compile on Windows.
sql/sql_repl.cc: Adding cast to remove compile error on Windows platform.
This commit is contained in:
parent
79f2096460
commit
34b9c6f504
@ -1573,7 +1573,7 @@ int log_loaded_block(IO_CACHE* file)
|
||||
LOAD_FILE_INFO *lf_info;
|
||||
uint block_len;
|
||||
/* buffer contains position where we started last read */
|
||||
char* buffer= my_b_get_buffer_start(file);
|
||||
char* buffer= (char*) my_b_get_buffer_start(file);
|
||||
uint max_event_size= current_thd->variables.max_allowed_packet;
|
||||
lf_info= (LOAD_FILE_INFO*) file->arg;
|
||||
if (lf_info->last_pos_in_file != HA_POS_ERROR &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user