diff options
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 36d4b16225a..a1cb144a894 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -1937,14 +1937,14 @@ int Rand_log_event::write_data(IO_CACHE* file) #ifdef MYSQL_CLIENT void Rand_log_event::print(FILE* file, bool short_form, char* last_db) { - char llbuff[22]; + char llbuff[22],llbuff2[22]; if (!short_form) { print_header(file); fprintf(file, "\tRand\n"); } fprintf(file, "SET @@RAND_SEED1=%s, @@RAND_SEED2=%s;\n", - llstr(seed1, llbuff),llstr(seed2, llbuff)); + llstr(seed1, llbuff),llstr(seed2, llbuff2)); fflush(file); } #endif // MYSQL_CLIENT |