summaryrefslogtreecommitdiff
path: root/mysys/my_bitmap.c
diff options
context:
space:
mode:
authorunknown <mronstrom@mysql.com>2005-05-02 15:45:33 +0200
committerunknown <mronstrom@mysql.com>2005-05-02 15:45:33 +0200
commit7689fcfb0d2b8a8f0a07f788e5e4343c0620fca5 (patch)
tree03d821826f191289337486ba50a32e4de26be048 /mysys/my_bitmap.c
parent5d3af2b0a7c3232164135b70f3f496ae98fe8277 (diff)
downloadmariadb-git-7689fcfb0d2b8a8f0a07f788e5e4343c0620fca5.tar.gz
WL 1682: After review fixes + update bitvector class + bitvector test
cases + bug fixes mysys/my_bitmap.c: Removed debug comments sql/bitvector.h: Changed a number of things Added new methods, new handling of end bits, faster search for bits using word by word search.. sql/field.h: Added comment sql/ha_federated.cc: Fixes sql/ha_innodb.cc: Fixes sql/ha_innodb.h: InnoDB still needs the extra calls not needed by anybody else sql/ha_ndbcluster.cc: Removed some timestamp set bit stuff Always write all fields in write_row sql/handler.cc: No inline methods in bit interface (caused strange bugs) initialise method sql/handler.h: Changed to bitvector from bitmap Removed init variable sql/opt_range.cc: Removed all extra HA_EXTRA_RETRIEVE_* sql/sql_acl.cc: Removed all extra HA_EXTRA_RETRIEVE_* sql/sql_base.cc: Set bits previously missed sql/sql_insert.cc: Removed all extra HA_EXTRA_RETRIEVE_* Timestamp handling sql/sql_load.cc: Updated comments plus set all bits in bitvector sql/sql_select.cc: Removed ifdef since NDB and Federated needs the same calls Added comment or rather changed comment. sql/sql_table.cc: Removed HA_EXTRA_RETRIEVE_* calls Updated comments sql/sql_udf.cc: Removed HA_EXTRA_RETRIEVE_* calls Updated comments sql/sql_update.cc: Removed HA_EXTRA_RETRIEVE_* calls Timstamp updating
Diffstat (limited to 'mysys/my_bitmap.c')
-rw-r--r--mysys/my_bitmap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mysys/my_bitmap.c b/mysys/my_bitmap.c
index 2f8faea68a8..c0eb6f15548 100644
--- a/mysys/my_bitmap.c
+++ b/mysys/my_bitmap.c
@@ -102,14 +102,6 @@ void bitmap_free(MY_BITMAP *map)
void bitmap_set_bit(MY_BITMAP *map, uint bitmap_bit)
{
- if (map->bitmap)
- {
- DBUG_PRINT("info", ("Bitmap not defined"));
- }
- if (bitmap_bit >= map->bitmap_size*8)
- {
- DBUG_PRINT("info", ("bit %d size in bytes %d", bitmap_bit, map->bitmap_size));
- }
DBUG_ASSERT(map->bitmap && bitmap_bit < map->bitmap_size*8);
bitmap_lock(map);
bitmap_fast_set_bit(map, bitmap_bit);