~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_delete.cc

Removed dead code around prep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
370
370
*/
371
371
int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds)
372
372
{
373
 
  Item *fake_conds= 0;
374
373
  SELECT_LEX *select_lex= &thd->lex->select_lex;
375
374
  
376
375
  List<Item> all_fields;
408
407
    fix_inner_refs(thd, all_fields, select_lex, select_lex->ref_pointer_array))
409
408
    return(-1);
410
409
 
411
 
  select_lex->fix_prepare_information(thd, conds, &fake_conds);
412
410
  return(false);
413
411
}
414
412