~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2008-11-07 06:11:16 UTC
  • Revision ID: brian@dhcp-bne04-18-187.aus.sun.com-20081107061116-2ia900lfohb0zte2
Random cleanup (removed a reference to "fix in 4.1" which was... well...
never fixed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
5016
5016
    new_table.no_rows=1;
5017
5017
  }
5018
5018
 
5019
 
#ifdef TO_BE_DONE_LATER_IN_4_1
5020
 
  /*
5021
 
    To use start_bulk_insert() (which is new in 4.1) we need to find
5022
 
    all places where a corresponding end_bulk_insert() should be put.
5023
 
  */
5024
 
  table->file->info(HA_STATUS_VARIABLE); /* update table->file->stats.records */
5025
 
  new_table.file->ha_start_bulk_insert(table->file->stats.records);
5026
 
#else
5027
5019
  /* HA_EXTRA_WRITE_CACHE can stay until close, no need to disable it */
5028
5020
  new_table.file->extra(HA_EXTRA_WRITE_CACHE);
5029
 
#endif
5030
5021
 
5031
5022
  /*
5032
5023
    copy all old rows from heap table to MyISAM table