diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-06-29 15:17:01 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-06-29 15:17:01 +0200 |
commit | 67771508836edda4bad393f1a00d89cd419e3814 (patch) | |
tree | c3d2d1b1efe2de7e702c3d65d8b7bddccbdbd5d0 /sql/log_event.cc | |
parent | 729648c4b776ec4992f6333f0c70b4b749e8d996 (diff) | |
download | mariadb-git-67771508836edda4bad393f1a00d89cd419e3814.tar.gz |
Merge from 5.0-bt
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 c6c7bea651a..d50c7cc8111 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -3096,7 +3096,7 @@ void Load_log_event::print(FILE* file, PRINT_EVENT_INFO* print_event_info, { if (i) fputc(',', file); - fprintf(file, field); + fprintf(file, "%s", field); field += field_lens[i] + 1; } @@ -5203,7 +5203,7 @@ void Execute_load_query_log_event::print(FILE* file, { my_fwrite(file, (byte*) query, fn_pos_start, MYF(MY_NABP | MY_WME)); fprintf(file, " LOCAL INFILE \'"); - fprintf(file, local_fname); + fprintf(file, "%s", local_fname); fprintf(file, "\'"); if (dup_handling == LOAD_DUP_REPLACE) fprintf(file, " REPLACE"); |