diff options
author | guilhem@mysql.com <> | 2003-08-19 15:46:47 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2003-08-19 15:46:47 +0200 |
commit | 1a5c8be4082616fa3347f1c4709cbd7969cd8f01 (patch) | |
tree | 96fc3e34d0ad8c0c6612d46fb6ce4ffa5977b7ab /client | |
parent | 83f35b8a81882329f59e9e9981be0fca2af97842 (diff) | |
download | mariadb-git-1a5c8be4082616fa3347f1c4709cbd7969cd8f01.tar.gz |
Fix for BUG#1096 which is:
"mysqlbinlog does not comment the original LOAD DATA INFILE if it has a "use xx""
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 954e9290a76..a454d6a859f 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -613,7 +613,13 @@ Could not read entry at offset %s : Error in log format or read error", continue; // next } } - ce->print(result_file, short_form, last_db,true); + /* + We print the event, but with a leading '#': this is just to inform the + user of the original command; the command we want to execute will be a + derivation of this original command (we will change the filename and + use LOCAL), prepared in the 'case EXEC_LOAD_EVENT' below. + */ + ce->print(result_file, short_form, last_db, true); load_processor.process(ce); ev= 0; break; |