~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Siddharth Prakash Singh
  • Date: 2010-03-26 19:25:23 UTC
  • mfrom: (1410 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1425.
  • Revision ID: spsneo@spsneo-laptop-20100326192523-ibjlbt1p692vobtj
merging with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1597
1597
      *lock= 0;
1598
1598
    }
1599
1599
 
1600
 
    if (!create_info->table_existed)
1601
 
      session->drop_open_table(table, create_table->db, create_table->table_name);
 
1600
    if (not create_info->table_existed)
 
1601
      session->drop_open_table(table, identifier);
1602
1602
    return NULL;
1603
1603
  }
1604
1604
 
1764
1764
  {
1765
1765
    table->cursor->extra(HA_EXTRA_NO_IGNORE_DUP_KEY);
1766
1766
    table->cursor->extra(HA_EXTRA_WRITE_CANNOT_REPLACE);
1767
 
    if (!create_info->table_existed)
1768
 
      session->drop_open_table(table, create_table->db, create_table->table_name);
 
1767
    if (not create_info->table_existed)
 
1768
      session->drop_open_table(table, identifier);
1769
1769
    table= NULL;                                    // Safety
1770
1770
  }
1771
1771
}