summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_lock.test
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2004-07-29 13:32:50 +0200
committerunknown <mskold@mysql.com>2004-07-29 13:32:50 +0200
commit785a2eea8e0ab560f1987a170150f4865faa6589 (patch)
treeb37a75354ce723bf420cb137a41ed028fbd2fdb9 /mysql-test/t/ndb_lock.test
parent744696b06633312ec0d68f3374755f877beb163b (diff)
downloadmariadb-git-785a2eea8e0ab560f1987a170150f4865faa6589.tar.gz
Added ORDER BY to ensure same result on all setups/platforms
Diffstat (limited to 'mysql-test/t/ndb_lock.test')
-rw-r--r--mysql-test/t/ndb_lock.test13
1 files changed, 8 insertions, 5 deletions
diff --git a/mysql-test/t/ndb_lock.test b/mysql-test/t/ndb_lock.test
index 431729516d6..c0389dced44 100644
--- a/mysql-test/t/ndb_lock.test
+++ b/mysql-test/t/ndb_lock.test
@@ -19,20 +19,23 @@ DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7;
connection con1;
create table t1 (x integer not null primary key, y varchar(32)) engine = ndb;
insert into t1 values (1,'one'), (2,'two');
-select * from t1;
+select * from t1 order by x;
connection con2;
-select * from t1;
+select * from t1 order by x;
connection con1;
-start transaction; insert into t1 values (3,'three');
+start transaction;
+insert into t1 values (3,'three');
+select * from t1 order by x;
connection con2;
-start transaction; select * from t1;
+start transaction;
+select * from t1 order by x;
connection con1;
commit;
connection con2;
-select * from t1;
+select * from t1 order by x;
commit;