summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_lock.test
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2006-06-12 15:28:36 +0200
committerunknown <mskold@mysql.com>2006-06-12 15:28:36 +0200
commitdef8e0ce9c47c2eb913e4e1d5c20e9cd78293f2b (patch)
treef5b3475c643f8cd6531cd7d36f62fe74e4a5a15d /mysql-test/t/ndb_lock.test
parent334453f977791d53f0358ffa855e728e584983b4 (diff)
downloadmariadb-git-def8e0ce9c47c2eb913e4e1d5c20e9cd78293f2b.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 77b1e3d1800..b022ea550cc 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;