~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4239
4239
                                     session->variables.max_heap_table_size) :
4240
4240
                                 session->variables.tmp_table_size) /
4241
4241
                                 share->reclength);
4242
 
  set_if_bigger(share->max_rows,1);             // For dummy start options
 
4242
  set_if_bigger(share->max_rows,(ha_rows)1);    // For dummy start options
4243
4243
  /*
4244
4244
    Push the LIMIT clause to the temporary table creation, so that we
4245
4245
    materialize only up to 'rows_limit' records instead of all result records.