~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: lbieber
  • Date: 2010-09-09 18:18:37 UTC
  • mfrom: (1736.2.1 alter_table_raw_sql)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: lbieber@orisndriz03-20100909181837-nekiq9dv6g8rwdlk
Merge Joe - Remove old write_bin_log_drop_table() function use GPB and transaction_services to do this

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
    {