diff options
author | unknown <ingo@mysql.com> | 2005-08-08 00:10:07 +0200 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2005-08-08 00:10:07 +0200 |
commit | 9de04d2ea94f772180455ff86e24ed68e546fbdf (patch) | |
tree | fbe0e29e779081da2f03d69a2b387ea0c9d89424 /mysql-test/r/flush.result | |
parent | 84051f2a6d2537b58d63f560b31f8effb0907e99 (diff) | |
parent | 25201f23c8ef5a9da5e16c3f29b138043fda687c (diff) | |
download | mariadb-git-9de04d2ea94f772180455ff86e24ed68e546fbdf.tar.gz |
Merge mysql.com:/home/mydev/mysql-4.1-4100
into mysql.com:/home/mydev/mysql-5.0-5000
mysql-test/r/flush.result:
Auto merged
mysql-test/t/flush.test:
Auto merged
sql/sql_parse.cc:
Auto merged
Diffstat (limited to 'mysql-test/r/flush.result')
-rw-r--r-- | mysql-test/r/flush.result | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/r/flush.result b/mysql-test/r/flush.result index 306376b13c3..16c308e3450 100644 --- a/mysql-test/r/flush.result +++ b/mysql-test/r/flush.result @@ -27,3 +27,24 @@ select * from t1; n 345 drop table t1; +create table t1 (c1 int); +lock table t1 write; +flush tables with read lock; +ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction +lock table t1 read; +flush tables with read lock; +lock table t1 write; +ERROR HY000: Can't execute the query because you have a conflicting read lock +lock table t1 read; +lock table t1 write; +ERROR HY000: Can't execute the query because you have a conflicting read lock +unlock tables; +create table t2 (c1 int); +create table t3 (c1 int); +lock table t1 read, t2 read, t3 write; +flush tables with read lock; +ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction +lock table t1 read, t2 read, t3 read; +flush tables with read lock; +unlock tables; +drop table t1, t2, t3; |