~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_insert.cc

Removed dead code around prep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
741
741
 
742
742
  if (!select_insert)
743
743
  {
744
 
    Item *fake_conds= 0;
745
744
    TABLE_LIST *duplicate;
746
745
    if ((duplicate= unique_table(thd, table_list, table_list->next_global, 1)))
747
746
    {
748
747
      update_non_unique_table_error(table_list, "INSERT", duplicate);
749
748
      return(true);
750
749
    }
751
 
    select_lex->fix_prepare_information(thd, &fake_conds, &fake_conds);
752
750
    select_lex->first_execution= 0;
753
751
  }
754
752
  if (duplic == DUP_UPDATE || duplic == DUP_REPLACE)