Fix buffer size for testbinlog.c

Fix buffer size for testbinlog.c
This commit is contained in:
MassimilianoPinto 2017-09-21 11:01:55 +02:00
parent eb0f8ef25d
commit 845b59ad48

View File

@ -75,8 +75,8 @@ int main(int argc, char **argv)
int rc;
char error_string[BINLOG_ERROR_MSG_LEN + 1] = "";
CHANGE_MASTER_OPTIONS change_master;
char query[255 + 1] = "";
char saved_query[255 + 1] = "";
char query[512 + 1] = "";
char saved_query[512 + 1] = "";
int command_offset = strlen("CHANGE MASTER TO");
char *master_log_file = NULL;
char *master_log_pos = NULL;