~vkolesnikov/pbxt/pbxt-07-diskfull

« back to all changes in this revision

Viewing changes to pbxt/mysql-test-update/mysql-test/r/flush_block_commit.result

  • Committer: paul-mccullagh
  • Date: 2006-10-23 09:14:04 UTC
  • Revision ID: paul-mccullagh-918861e03d351978a9541168a96e58cc826734ee
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1;
 
2
create table t1 (a int) engine=innodb;
 
3
begin;
 
4
insert into t1 values(1);
 
5
flush tables with read lock;
 
6
select * from t1;
 
7
a
 
8
 commit;
 
9
select * from t1;
 
10
a
 
11
unlock tables;
 
12
begin;
 
13
select * from t1 for update;
 
14
a
 
15
1
 
16
begin;
 
17
 select * from t1 for update;
 
18
 flush tables with read lock;
 
19
commit;
 
20
a
 
21
1
 
22
unlock tables;
 
23
commit;
 
24
begin;
 
25
insert into t1 values(10);
 
26
flush tables with read lock;
 
27
commit;
 
28
unlock tables;
 
29
flush tables with read lock;
 
30
unlock tables;
 
31
begin;
 
32
select * from t1;
 
33
a
 
34
1
 
35
10
 
36
show create database test;
 
37
Database        Create Database
 
38
test    CREATE DATABASE `test` /*!40100 DEFAULT CHARACTER SET latin1 */
 
39
drop table t1;
 
40
create table t1 (a int) engine=innodb;
 
41
reset master;
 
42
set autocommit=0;
 
43
insert t1 values (1);
 
44
flush tables with read lock;
 
45
show master status;
 
46
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
47
master-bin.000001       102             
 
48
 commit;
 
49
show master status;
 
50
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
51
master-bin.000001       102             
 
52
unlock tables;
 
53
drop table t1;
 
54
set autocommit=1;