mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixes to make code compile on Windows.
This commit is contained in:
@ -1573,7 +1573,7 @@ int log_loaded_block(IO_CACHE* file)
|
|||||||
LOAD_FILE_INFO *lf_info;
|
LOAD_FILE_INFO *lf_info;
|
||||||
uint block_len;
|
uint block_len;
|
||||||
/* buffer contains position where we started last read */
|
/* 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;
|
uint max_event_size= current_thd->variables.max_allowed_packet;
|
||||||
lf_info= (LOAD_FILE_INFO*) file->arg;
|
lf_info= (LOAD_FILE_INFO*) file->arg;
|
||||||
if (lf_info->last_pos_in_file != HA_POS_ERROR &&
|
if (lf_info->last_pos_in_file != HA_POS_ERROR &&
|
||||||
|
Reference in New Issue
Block a user