diff options
author | unknown <monty@mysql.com> | 2004-03-19 15:17:56 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-03-19 15:17:56 +0200 |
commit | 67ea8aac5e9e9ae98a22aff063c48053ea68e5de (patch) | |
tree | 788ab6bf4fc7ac236c7c862ab122f19dcdd83768 /mysql-test/t/rpl000009.test | |
parent | d212d76094f83b1b7ce0692663439f3a67a432ad (diff) | |
parent | 6b465557670093b038cb3d2be930e6a036292192 (diff) | |
download | mariadb-git-67ea8aac5e9e9ae98a22aff063c48053ea68e5de.tar.gz |
merge with 4.0 (to get compiler error fixes for innodb)
client/mysqltest.c:
Auto merged
include/errmsg.h:
Auto merged
include/mysql_version.h.in:
Auto merged
innobase/que/que0que.c:
Auto merged
mysql-test/t/rpl000009.test:
Auto merged
sql/set_var.cc:
Auto merged
libmysql/errmsg.c:
merge with 4.0
libmysql/libmysql.c:
merge with 4.0
mysql-test/mysql-test-run.sh:
merge with 4.0
mysql-test/r/rpl000009.result:
merge with 4.0
scripts/mysql_fix_privilege_tables.sh:
merge with 4.0
sql/repl_failsafe.cc:
merge with 4.0
Diffstat (limited to 'mysql-test/t/rpl000009.test')
-rw-r--r-- | mysql-test/t/rpl000009.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000009.test b/mysql-test/t/rpl000009.test index cd318efa2b6..4b69fb3e31c 100644 --- a/mysql-test/t/rpl000009.test +++ b/mysql-test/t/rpl000009.test @@ -118,6 +118,21 @@ connection slave; sync_with_master; select * from mysqltest.t1; +# Check that LOAD DATA FROM MASTER is able to create master.info +# if needed (if RESET SLAVE was used before), before writing to it (BUG#2922). + +stop slave; +reset slave; +load data from master; +start slave; +# see if replication coordinates were restored fine +connection master; +insert into bar.t1 values (5, 'five bar'); +save_master_pos; +connection slave; +sync_with_master; +select * from bar.t1; + # Check that LOAD DATA FROM MASTER reports the error if it can't drop a # table to be overwritten. # DISABLED FOR NOW AS chmod IS NOT PORTABLE ON NON-UNIX |