~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Brian Aker
  • Date: 2009-05-05 16:41:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1007.
  • Revision ID: brian@gaz-20090505164104-1inmacw2kw5y9jo6
The call for setting columns was backwards (engines with certain callers
would loop twice over bits).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3617
3617
  return 0;
3618
3618
}
3619
3619
 
3620
 
 
3621
 
 
3622
 
/**
3623
 
  @details
3624
 
  use_hidden_primary_key() is called in case of an update/delete when
3625
 
  (table_flags() and HA_PRIMARY_KEY_REQUIRED_FOR_DELETE) is defined
3626
 
  but we don't have a primary key
3627
 
*/
3628
 
void handler::use_hidden_primary_key()
3629
 
{
3630
 
  /* fallback to use all columns in the table to identify row */
3631
 
  table->use_all_columns();
3632
 
}
3633
 
 
3634
3620
void table_case_convert(char * name, uint32_t length)
3635
3621
{
3636
3622
  if (lower_case_table_names)