List:Commits« Previous MessageNext Message »
From:Martin Skold Date:April 27 2010 10:01am
Subject:bzr commit into mysql-5.1-telco-6.3 branch (Martin.Skold:3184) Bug#31853
View as plain text  
#At file:///home/marty/MySQL/mysql-5.1-telco-6.3/

 3184 Martin Skold	2010-04-27
      BUG#31853 Wrong error message on failed cluster create table after after mysqld (re)start: Simplified test case
      modified:
        mysql-test/suite/ndb/r/ndb_disconnect_ddl.result
        mysql-test/suite/ndb/t/ndb_disconnect_ddl.test

=== modified file 'mysql-test/suite/ndb/r/ndb_disconnect_ddl.result'
--- a/mysql-test/suite/ndb/r/ndb_disconnect_ddl.result	2010-04-26 09:08:48 +0000
+++ b/mysql-test/suite/ndb/r/ndb_disconnect_ddl.result	2010-04-27 10:01:49 +0000
@@ -1,10 +1,7 @@
 DROP TABLE IF EXISTS t1;
 "testing the bug#31853"
-use test;
 create table t1(i int primary key) engine=ndb;
-create table t2(i int primary key) engine=ndb;
 ERROR HY000: Could not connect to storage engine
-create table t3(i int primary key) engine=ndb;
+create table t2(i int primary key) engine=ndb;
 ERROR HY000: Could not connect to storage engine
-drop table t1;
 "end of test the bug#31853"

=== modified file 'mysql-test/suite/ndb/t/ndb_disconnect_ddl.test'
--- a/mysql-test/suite/ndb/t/ndb_disconnect_ddl.test	2010-04-26 09:08:48 +0000
+++ b/mysql-test/suite/ndb/t/ndb_disconnect_ddl.test	2010-04-27 10:01:49 +0000
@@ -11,22 +11,19 @@ call mtr.add_suppression("Could not acqu
 call mtr.add_suppression("Tables not available after 60 seconds.");
 enable_query_log;
 
-use test;
-create table t1(i int primary key) engine=ndb;
-
 # Restart cluster nodes "nostart"
 --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all restart -n" >> $NDB_TOOLS_OUTPUT
 # Wait for all nodes to enter "nostart"
 --exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" --not-started >> $NDB_TOOLS_OUTPUT
 
 --error 157
-create table t2(i int primary key) engine=ndb;
+create table t1(i int primary key) engine=ndb;
 
 let $mysqld_name=mysqld.1.1;
 --source include/restart_mysqld.inc
 
 --error 157
-create table t3(i int primary key) engine=ndb;
+create table t2(i int primary key) engine=ndb;
 
 # Start cluster nodes again
 --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all start" >> $NDB_TOOLS_OUTPUT
@@ -45,7 +42,4 @@ connection default;
 --enable_result_log
 --enable_query_log
 
-# cleanup
-drop table t1;
-
 --echo "end of test the bug#31853"

Thread
bzr commit into mysql-5.1-telco-6.3 branch (Martin.Skold:3184) Bug#31853Martin Skold27 Apr