1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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
This commit is contained in:
monty@narttu.mysql.fi
2003-09-29 12:31:35 +03:00
parent 9d7014c07b
commit 89f30200bc
18 changed files with 161 additions and 159 deletions

View File

@@ -1,7 +1,6 @@
# We are using .opt file since we need small binlog size
--disable_warnings
drop table if exists t1;
drop table if exists t2;
drop table if exists t1,t2;
--enable_warnings
# we need this for getting fixed timestamps inside of this test
@@ -39,6 +38,7 @@ select "--- Local --" as "";
# be time dependend. Better than nothing.
#
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
--exec $MYSQL_BINLOG --short-form $MYSQL_TEST_DIR/var/log/master-bin.001
# this should not fail but shouldn't produce any working statements
--disable_query_log
@@ -50,12 +50,14 @@ select "--- Broken LOAD DATA --" as "";
--disable_query_log
select "--- --database --" as "";
--enable_query_log
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
--exec $MYSQL_BINLOG --short-form --database=nottest $MYSQL_TEST_DIR/var/log/master-bin.001
# this test for position option
--disable_query_log
select "--- --position --" as "";
--enable_query_log
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
--exec $MYSQL_BINLOG --short-form --position=27 $MYSQL_TEST_DIR/var/log/master-bin.002
# These are tests for remote binlog.