summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-11-18 22:59:17 +0100
committerunknown <guilhem@mysql.com>2004-11-18 22:59:17 +0100
commitf336c62a4480d4175942a6ed23fa5fe09f411b15 (patch)
tree7c89e565a15e1be0fe6df7779d3bbdc1c31743b9 /sql/log_event.cc
parent835e0159b68e62656a549fb05549632f123fe98f (diff)
downloadmariadb-git-f336c62a4480d4175942a6ed23fa5fe09f411b15.tar.gz
When mysqlbinlog prints LOAD DATA INFILE, let it print the thread id. Some customer would have benefited
much from this in his recovery. All this change does is adding one commented (#) line before the LOAD DATA command, so it is quite innocuous.
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index f707eabebd5..007bb6e7b85 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -1612,7 +1612,7 @@ void Create_file_log_event::print(FILE* file, bool short_form,
if (enable_local)
{
- Load_log_event::print(file, 1, last_db, !check_fname_outside_temp_buf());
+ Load_log_event::print(file, short_form, last_db, !check_fname_outside_temp_buf());
/*
That one is for "file_id: etc" below: in mysqlbinlog we want the #, in
SHOW BINLOG EVENTS we don't.