From cf02f52cc098dce1135ec75fbc40fa03eb90088b Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 6 Nov 2005 00:20:37 +0100 Subject: Ndb handler cleanup: - removed some returns on ndb internal error codes, return ndb cause in warnings - moved all errorcode mapping mysqld-ndb to ndberror.c - ndb util thread to discover all ndb tables at startup - ndb util thread to wait for mysqld startup --- mysql-test/r/ndb_bitfield.result | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'mysql-test/r/ndb_bitfield.result') diff --git a/mysql-test/r/ndb_bitfield.result b/mysql-test/r/ndb_bitfield.result index a14fbee44dd..839cfe587e4 100644 --- a/mysql-test/r/ndb_bitfield.result +++ b/mysql-test/r/ndb_bitfield.result @@ -201,10 +201,18 @@ create table t1 ( pk1 bit(9) not null primary key, b int ) engine=ndbcluster; -ERROR HY000: Can't create table './test/t1.frm' (errno: 739) +ERROR HY000: Can't create table './test/t1.frm' (errno: 140) +show warnings; +Level Code Message +Error 1296 Got error 739 'Unsupported primary key length' from NDB +Error 1005 Can't create table './test/t1.frm' (errno: 140) create table t1 ( pk1 int not null primary key, b bit(9), key(b) ) engine=ndbcluster; -ERROR HY000: Can't create table './test/t1.frm' (errno: 743) +ERROR HY000: Can't create table './test/t1.frm' (errno: 140) +show warnings; +Level Code Message +Error 1296 Got error 743 'Unsupported character set in table or index' from NDB +Error 1005 Can't create table './test/t1.frm' (errno: 140) -- cgit v1.2.1