Bug #5072 | ALTER TABLE and BLOB columns | ||
---|---|---|---|
Submitted: | 17 Aug 2004 13:33 | Modified: | 20 Aug 2004 14:16 |
Reporter: | Magnus Blåudd | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | mysql 4.1 bk | OS: | |
Assigned to: | Martin Skold | CPU Architecture: | Any |
[17 Aug 2004 13:33]
Magnus Blåudd
[20 Aug 2004 11:40]
Martin Skold
Not related to the specific alter table: alter table t5 add c int; select * from t5; ERROR 1296 (HY000): Got error 4263 'Invalid blob attributes or invalid blob parts table' from ndbcluster It is probably the table rename part of alter table that is not working for tables with BLOBs, some meta-data is probably not copied correctly. If I skip selecting the BLOB column everything works. Also accessing tables directly (ndb_select_all) seems to work fine!
[20 Aug 2004 12:02]
Martin Skold
The BLOB tables are also not dropped after the drop table part of alter table.
[20 Aug 2004 13:33]
Martin Skold
The problem was that the BLOB tables are identified with table id, version, and column id. The version is incremented ate alter table (at table rename) and the BLOB table cannot be found. Just removed version form BLOB table name.