1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-20 21:01:21 +03:00
Files
mariadb/mysql-test/include/get_binlog_dump_thread_id.inc
aelkin@mysql.com cbee6eca95 BUG#18906 Test case rpl_temporary fails when using --vardir option
env variable name is fixed.
2006-04-09 13:27:53 +03:00

10 lines
384 B
PHP

--exec $MYSQL test -e 'show processlist' | grep 'Binlog Dump' | cut -f1 > $MYSQLTEST_VARDIR/tmp/bl_dump_thread_id
--disable_warnings
drop table if exists t999;
--enable_warnings
create temporary table t999 (f int);
--replace_result $MYSQLTEST_VARDIR "."
eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/bl_dump_thread_id" into table t999;
let $id = `select f from t999`;
drop table t999;