Dropping schema does not remove table file when using blackhole

Bug #492046 reported by Lee Bieber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Brian Aker

Bug Description

Dropping schema does not remove table file when using blackhole, this currently prevents drizzleslap from running with blackhole

drizzle> create schema foo;
Query OK, 1 row affected (0.01 sec)

drizzle> use foo;
Database changed

drizzle> create table foo (a int) engine=blackhole;
Query OK, 0 rows affected (0 sec)

drizzle> drop schema foo;
ERROR 1010 (HY000): Error dropping database (can't rmdir './foo/', errno: 39)

Dropping the table specifically does work ->

drizzle> use foo;

drizzle> drop table foo;
Query OK, 0 rows affected (0 sec)

drizzle> drop schema foo;
Query OK, 0 rows affected (0 sec)

Changed in drizzle:
status: New → Confirmed
importance: Undecided → High
milestone: none → bell
assignee: nobody → Brian Aker (brianaker)
Changed in drizzle:
status: Confirmed → Fix Released
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.