~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Stewart Smith
  • Date: 2009-03-03 03:03:39 UTC
  • mto: (910.4.2 sparc) (908.3.6 work)
  • mto: This revision was merged to the branch mainline in revision 912.
  • Revision ID: stewart@flamingspork.com-20090303030339-f09589vtexdvmjha
No longer write the FRM. just use proto.

Show diffs side-by-side

added added

removed removed

Lines of Context:
822
822
  }
823
823
 
824
824
  path_length= build_table_filename(path, sizeof(path), table_list->db,
825
 
                                    table_list->table_name, reg_ext, 0);
 
825
                                    table_list->table_name, "", 0);
826
826
 
827
827
  if (!dont_send_ok)
828
828
    goto trunc_by_del;
829
829
 
830
 
  // Remove the .frm extension AIX 5.2 64-bit compiler bug (BUG#16155): this
831
 
  // crashes, replacement works.  *(path + path_length - reg_ext_length)=
832
 
  // '\0';
833
 
  path[path_length - reg_ext_length] = 0;
834
830
  pthread_mutex_lock(&LOCK_open);
835
831
  error= ha_create_table(session, path, table_list->db, table_list->table_name,
836
832
                         &create_info, 1);