diff options
author | unknown <monty@narttu.mysql.fi> | 2003-09-29 12:31:35 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-09-29 12:31:35 +0300 |
commit | e03265d4d585a86b132c6119cb6363839c2f6e5b (patch) | |
tree | 0646d11c5212e91d6db4f7118acf7d5183cf88c9 /client/mysqlbinlog.cc | |
parent | 3106e3119a2b3ee9155360279e48093d0e3b7d45 (diff) | |
download | mariadb-git-e03265d4d585a86b132c6119cb6363839c2f6e5b.tar.gz |
Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog)
Add quoting for use `database` for mysqlbinlog
Removed test ins0000001
Add support for --replace for exec in mysqltest
Don't refer to install dir in mysqlbinlog.result
BitKeeper/deleted/.del-ins000001.result~f45c599efdf8352b:
Delete: mysql-test/r/ins000001.result
BitKeeper/deleted/.del-ins000001.test~2428ee5c9b1bc483:
Delete: mysql-test/t/ins000001.test
client/mysqlbinlog.cc:
Removed random chars after filename for LOAD DATA INFILE
client/mysqltest.c:
Add support for --replace for 'exec'
mysql-test/r/drop_temp_table.result:
Updated results after quoting change
mysql-test/r/fulltext_multi.result:
Updated results after quoting change
mysql-test/r/fulltext_order_by.result:
Updated results after quoting change
mysql-test/r/insert.result:
New tests
mysql-test/r/insert_select.result:
Updated results after quoting change
mysql-test/r/mix_innodb_myisam_binlog.result:
Updated results after quoting change
mysql-test/r/mysqlbinlog.result:
Updated results after quoting change
mysql-test/r/rpl_log.result:
Updated results after quoting change
mysql-test/t/fulltext_multi.test:
Remove 'use'
mysql-test/t/fulltext_order_by.test:
Remove 'use'
mysql-test/t/insert.test:
Merge test with ins0000001.test
mysql-test/t/mysqlbinlog.test:
Don't refer to install dir in result
sql/log_event.cc:
Add quoting for use `database` for mysqlbinlog
support-files/mysql.server.sh:
Move pid_file test after arguments have been parsed
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 910b42d184d..84dcc4a7395 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -202,7 +202,7 @@ const char *Load_log_processor::create_file(Create_file_log_event *ce) return 0; } } - ce->set_fname_outside_temp_buf(tmp,full_len); + ce->set_fname_outside_temp_buf(tmp,strlen(tmp)); return tmp; } @@ -622,10 +622,11 @@ Could not read entry at offset %s : Error in log format or read error", } } /* - 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. + 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); |