~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2010-03-25 19:25:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1411.
  • Revision ID: brian@gaz-20100325192504-stbk05bhlac8zg3v
Removed the internal table type in favor of the protobuf one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
  int res;
357
357
  ha_statistic_increment(&system_status_var::ha_delete_count);
358
358
  res= heap_delete(file,buf);
359
 
  if (!res && table->s->tmp_table == STANDARD_TABLE &&
 
359
  if (!res && table->s->tmp_table == message::Table::STANDARD &&
360
360
      ++records_changed*MEMORY_STATS_UPDATE_THRESHOLD > file->s->records)
361
361
  {
362
362
    /*
514
514
int ha_heap::delete_all_rows()
515
515
{
516
516
  heap_clear(file);
517
 
  if (table->s->tmp_table == STANDARD_TABLE)
 
517
  if (table->s->tmp_table == message::Table::STANDARD)
518
518
  {
519
519
    /*
520
520
       We can perform this safely since only one writer at the time is