~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: lbieber
  • Date: 2010-09-09 20:20:25 UTC
  • mfrom: (1751.1.1 build)
  • Revision ID: lbieber@orisndriz03-20100909202025-7zptemmdxaj849ii
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
    {