diff options
author | unknown <mskold@mysql.com> | 2004-07-29 13:32:50 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2004-07-29 13:32:50 +0200 |
commit | 785a2eea8e0ab560f1987a170150f4865faa6589 (patch) | |
tree | b37a75354ce723bf420cb137a41ed028fbd2fdb9 /mysql-test/t/ndb_lock.test | |
parent | 744696b06633312ec0d68f3374755f877beb163b (diff) | |
download | mariadb-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.test | 13 |
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; |