diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-06-29 16:00:47 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-06-29 16:00:47 +0200 |
commit | 300a8721fa0436e0558ab516956a90acd3cda622 (patch) | |
tree | 4e9ce667a1b14bf9610672bb5f604bb5f5becbab /sql/log_event.cc | |
parent | 477ada0aaa515fe95db90fe38b6cfe0030fdf9ae (diff) | |
parent | 67771508836edda4bad393f1a00d89cd419e3814 (diff) | |
download | mariadb-git-300a8721fa0436e0558ab516956a90acd3cda622.tar.gz |
Merge from 5.0
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 09bbca5e224..493db62e7ef 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -4352,7 +4352,7 @@ void Load_log_event::print(FILE* file_arg, PRINT_EVENT_INFO* print_event_info, { if (i) my_b_printf(&cache, ","); - my_b_printf(&cache, field); + my_b_printf(&cache, "%s", field); field += field_lens[i] + 1; } @@ -6680,7 +6680,7 @@ void Execute_load_query_log_event::print(FILE* file, { my_b_write(&cache, (uchar*) query, fn_pos_start); my_b_printf(&cache, " LOCAL INFILE \'"); - my_b_printf(&cache, local_fname); + my_b_printf(&cache, "%s", local_fname); my_b_printf(&cache, "\'"); if (dup_handling == LOAD_DUP_REPLACE) my_b_printf(&cache, " REPLACE"); |