2004-08-20 16:35:23 +02:00
|
|
|
drop table if exists t1;
|
2004-08-20 22:54:42 +02:00
|
|
|
create table t1 (a int) engine=innodb;
|
2004-08-20 16:35:23 +02:00
|
|
|
begin;
|
|
|
|
insert into t1 values(1);
|
|
|
|
flush tables with read lock;
|
|
|
|
select * from t1;
|
|
|
|
a
|
2006-10-03 15:33:44 +02:00
|
|
|
commit;
|
2004-08-20 16:35:23 +02:00
|
|
|
select * from t1;
|
|
|
|
a
|
|
|
|
unlock tables;
|
|
|
|
begin;
|
|
|
|
select * from t1 for update;
|
|
|
|
a
|
|
|
|
1
|
|
|
|
begin;
|
2006-10-03 15:33:44 +02:00
|
|
|
select * from t1 for update;
|
|
|
|
flush tables with read lock;
|
2004-08-20 16:35:23 +02:00
|
|
|
commit;
|
|
|
|
a
|
|
|
|
1
|
|
|
|
unlock tables;
|
2004-11-30 22:20:52 +01:00
|
|
|
commit;
|
|
|
|
begin;
|
|
|
|
insert into t1 values(10);
|
|
|
|
flush tables with read lock;
|
|
|
|
commit;
|
|
|
|
unlock tables;
|
|
|
|
flush tables with read lock;
|
|
|
|
unlock tables;
|
2004-12-17 23:37:43 +01:00
|
|
|
begin;
|
|
|
|
select * from t1;
|
|
|
|
a
|
|
|
|
1
|
|
|
|
10
|
|
|
|
show create database test;
|
|
|
|
Database Create Database
|
|
|
|
test CREATE DATABASE `test` /*!40100 DEFAULT CHARACTER SET latin1 */
|
2004-08-20 16:35:23 +02:00
|
|
|
drop table t1;
|
2005-04-12 17:15:54 +02:00
|
|
|
create table t1 (a int) engine=innodb;
|
|
|
|
reset master;
|
|
|
|
set autocommit=0;
|
|
|
|
insert t1 values (1);
|
|
|
|
flush tables with read lock;
|
|
|
|
show master status;
|
|
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
|
|
master-bin.000001 98
|
Update tests and result files after running with new mysqltest that better detects problems with test files
mysql-test/r/csv.result:
Update after add of missing semicolon
mysql-test/r/drop.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/flush.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/flush_block_commit.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/flush_read_lock_kill.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/grant2.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/handler.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/innodb_notembedded.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/kill.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/lock_multi.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/multi_update.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/mysqltest.result:
Update result
mysql-test/r/query_cache.result:
Update after add of missing semicolon
mysql-test/r/query_cache_notembedded.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/sp-threads.result:
Update result file, no space before commands that has been "sent"
mysql-test/r/sp_notembedded.result:
Update after add of missing semicolon
mysql-test/r/type_blob.result:
Remove extra drop table
mysql-test/t/csv.test:
Add missing semicolon
mysql-test/t/query_cache.test:
Add missing semicolon
mysql-test/t/sp-error.test:
Remove "tab" from end of error declaration
mysql-test/t/sp.test:
Wrong delimiter, used ; instead of |
mysql-test/t/sp_notembedded.test:
Wrong delimiter, used ; instead of |
mysql-test/t/view_grant.test:
An incomplete error name specification was used.
2006-10-04 13:09:37 +02:00
|
|
|
commit;
|
2005-04-12 17:15:54 +02:00
|
|
|
show master status;
|
|
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
2005-04-12 23:08:19 +02:00
|
|
|
master-bin.000001 98
|
2005-04-12 17:15:54 +02:00
|
|
|
unlock tables;
|
|
|
|
drop table t1;
|
|
|
|
set autocommit=1;
|