~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/r/flush_block_commit_notembedded.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Establish connection con1 (user=root)
 
2
# Establish connection con2 (user=root)
 
3
# Switch to connection con1
 
4
CREATE TABLE t1 (a INT) ENGINE=innodb;
 
5
RESET MASTER;
 
6
SET AUTOCOMMIT=0;
 
7
INSERT t1 VALUES (1);
 
8
# Switch to connection con2
 
9
FLUSH TABLES WITH READ LOCK;
 
10
SHOW MASTER STATUS;
 
11
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
12
master-bin.000001       106             
 
13
# Switch to connection con1
 
14
COMMIT;
 
15
# Switch to connection con2
 
16
SHOW MASTER STATUS;
 
17
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
18
master-bin.000001       106             
 
19
UNLOCK TABLES;
 
20
# Switch to connection con1
 
21
DROP TABLE t1;
 
22
SET AUTOCOMMIT=1;
 
23
# Switch to connection default and close connections con1 and con2