~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2010-03-04 01:34:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1321.
  • Revision ID: brian@gaz-20100304013429-iap92zbcn97atpvi
Additional pass through doDropTable()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1452
1452
    /* Open table and put in temporary table list */
1453
1453
    if (not (session->open_temporary_table(identifier)))
1454
1454
    {
1455
 
      (void) session->rm_temporary_table(create_info->db_type, identifier);
 
1455
      (void) session->rm_temporary_table(identifier);
1456
1456
      goto unlock_and_end;
1457
1457
    }
1458
1458
  }
2090
2090
 
2091
2091
bool mysql_create_like_table(Session* session, TableList* table, TableList* src_table,
2092
2092
                             message::Table& create_table_proto,
2093
 
                             plugin::StorageEngine *engine_arg,
 
2093
                             plugin::StorageEngine *,
2094
2094
                             bool is_if_not_exists,
2095
2095
                             bool is_engine_set)
2096
2096
{
2188
2188
    {
2189
2189
      if (lex_identified_temp_table)
2190
2190
      {
2191
 
        (void) session->rm_temporary_table(engine_arg, destination_identifier);
 
2191
        (void) session->rm_temporary_table(destination_identifier);
2192
2192
      }
2193
2193
      else
2194
2194
      {
2199
2199
    else if (lex_identified_temp_table && not session->open_temporary_table(destination_identifier))
2200
2200
    {
2201
2201
      // We created, but we can't open... also, a hack.
2202
 
      (void) session->rm_temporary_table(engine_arg, destination_identifier);
 
2202
      (void) session->rm_temporary_table(destination_identifier);
2203
2203
    }
2204
2204
    else
2205
2205
    {