summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-06-29 16:00:47 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-06-29 16:00:47 +0200
commit300a8721fa0436e0558ab516956a90acd3cda622 (patch)
tree4e9ce667a1b14bf9610672bb5f604bb5f5becbab /sql/log_event.cc
parent477ada0aaa515fe95db90fe38b6cfe0030fdf9ae (diff)
parent67771508836edda4bad393f1a00d89cd419e3814 (diff)
downloadmariadb-git-300a8721fa0436e0558ab516956a90acd3cda622.tar.gz
Merge from 5.0
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc4
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");