~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Brian Aker
  • Date: 2009-04-29 01:45:36 UTC
  • mfrom: (1000.1.6 merge)
  • Revision ID: brian@gaz-20090429014536-pwu5m8ug6n8fvh68
Merge refactoring (mainly around TABLE_SHARE... one step forward...)

Show diffs side-by-side

added added

removed removed

Lines of Context:
796
796
  if (!dont_send_ok && (table= find_temporary_table(session, table_list)))
797
797
  {
798
798
    StorageEngine *table_type= table->s->db_type();
799
 
    TABLE_SHARE *share= table->s;
 
799
    TableShare *share= table->s;
800
800
 
801
801
    if (!table_type->check_flag(HTON_BIT_CAN_RECREATE))
802
802
      goto trunc_by_del;
812
812
                                             share->table_name.str, 1,
813
813
                                             OTM_OPEN))))
814
814
      (void) rm_temporary_table(table_type, path);
815
 
    free_table_share(share);
 
815
    share->free_table_share();
816
816
    free((char*) table);
817
817
    /*
818
818
      If we return here we will not have logged the truncation to the bin log