GIve error instead of warning if engine has been disabled

Bug #309847 reported by Lee Bieber
2
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Low
Jay Pipes

Bug Description

We currently only give a warning, this should be changed to give an error

#
# Test for handler type, will select MyISAM and print a warning
# about that - since NDB is disabled
#
create table t1 (id int) engine=NDB;
alter table t1 engine=NDB;
drop table t1;

Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

The unit test warnings_engine_disabled should be updated after this has been fixed.

Revision history for this message
Jay Pipes (jaypipes) wrote :

Confirmed. Assigning to low-hanging-fruit, as this should be fairly easy for someone to knock off.

Changed in drizzle:
importance: Undecided → Low
milestone: none → low-hanging-fruit
status: New → Confirmed
Revision history for this message
Padraig O'Sullivan (posulliv) wrote :

I'd like to have a go fixing this as it sounds like an easy bug to get started with so I'm assigning it to myself if that's ok.

Changed in drizzle:
assignee: nobody → posulliv
Revision history for this message
Jay Pipes (jaypipes) wrote :

Actually, it seems this may have been fixed already:

drizzle> use test
Database changed
drizzle> create table t1 (id int) engine=NDB;
ERROR 1286 (42000): Unknown table engine 'NDB'

So, I've fixed up the test case to reflect it...

Padraig, we'll have to attack another bug for you :)

Revision history for this message
Jay Pipes (jaypipes) wrote :

Fixed in ~jaypipes/drizzle/bug-fixes

Changed in drizzle:
assignee: posulliv → jaypipes
status: Confirmed → Fix Committed
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

marking as fixed released as the fix seems to be in the trunk. But need to update the test case - warnings_engine_disabled

Changed in drizzle:
status: Fix Committed → Fix Released
Monty Taylor (mordred)
Changed in drizzle:
milestone: low-hanging-fruit → aloha
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.