~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2011-01-04 00:36:55 UTC
  • mfrom: (2048.1.1 drop_table_if_exists)
  • Revision ID: brian@tangent.org-20110104003655-bog00x01s4hwi0h8
MergeĀ inĀ David.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        if (error == 0)
219
219
        {
220
220
          TransactionServices &transaction_services= TransactionServices::singleton();
221
 
          transaction_services.dropTable(session, string(table->getSchemaName()), string(table->getTableName()));
 
221
          transaction_services.dropTable(session, string(table->getSchemaName()), string(table->getTableName()), if_exists);
222
222
        }
223
223
 
224
224
        if ((error == ENOENT || error == HA_ERR_NO_SUCH_TABLE) && if_exists)