~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

Merge Stewart's basic discovery branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
804
804
 
805
805
    session->close_temporary_table(table, false, false);    // Don't free share
806
806
    ha_create_table(session, share->normalized_path.str,
807
 
                    share->db.str, share->table_name.str, &create_info, 1);
 
807
                    share->db.str, share->table_name.str, &create_info, 1,
 
808
                    NULL);
808
809
    // We don't need to call invalidate() because this table is not in cache
809
810
    if ((error= (int) !(open_temporary_table(session, share->path.str,
810
811
                                             share->db.str,
828
829
 
829
830
  pthread_mutex_lock(&LOCK_open); /* Recreate table for truncate */
830
831
  error= ha_create_table(session, path, table_list->db, table_list->table_name,
831
 
                         &create_info, 1);
 
832
                         &create_info, 1, NULL);
832
833
  pthread_mutex_unlock(&LOCK_open);
833
834
 
834
835
end: