alter table to blackhole erases schema

Bug #617517 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Andrew Hutchings
Dexter
Fix Released
Medium
Andrew Hutchings

Bug Description

drizzle> show tables;
+----------------+
| Tables_in_test |
+----------------+
| t1 |
+----------------+
1 row in set (0 sec)

drizzle> alter table t1 engine=blackhole;
Query OK, 0 rows affected (0.14 sec)
Records: 0 Duplicates: 0 Warnings: 0

drizzle> show tables;
Empty set (0 sec)

[linuxjedi@linuxjedi-laptop drizzle]$ ls var/drizzle/test/
db.opt #sql-a36_14.blk

Related branches

Changed in drizzle:
assignee: nobody → Andrew Hutchings (thelinuxjedi)
Changed in drizzle:
importance: Undecided → Medium
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

Would you check this again, Brian thought that a recent fix that is now in trunk from Stewart might fix this

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

Just built/tested trunk, bug still there

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

for (const char **ext= bas_ext(); *ext ; ext++) seems to do nothing in ha_blackhole.cc

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.