~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Stewart Smith
  • Date: 2009-10-12 05:13:54 UTC
  • mfrom: (1178 staging)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091012051354-2n7zpid9f67ddsa0
mergeĀ lp:drizzle/build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1806
1806
  return(table->file->errkey);
1807
1807
}
1808
1808
 
1809
 
void handler::drop_table(const char *name)
 
1809
void handler::drop_table(const char *)
1810
1810
{
1811
1811
  close();
1812
 
  engine->deleteTable(ha_session(), name);
1813
1812
}
1814
1813
 
1815
1814
 
1853
1852
  */
1854
1853
  if (ha_info->is_started())
1855
1854
  {
1856
 
    /*
1857
 
      table_share can be NULL in ha_delete_table(). See implementation
1858
 
      of standalone function ha_delete_table() in sql_base.cc.
1859
 
    */
1860
 
//    if (table_share == NULL || table_share->tmp_table == NO_TMP_TABLE)
1861
1855
      ha_info->set_trx_read_write();
1862
1856
  }
1863
1857
}
1988
1982
*/
1989
1983
 
1990
1984
void
1991
 
handler::ha_drop_table(const char *name)
 
1985
handler::closeMarkForDelete(const char *name)
1992
1986
{
1993
1987
  mark_trx_read_write();
1994
1988