~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  bool          transactional_table, safe_update, const_cond;
44
44
  bool          const_cond_result;
45
45
  ha_rows       deleted= 0;
46
 
  uint usable_index= MAX_KEY;
 
46
  uint32_t usable_index= MAX_KEY;
47
47
  SELECT_LEX   *select_lex= &thd->lex->select_lex;
48
48
  THD::killed_state killed_status= THD::NOT_KILLED;
49
49
  
190
190
 
191
191
  if (order && order->elements)
192
192
  {
193
 
    uint         length= 0;
 
193
    uint32_t         length= 0;
194
194
    SORT_FIELD  *sortorder;
195
195
    ha_rows examined_rows;
196
196
    
492
492
}
493
493
 
494
494
 
495
 
multi_delete::multi_delete(TableList *dt, uint num_of_tables_arg)
 
495
multi_delete::multi_delete(TableList *dt, uint32_t num_of_tables_arg)
496
496
  : delete_tables(dt), deleted(0), found(0),
497
497
    num_of_tables(num_of_tables_arg), error(0),
498
498
    do_delete(0), transactional_tables(0), normal_tables(0), error_handled(0)
590
590
    table->no_keyread=0;
591
591
  }
592
592
 
593
 
  for (uint counter= 0; counter < num_of_tables; counter++)
 
593
  for (uint32_t counter= 0; counter < num_of_tables; counter++)
594
594
  {
595
595
    if (tempfiles[counter])
596
596
      delete tempfiles[counter];
648
648
}
649
649
 
650
650
 
651
 
void multi_delete::send_error(uint errcode,const char *err)
 
651
void multi_delete::send_error(uint32_t errcode,const char *err)
652
652
{
653
653
  
654
654
 
847
847
  char path[FN_REFLEN];
848
848
  Table *table;
849
849
  bool error;
850
 
  uint path_length;
 
850
  uint32_t path_length;
851
851
  
852
852
 
853
853
  memset(&create_info, 0, sizeof(create_info));