diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-06-30 13:08:35 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-06-30 13:08:35 -0600 |
commit | bd286b23f938fcdb39c146e0780e70a26ef3a8ef (patch) | |
tree | c118de27cb6be208010a6e894daa151a6570edc8 /mysql-test/t/rpl_log.test | |
parent | 0a6cf93d23f42b3060b324b7f7a71cfcce7507f9 (diff) | |
download | mariadb-git-bd286b23f938fcdb39c146e0780e70a26ef3a8ef.tar.gz |
support for eval_result and let $var = `query` syntax in mysql-test
fixes for rpl_log test to make it config-independent
BitKeeper/etc/ignore:
Added mysql-test/r/rpl_log.eval to the ignore list
client/mysqltest.c:
support for eval_result and let $var = `query` syntax
mysql-test/Makefile.am:
import more variables into mysql-test-run
mysql-test/mysql-test-run.sh:
if we got wrong result on eval_result test case, diff against the
expanded result, not the template
mysql-test/r/rpl_log.result:
change config-dependent parts of the result to dynamic variables
mysql-test/t/rpl_log.test:
get server version from the server
remove obsoleted replace hack to solve port problem - use eval_result
instead
Diffstat (limited to 'mysql-test/t/rpl_log.test')
-rw-r--r-- | mysql-test/t/rpl_log.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/rpl_log.test b/mysql-test/t/rpl_log.test index 0cfc1f58cac..9ac6e7ab6b8 100644 --- a/mysql-test/t/rpl_log.test +++ b/mysql-test/t/rpl_log.test @@ -1,4 +1,5 @@ source include/master-slave.inc; +eval_result; #result depends on some server specific params #clean up slave binlogs connection slave; @@ -28,10 +29,10 @@ show binlog events in 'master-bin.002'; show master logs; save_master_pos; connection slave; +let $VERSION=`select version()`; slave start; sync_with_master; show master logs; show binlog events in 'slave-bin.001' from 4; show binlog events in 'slave-bin.002' from 4; ---replace_result 9306 9999 3334 9999 3335 9999 show slave status; |