~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_bitmap.h

  • Committer: Brian Aker
  • Date: 2008-07-04 22:46:21 UTC
  • Revision ID: brian@tangent.org-20080704224621-24b2ykda0vgp7xdi
Removed preload from parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  void intersect_extended(ulonglong map2buff)
57
57
  {
58
58
    intersect(map2buff);
59
 
    if (map.n_bits > sizeof(ulonglong) * 8)
60
 
      bitmap_set_above(&map, sizeof(ulonglong),
61
 
                       test(map2buff & (LL(1) << (sizeof(ulonglong) * 8 - 1))));
 
59
    if (map.n_bits > sizeof(uint64_t) * 8)
 
60
      bitmap_set_above(&map, sizeof(uint64_t),
 
61
                       test(map2buff & (LL(1) << (sizeof(uint64_t) * 8 - 1))));
62
62
  }
63
63
  void subtract(Bitmap& map2) { bitmap_subtract(&map, &map2.map); }
64
64
  void merge(Bitmap& map2) { bitmap_union(&map, &map2.map); }