~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Brian Aker
  • Date: 2009-05-05 00:22:46 UTC
  • mfrom: (1003.1.6 merge)
  • Revision ID: brian@gaz-20090505002246-m4ol528i6me7vikf
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1496
1496
 
1497
1497
 
1498
1498
/**
1499
 
  MySQL signal that it changed the column bitmap
1500
 
 
1501
 
  This is for handlers that needs to setup their own column bitmaps.
1502
 
  Normally the handler should set up their own column bitmaps in
1503
 
  index_init() or rnd_init() and in any column_bitmaps_signal() call after
1504
 
  this.
1505
 
 
1506
 
  The handler is allowed to do changes to the bitmap after a index_init or
1507
 
  rnd_init() call is made as after this, MySQL will not use the bitmap
1508
 
  for any program logic checking.
1509
 
*/
1510
 
void handler::column_bitmaps_signal()
1511
 
{
1512
 
  return;
1513
 
}
1514
 
 
1515
 
 
1516
 
/**
1517
1499
  Reserves an interval of auto_increment values from the handler.
1518
1500
 
1519
1501
  offset and increment means that we want values to be of the form
1540
1522
  (void) extra(HA_EXTRA_KEYREAD);
1541
1523
  table->mark_columns_used_by_index_no_reset(table->s->next_number_index,
1542
1524
                                        table->read_set);
1543
 
  column_bitmaps_signal();
1544
1525
  index_init(table->s->next_number_index, 1);
1545
1526
  if (table->s->next_number_keypart == 0)
1546
1527
  {                                             // Autoincrement at key-start