List:Commits« Previous MessageNext Message »
From:tomas Date:January 12 2006 12:36pm
Subject:bk commit into 5.1 tree (tomas:1.2037) BUG#16445
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2037 06/01/12 13:36:26 tomas@stripped +2 -0
  bug#16445 test run workaround

  mysql-test/t/ndb_basic.test
    1.37 06/01/12 13:36:14 tomas@stripped +11 -0
    bug#16445 test run workaround

  mysql-test/r/ndb_basic.result
    1.36 06/01/12 13:36:14 tomas@stripped +7 -0
    bug#16445 test run workaround

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/v6

--- 1.35/mysql-test/r/ndb_basic.result	2005-12-18 18:02:30 +01:00
+++ 1.36/mysql-test/r/ndb_basic.result	2006-01-12 13:36:14 +01:00
@@ -6,6 +6,13 @@
 attr2 INT,
 attr3 VARCHAR(10)
 ) ENGINE=ndbcluster;
+drop table t1;
+CREATE TABLE t1 (
+pk1 INT NOT NULL PRIMARY KEY,
+attr1 INT NOT NULL,
+attr2 INT,
+attr3 VARCHAR(10)
+) ENGINE=ndbcluster;
 SHOW INDEX FROM t1;
 Table	Non_unique	Key_name	Seq_in_index	Column_name	Collation	Cardinality	Sub_part	Packed	Null	Index_type	Comment
 t1	0	PRIMARY	1	pk1	A	0	NULL	NULL		BTREE	

--- 1.36/mysql-test/t/ndb_basic.test	2005-12-18 18:02:31 +01:00
+++ 1.37/mysql-test/t/ndb_basic.test	2006-01-12 13:36:14 +01:00
@@ -6,6 +6,17 @@
 drop database if exists mysqltest;
 --enable_warnings
 
+# workaround for bug#16445
+# remove to reproduce bug and run tests drom ndb start
+# and with ndb_autodiscover disabled
+CREATE TABLE t1 (
+  pk1 INT NOT NULL PRIMARY KEY,
+  attr1 INT NOT NULL,
+  attr2 INT,
+  attr3 VARCHAR(10)
+) ENGINE=ndbcluster;
+drop table t1;
+
 #
 # Basic test to show that the NDB 
 # table handler is working
Thread
bk commit into 5.1 tree (tomas:1.2037) BUG#16445tomas12 Jan