~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Monty Taylor
  • Date: 2009-03-05 02:10:27 UTC
  • mfrom: (908.3.8 for-brian)
  • mto: This revision was merged to the branch mainline in revision 912.
  • Revision ID: mordred@inaugust.com-20090305021027-1nw5yl1uzulytl42
Merging stewart.

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);