~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: Joseph Daly
  • Date: 2010-08-31 03:00:15 UTC
  • mto: (1751.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: jdaly@rx7-20100831030015-993r26sv3mztaf05
remove write_bin_log_drop_table and use transaction_services

Show diffs side-by-side

added added

removed removed

Lines of Context:
351
351
 
352
352
static int rm_table_part2(Session *session, TableList *tables)
353
353
{
 
354
  TransactionServices &transaction_services= TransactionServices::singleton();
 
355
 
354
356
  TableList *table;
355
357
  String wrong_tables;
356
358
  int error= 0;
461
463
    }
462
464
 
463
465
    if (error == 0 || (foreign_key_error == false))
464
 
        write_bin_log_drop_table(session, true, db, table->table_name);
 
466
    {
 
467
      transaction_services.dropTable(session, string(db), string(table->table_name), true);
 
468
    }
465
469
 
466
470
    if (error)
467
471
    {