~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--exec $MYSQL test -e "show processlist" > $MYSQLTEST_VARDIR/tmp/bl_dump_thread_id
 
2
--disable_warnings
 
3
drop table if exists t999;
 
4
--enable_warnings
 
5
# Create a table to hold the process list
 
6
create temporary table t999(
 
7
  id int,
 
8
  user char(255),
 
9
  host char(255),
 
10
  db char(255),
 
11
  Command char(255),
 
12
  time int,
 
13
  State char(255),
 
14
  info char(255)
 
15
);
 
16
# Load processlist into table, headers will create seom warnings
 
17
--disable_warnings
 
18
--replace_result $MYSQLTEST_VARDIR "."
 
19
eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/bl_dump_thread_id" into table t999;
 
20
--enable_warnings
 
21
let $id = `select Id from t999 where Command="Binlog Dump"`;
 
22
drop table t999;