summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_lock.test
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2006-06-12 15:36:12 +0200
committerunknown <mskold@mysql.com>2006-06-12 15:36:12 +0200
commit3f19b05bb00366df88d72f9b6507f897f2f9370b (patch)
tree780ecc4701c7d4cbd58bbde00a73e5bb1675ab70 /mysql-test/t/ndb_lock.test
parent7e3fe0fc91fe3b91171cbb3aa61a0025eab670a1 (diff)
downloadmariadb-git-3f19b05bb00366df88d72f9b6507f897f2f9370b.tar.gz
Added order by
Diffstat (limited to 'mysql-test/t/ndb_lock.test')
-rw-r--r--mysql-test/t/ndb_lock.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/ndb_lock.test b/mysql-test/t/ndb_lock.test
index 6d3257aeb68..54214ee72ec 100644
--- a/mysql-test/t/ndb_lock.test
+++ b/mysql-test/t/ndb_lock.test
@@ -93,7 +93,7 @@ commit;
# table scan
connection con1;
begin;
-select * from t1 where y = 'one' or y = 'three' for update;
+select * from t1 where y = 'one' or y = 'three' order by x for update;
connection con2;
begin;
@@ -146,7 +146,7 @@ commit;
# table scan
connection con1;
begin;
-select * from t1 where y = 'one' or y = 'three' lock in share mode;
+select * from t1 where y = 'one' or y = 'three' order by x lock in share mode;
connection con2;
begin;