~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Stewart Smith
  • Date: 2009-06-25 05:49:42 UTC
  • mto: (1089.11.1 basic-discovery)
  • mto: This revision was merged to the branch mainline in revision 1102.
  • Revision ID: stewart@flamingspork.com-20090625054942-xr1p83d2q1i1q0fo
start passing down table proto to createTable. This enables future code cleanup, including fixing ARCHIVE embedding table definition and table proto in parser

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: