diff options
author | unknown <serg@serg.mylan> | 2003-10-11 13:06:55 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-10-11 13:06:55 +0200 |
commit | 2e1115edc1b5899975c33b4367256ce650d3a0f4 (patch) | |
tree | ff3da12e7e88d561877cd7b6f3fe64edad0c10c0 /sql/field.h | |
parent | 7154615de30122f4dcf719b11fcbc32563ff11d2 (diff) | |
download | mariadb-git-2e1115edc1b5899975c33b4367256ce650d3a0f4.tar.gz |
key_map with more that 64 bits width
sql/field.cc:
typedef Bitmap<64> key_map
all tests pass
sql/ha_berkeley.cc:
typedef Bitmap<64> key_map
all tests pass
sql/ha_berkeley.h:
typedef Bitmap<64> key_map
all tests pass
sql/item.cc:
typedef Bitmap<64> key_map
all tests pass
sql/item_func.cc:
typedef Bitmap<64> key_map
all tests pass
sql/opt_sum.cc:
typedef Bitmap<64> key_map
all tests pass
sql/sql_delete.cc:
typedef Bitmap<64> key_map
all tests pass
sql/sql_show.cc:
typedef Bitmap<64> key_map
all tests pass
sql/sql_test.cc:
typedef Bitmap<64> key_map
all tests pass
sql/sql_update.cc:
typedef Bitmap<64> key_map
all tests pass
include/my_bitmap.h:
more bitmap methods
mysys/my_bitmap.c:
more bitmap methods
sql/field.h:
init bitmaps
sql/ha_innodb.h:
optimization
sql/ha_isam.cc:
optimization
sql/ha_myisam.cc:
optimization
sql/ha_myisammrg.cc:
optimization
sql/handler.h:
optimization
sql/mysqld.cc:
bitmap_init() interface changed
sql/opt_range.cc:
optimization
sql/opt_range.h:
optimization
sql/slave.cc:
bitmap_init() interface changed
sql/sql_base.cc:
optimization
sql/sql_select.cc:
init bitmaps
using const for bitmaps whenever possible
sql/sql_select.h:
cleanup
sql/table.cc:
always init bitmaps
BitKeeper/etc/ignore:
Added sql/udf_example.so to the ignore list
sql/mysql_priv.h:
use Bitmap over ulonglong by default
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index fe5141e9d80..eb0af881121 100644 --- a/sql/field.h +++ b/sql/field.h @@ -151,7 +151,9 @@ public: if (tmp->table->maybe_null) tmp->flags&= ~NOT_NULL_FLAG; tmp->table= new_table; - tmp->key_start= tmp->part_of_key= tmp->part_of_sortkey= 0; + tmp->key_start.init().clear_all(); + tmp->part_of_key.init().clear_all(); + tmp->part_of_sortkey.init().clear_all(); tmp->unireg_check=Field::NONE; tmp->flags&= (NOT_NULL_FLAG | BLOB_FLAG | UNSIGNED_FLAG | ZEROFILL_FLAG | BINARY_FLAG | ENUM_FLAG | SET_FLAG); |