DROP TABLE: getTableDefiniton returns EEXIST but doDropTable returns ENOENT leads to SIGSEGV

Bug #520784 reported by Stewart Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Brian Aker
7.0
Fix Released
Medium
Brian Aker

Bug Description

for a DROP TABLE command

if getTableDefinition succeeds with EEXIST but doDropTable fails with ENOENT, we try to call print_error() in storageengine without a table object (see SE::dropTable). this leads to SIGSEGV on a null ptr dereference.

Stewart Smith (stewart)
Changed in drizzle:
assignee: nobody → Stewart Smith (stewart-flamingspork)
Lorenzo De Liso (blackz)
Changed in drizzle:
importance: Undecided → Medium
status: New → Triaged
Stewart Smith (stewart)
tags: added: storage-engine-api
Brian Aker (brianaker)
Changed in drizzle:
assignee: Stewart Smith (stewart) → Brian Aker (brianaker)
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.