~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Lee Bieber
  • Date: 2011-02-18 23:49:00 UTC
  • mfrom: (2182.1.4 build)
  • Revision ID: kalebral@gmail.com-20110218234900-7zxzvw9x7e7zwflr
Merge Brian - add safe_delete()
Merge Stewart - 720552: doStartIndexScan return code ignored in optimizer::sum_query() for MIN() optimization 
Merge Olaf - add register keyword
Merge Patrick - 720813: syntax error in dbqp that is breaking it

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
  /*
275
275
    If there is very few deleted rows in the table, find the first row by
276
276
    scanning the table.
277
 
    TODO remove the test for HA_READ_ORDER
 
277
    @todo remove the test for HA_READ_ORDER
278
278
  */
279
279
  if (stats.deleted < 10 || primary_key >= MAX_KEY ||
280
280
      !(getTable()->index_flags(primary_key) & HA_READ_ORDER))