~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_bitmap.h

  • Committer: Monty Taylor
  • Date: 2008-10-13 09:29:43 UTC
  • mfrom: (509 drizzle)
  • mto: (509.1.4 codestyle)
  • mto: This revision was merged to the branch mainline in revision 511.
  • Revision ID: monty@inaugust.com-20081013092943-rwvx4a6d85b5l2dh
MergedĀ inĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
  MY_BITMAP map;
37
37
  uint32_t buffer[(default_width+31)/32];
38
38
public:
39
 
  Bitmap() : map() { init(); }
40
 
  Bitmap(const Bitmap& from) : map() { *this=from; }
41
 
  explicit Bitmap(uint32_t prefix_to_set) : map(0) { init(prefix_to_set); }
 
39
  Bitmap() { init(); }
 
40
  Bitmap(const Bitmap& from) { *this=from; }
 
41
  explicit Bitmap(uint32_t prefix_to_set) { init(prefix_to_set); }
42
42
  void init() { bitmap_init(&map, buffer, default_width, 0); }
43
43
  void init(uint32_t prefix_to_set) { init(); set_prefix(prefix_to_set); }
44
44
  uint32_t length() const { return default_width; }
164
164
{
165
165
  uint64_t map;
166
166
public:
167
 
  Bitmap<64>() : map(0) { }
168
 
  explicit Bitmap<64>(uint32_t prefix_to_set) : map(0) { set_prefix(prefix_to_set); }
 
167
  Bitmap<64>() { map= 0; }
 
168
  explicit Bitmap<64>(uint32_t prefix_to_set) { set_prefix(prefix_to_set); }
169
169
  void init() { }
170
170
  void init(uint32_t prefix_to_set) { set_prefix(prefix_to_set); }
171
171
  uint32_t length() const { return 64; }