~vlad-lesin/percona-server/mysql-5.0.33-original

« back to all changes in this revision

Viewing changes to mysql-test/include/get_binlog_dump_thread_id.inc

  • Committer: Vlad Lesin
  • Date: 2012-07-31 09:21:34 UTC
  • Revision ID: vladislav.lesin@percona.com-20120731092134-zfodx022b7992wsi
VirginĀ 5.0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--exec $MYSQL test -e 'show processlist' | grep 'Binlog Dump' | cut -f1 > $MYSQLTEST_VARDIR/tmp/bl_dump_thread_id
 
2
--disable_warnings
 
3
drop table if exists t999;
 
4
--enable_warnings
 
5
create temporary table t999 (f int);
 
6
--replace_result $MYSQLTEST_VARDIR "."
 
7
eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/bl_dump_thread_id" into table t999;
 
8
let $id = `select f from t999`;
 
9
drop table t999;