mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user