~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
2411
2411
void st_select_lex_unit::set_limit(st_select_lex *sl)
2412
2412
{
2413
2413
  ha_rows select_limit_val;
2414
 
  ulonglong val;
 
2414
  uint64_t val;
2415
2415
 
2416
2416
  val= sl->select_limit ? sl->select_limit->val_uint() : HA_POS_ERROR;
2417
2417
  select_limit_val= (ha_rows)val;
2418
2418
#ifndef BIG_TABLES
2419
2419
  /* 
2420
 
    Check for overflow : ha_rows can be smaller then ulonglong if
 
2420
    Check for overflow : ha_rows can be smaller then uint64_t if
2421
2421
    BIG_TABLES is off.
2422
2422
    */
2423
 
  if (val != (ulonglong)select_limit_val)
 
2423
  if (val != (uint64_t)select_limit_val)
2424
2424
    select_limit_val= HA_POS_ERROR;
2425
2425
#endif
2426
2426
  offset_limit_cnt= (ha_rows)(sl->offset_limit ? sl->offset_limit->val_uint() :