~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Monty
  • Date: 2008-10-02 05:41:33 UTC
  • mfrom: (398.1.10 codestyle)
  • Revision ID: mordred@scylla.inaugust.com-20081002054133-tyxv5bmqpazfaqqi
Merged up to 408 of stdint-includes-fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2019
2019
                    ((Item_in_subselect*)item)->exec_method ==
2020
2020
                    Item_in_subselect::MATERIALIZATION) ?
2021
2021
                   true :
2022
 
                   (select_limit->val_int() == 1LL) &&
 
2022
                   (select_limit->val_int() == 1L) &&
2023
2023
                   offset_limit == 0));
2024
2024
      return;
2025
2025
    }
2362
2362
    select_limit_val= HA_POS_ERROR;
2363
2363
#endif
2364
2364
  offset_limit_cnt= (ha_rows)(sl->offset_limit ? sl->offset_limit->val_uint() :
2365
 
                                                 0ULL);
 
2365
                                                 0UL);
2366
2366
  select_limit_cnt= select_limit_val + offset_limit_cnt;
2367
2367
  if (select_limit_cnt < select_limit_val)
2368
2368
    select_limit_cnt= HA_POS_ERROR;             // no limit