diff options
author | unknown <mskold@mysql.com> | 2005-06-29 15:31:43 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2005-06-29 15:31:43 +0200 |
commit | 3378673653108ee89e8011e1d18cd394aea13039 (patch) | |
tree | 016c5ff3ad34c55ebb63bb217d30c0736a3404d7 | |
parent | c35bb07954454114f13d497129b67f726403b706 (diff) | |
download | mariadb-git-3378673653108ee89e8011e1d18cd394aea13039.tar.gz |
Moved connections first in test, to reduce risk of connecting before servers are fully connected
-rw-r--r-- | mysql-test/t/ndb_alter_table.test | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mysql-test/t/ndb_alter_table.test b/mysql-test/t/ndb_alter_table.test index 9cc1426554f..d6a1ef5e25f 100644 --- a/mysql-test/t/ndb_alter_table.test +++ b/mysql-test/t/ndb_alter_table.test @@ -7,6 +7,13 @@ DROP TABLE IF EXISTS t1; drop database if exists mysqltest; --enable_warnings +connect (con1,localhost,root,,test); +connect (con2,localhost,root,,test); + +connection con2; +-- sleep 2 +connection con1; + # # Basic test to show that the ALTER TABLE # is working @@ -88,10 +95,6 @@ CREATE TABLE t1 ( INSERT INTO t1 VALUES (9410,9412); -connect (con1,localhost,,,test); -connect (con2,localhost,,,test); - -connection con1; ALTER TABLE t1 ADD COLUMN c int not null; select * from t1 order by a; |