diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-10-10 08:31:45 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-10-10 08:31:45 +0000 |
commit | ed5b9e9a3fcd6a2c2913e8d3c9d3d36d22d29d12 (patch) | |
tree | 4ae986847a4c08891f7a85e6ad5ca1c29fdf9dee /mysql-test/r/ndb_autodiscover.result | |
parent | c428135ec8550b62a58ac061733c6c31c277a651 (diff) | |
download | mariadb-git-ed5b9e9a3fcd6a2c2913e8d3c9d3d36d22d29d12.tar.gz |
Fixes bug with tableImpl with blobs not being initialized properly w.r.t pointer to blob tableImpl in column
added blob to test to see that blob tables don't show up in show tables
auto increment setting need not fetch blob tables (will otherwise generate error during table creation)
moved addBlobTables out of fetchGlobalTableImpl to get_local_table_info
changed addBlobTables to start from last column and break if all blobs added
also addBlobTables will return -1 if failed (typically getTable)
changed to using get_local_table_info with internal table name where applicable for efficiency
added option to get_local_table_info wether to fetch blob tables or not
getTable always fetches the blobtables
moved addBlobTables to get_local_table_info to always be called, even if main table goes to cache only
mysql-test/r/ndb_autodiscover.result:
added blob to test to see that blob tables don't show up in show tables
mysql-test/t/ndb_autodiscover.test:
added blob to test to see that blob tables don't show up in show tables
ndb/src/ndbapi/Ndb.cpp:
auto increment setting need not fetch blob tables (will otherwise generate error during table creation)
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
moved addBlobTables out of fetchGlobalTableImpl to get_local_table_info
changed addBlobTables to start from last column and break if all blobs added
also addBlobTables will return -1 if failed (typically getTable)
changed to using get_local_table_info with internal table name where applicable for efficiency
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
added option to get_local_table_info wether to fetch blob tables or not
getTable always fetches the blobtables
moved addBlobTables to get_local_table_info to always be called, even if main table goes to cache only
Diffstat (limited to 'mysql-test/r/ndb_autodiscover.result')
-rw-r--r-- | mysql-test/r/ndb_autodiscover.result | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/ndb_autodiscover.result b/mysql-test/r/ndb_autodiscover.result index 4a2bc6e9d90..23f089b9bc0 100644 --- a/mysql-test/r/ndb_autodiscover.result +++ b/mysql-test/r/ndb_autodiscover.result @@ -332,7 +332,7 @@ Handler_discover 0 drop table t6; show tables; Tables_in_test -create table t1 (a int) engine=ndb; +create table t1 (a int,b longblob) engine=ndb; show tables; Tables_in_test t1 @@ -342,10 +342,10 @@ show tables; Tables_in_test2 select * from t1; ERROR 42S02: Table 'test2.t1' doesn't exist -create table t2 (b int) engine=ndb; +create table t2 (b int,c longblob) engine=ndb; use test; select * from t1; -a +a b show tables; Tables_in_test t1 |