~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/schema_engine.cc

  • Committer: Lee Bieber
  • Date: 2011-01-12 02:31:03 UTC
  • mfrom: (2068.7.5 session-fix)
  • mto: This revision was merged to the branch mainline in revision 2076.
  • Revision ID: kalebral@gmail.com-20110112023103-nmz26cv1j32jc6n3
Merge Brian - fix bug 527084 - DROP TABLE: getTableDefiniton returns EEXIST but doDropTable returns ENOENT leads to SIGSEGV

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
    table::Cache::singleton().removeTable(&session, *it,
220
220
                                          RTFC_WAIT_OTHER_THREAD_FLAG |
221
221
                                          RTFC_CHECK_KILLED_FLAG);
222
 
    if (plugin::StorageEngine::dropTable(session, *it))
 
222
    if (not plugin::StorageEngine::dropTable(session, *it))
223
223
    {
224
224
      my_error(ER_TABLE_DROP, *it);
225
225
      return false;