~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Monty Taylor
  • Date: 2008-09-23 01:53:40 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923015340-z8p6sbl7y27c4k30
Enabled -Wlong-long.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2023
2023
                    ((Item_in_subselect*)item)->exec_method ==
2024
2024
                    Item_in_subselect::MATERIALIZATION) ?
2025
2025
                   true :
2026
 
                   (select_limit->val_int() == 1LL) &&
 
2026
                   (select_limit->val_int() == 1L) &&
2027
2027
                   offset_limit == 0));
2028
2028
      return;
2029
2029
    }
2366
2366
    select_limit_val= HA_POS_ERROR;
2367
2367
#endif
2368
2368
  offset_limit_cnt= (ha_rows)(sl->offset_limit ? sl->offset_limit->val_uint() :
2369
 
                                                 0ULL);
 
2369
                                                 0UL);
2370
2370
  select_limit_cnt= select_limit_val + offset_limit_cnt;
2371
2371
  if (select_limit_cnt < select_limit_val)
2372
2372
    select_limit_cnt= HA_POS_ERROR;             // no limit