~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/opt_range.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:
8046
8046
        all_parts have all bits set from 0 to (max_key_part-1).
8047
8047
        cur_parts have bits set for only used keyparts.
8048
8048
      */
8049
 
      ulonglong all_parts, cur_parts;
 
8049
      uint64_t all_parts, cur_parts;
8050
8050
      all_parts= (1<<max_key_part) - 1;
8051
 
      cur_parts= cur_used_key_parts.to_ulonglong() >> 1;
 
8051
      cur_parts= cur_used_key_parts.to_uint64_t() >> 1;
8052
8052
      if (all_parts != cur_parts)
8053
8053
        goto next_index;
8054
8054
    }