Loading mysql-test/r/join_outer.result +14 −14 Original line number Diff line number Diff line Loading @@ -784,32 +784,32 @@ t2.flag_value IS NULL; flag_name flag_value flag2 NULL DROP TABLE t1,t2; CREATE TABLE invoice ( CREATE TABLE t1 ( id int(11) unsigned NOT NULL auto_increment, text_id int(10) unsigned default NULL, PRIMARY KEY (id) ); INSERT INTO invoice VALUES("1", "0"); INSERT INTO invoice VALUES("2", "10"); CREATE TABLE text_table ( INSERT INTO t1 VALUES("1", "0"); INSERT INTO t1 VALUES("2", "10"); CREATE TABLE t2 ( text_id char(3) NOT NULL default '', language_id char(3) NOT NULL default '', text_data text, PRIMARY KEY (text_id,language_id) ); INSERT INTO text_table VALUES("0", "EN", "0-EN"); INSERT INTO text_table VALUES("0", "SV", "0-SV"); INSERT INTO text_table VALUES("10", "EN", "10-EN"); INSERT INTO text_table VALUES("10", "SV", "10-SV"); SELECT invoice.id, invoice.text_id, text_table.text_data FROM invoice LEFT JOIN text_table ON invoice.text_id = text_table.text_id AND text_table.language_id = 'SV' WHERE (invoice.id LIKE '%' OR text_table.text_data LIKE '%'); INSERT INTO t2 VALUES("0", "EN", "0-EN"); INSERT INTO t2 VALUES("0", "SV", "0-SV"); INSERT INTO t2 VALUES("10", "EN", "10-EN"); INSERT INTO t2 VALUES("10", "SV", "10-SV"); SELECT t1.id, t1.text_id, t2.text_data FROM t1 LEFT JOIN t2 ON t1.text_id = t2.text_id AND t2.language_id = 'SV' WHERE (t1.id LIKE '%' OR t2.text_data LIKE '%'); id text_id text_data 1 0 0-SV 2 10 10-SV DROP TABLE invoice, text_table; DROP TABLE t1, t2; CREATE TABLE t0 (a0 int PRIMARY KEY); CREATE TABLE t1 (a1 int PRIMARY KEY); CREATE TABLE t2 (a2 int); Loading mysql-test/t/join_outer.test +14 −14 Original line number Diff line number Diff line Loading @@ -554,34 +554,34 @@ SELECT t1.flag_name,t2.flag_value DROP TABLE t1,t2; CREATE TABLE invoice ( CREATE TABLE t1 ( id int(11) unsigned NOT NULL auto_increment, text_id int(10) unsigned default NULL, PRIMARY KEY (id) ); INSERT INTO invoice VALUES("1", "0"); INSERT INTO invoice VALUES("2", "10"); INSERT INTO t1 VALUES("1", "0"); INSERT INTO t1 VALUES("2", "10"); CREATE TABLE text_table ( CREATE TABLE t2 ( text_id char(3) NOT NULL default '', language_id char(3) NOT NULL default '', text_data text, PRIMARY KEY (text_id,language_id) ); INSERT INTO text_table VALUES("0", "EN", "0-EN"); INSERT INTO text_table VALUES("0", "SV", "0-SV"); INSERT INTO text_table VALUES("10", "EN", "10-EN"); INSERT INTO text_table VALUES("10", "SV", "10-SV"); INSERT INTO t2 VALUES("0", "EN", "0-EN"); INSERT INTO t2 VALUES("0", "SV", "0-SV"); INSERT INTO t2 VALUES("10", "EN", "10-EN"); INSERT INTO t2 VALUES("10", "SV", "10-SV"); SELECT invoice.id, invoice.text_id, text_table.text_data FROM invoice LEFT JOIN text_table ON invoice.text_id = text_table.text_id AND text_table.language_id = 'SV' WHERE (invoice.id LIKE '%' OR text_table.text_data LIKE '%'); SELECT t1.id, t1.text_id, t2.text_data FROM t1 LEFT JOIN t2 ON t1.text_id = t2.text_id AND t2.language_id = 'SV' WHERE (t1.id LIKE '%' OR t2.text_data LIKE '%'); DROP TABLE invoice, text_table; DROP TABLE t1, t2; # Test for bug #5896 Loading ndb/include/kernel/AttributeHeader.hpp +0 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ #ifndef ATTRIBUTE_HEADER #define ATTRIBUTE_HEADER #include <new> /** * @class AttributeHeader * @brief Header passed in front of every attribute value in AttrInfo signal Loading ndb/include/ndb_constants.h +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ #define NDB_TYPE_BIGUNSIGNED 10 #define NDB_TYPE_FLOAT 11 #define NDB_TYPE_DOUBLE 12 #define NDB_TYPE_DECIMAL 13 // not used #define NDB_TYPE_DECIMAL 13 /* not used */ #define NDB_TYPE_CHAR 14 #define NDB_TYPE_VARCHAR 15 #define NDB_TYPE_BINARY 16 Loading ndb/include/ndb_global.h.in +2 −4 Original line number Diff line number Diff line Loading @@ -115,10 +115,8 @@ static const char table_name_separator = '/'; #endif #ifdef __cplusplus #include <new> #endif #ifdef __cplusplus inline void* operator new(size_t, void* __p) { return __p; } inline void* operator new[](size_t, void* __p) { return __p; } extern "C" { #endif Loading Loading
mysql-test/r/join_outer.result +14 −14 Original line number Diff line number Diff line Loading @@ -784,32 +784,32 @@ t2.flag_value IS NULL; flag_name flag_value flag2 NULL DROP TABLE t1,t2; CREATE TABLE invoice ( CREATE TABLE t1 ( id int(11) unsigned NOT NULL auto_increment, text_id int(10) unsigned default NULL, PRIMARY KEY (id) ); INSERT INTO invoice VALUES("1", "0"); INSERT INTO invoice VALUES("2", "10"); CREATE TABLE text_table ( INSERT INTO t1 VALUES("1", "0"); INSERT INTO t1 VALUES("2", "10"); CREATE TABLE t2 ( text_id char(3) NOT NULL default '', language_id char(3) NOT NULL default '', text_data text, PRIMARY KEY (text_id,language_id) ); INSERT INTO text_table VALUES("0", "EN", "0-EN"); INSERT INTO text_table VALUES("0", "SV", "0-SV"); INSERT INTO text_table VALUES("10", "EN", "10-EN"); INSERT INTO text_table VALUES("10", "SV", "10-SV"); SELECT invoice.id, invoice.text_id, text_table.text_data FROM invoice LEFT JOIN text_table ON invoice.text_id = text_table.text_id AND text_table.language_id = 'SV' WHERE (invoice.id LIKE '%' OR text_table.text_data LIKE '%'); INSERT INTO t2 VALUES("0", "EN", "0-EN"); INSERT INTO t2 VALUES("0", "SV", "0-SV"); INSERT INTO t2 VALUES("10", "EN", "10-EN"); INSERT INTO t2 VALUES("10", "SV", "10-SV"); SELECT t1.id, t1.text_id, t2.text_data FROM t1 LEFT JOIN t2 ON t1.text_id = t2.text_id AND t2.language_id = 'SV' WHERE (t1.id LIKE '%' OR t2.text_data LIKE '%'); id text_id text_data 1 0 0-SV 2 10 10-SV DROP TABLE invoice, text_table; DROP TABLE t1, t2; CREATE TABLE t0 (a0 int PRIMARY KEY); CREATE TABLE t1 (a1 int PRIMARY KEY); CREATE TABLE t2 (a2 int); Loading
mysql-test/t/join_outer.test +14 −14 Original line number Diff line number Diff line Loading @@ -554,34 +554,34 @@ SELECT t1.flag_name,t2.flag_value DROP TABLE t1,t2; CREATE TABLE invoice ( CREATE TABLE t1 ( id int(11) unsigned NOT NULL auto_increment, text_id int(10) unsigned default NULL, PRIMARY KEY (id) ); INSERT INTO invoice VALUES("1", "0"); INSERT INTO invoice VALUES("2", "10"); INSERT INTO t1 VALUES("1", "0"); INSERT INTO t1 VALUES("2", "10"); CREATE TABLE text_table ( CREATE TABLE t2 ( text_id char(3) NOT NULL default '', language_id char(3) NOT NULL default '', text_data text, PRIMARY KEY (text_id,language_id) ); INSERT INTO text_table VALUES("0", "EN", "0-EN"); INSERT INTO text_table VALUES("0", "SV", "0-SV"); INSERT INTO text_table VALUES("10", "EN", "10-EN"); INSERT INTO text_table VALUES("10", "SV", "10-SV"); INSERT INTO t2 VALUES("0", "EN", "0-EN"); INSERT INTO t2 VALUES("0", "SV", "0-SV"); INSERT INTO t2 VALUES("10", "EN", "10-EN"); INSERT INTO t2 VALUES("10", "SV", "10-SV"); SELECT invoice.id, invoice.text_id, text_table.text_data FROM invoice LEFT JOIN text_table ON invoice.text_id = text_table.text_id AND text_table.language_id = 'SV' WHERE (invoice.id LIKE '%' OR text_table.text_data LIKE '%'); SELECT t1.id, t1.text_id, t2.text_data FROM t1 LEFT JOIN t2 ON t1.text_id = t2.text_id AND t2.language_id = 'SV' WHERE (t1.id LIKE '%' OR t2.text_data LIKE '%'); DROP TABLE invoice, text_table; DROP TABLE t1, t2; # Test for bug #5896 Loading
ndb/include/kernel/AttributeHeader.hpp +0 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ #ifndef ATTRIBUTE_HEADER #define ATTRIBUTE_HEADER #include <new> /** * @class AttributeHeader * @brief Header passed in front of every attribute value in AttrInfo signal Loading
ndb/include/ndb_constants.h +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ #define NDB_TYPE_BIGUNSIGNED 10 #define NDB_TYPE_FLOAT 11 #define NDB_TYPE_DOUBLE 12 #define NDB_TYPE_DECIMAL 13 // not used #define NDB_TYPE_DECIMAL 13 /* not used */ #define NDB_TYPE_CHAR 14 #define NDB_TYPE_VARCHAR 15 #define NDB_TYPE_BINARY 16 Loading
ndb/include/ndb_global.h.in +2 −4 Original line number Diff line number Diff line Loading @@ -115,10 +115,8 @@ static const char table_name_separator = '/'; #endif #ifdef __cplusplus #include <new> #endif #ifdef __cplusplus inline void* operator new(size_t, void* __p) { return __p; } inline void* operator new[](size_t, void* __p) { return __p; } extern "C" { #endif Loading