diff options
author | unknown <mronstrom@mysql.com> | 2005-05-02 15:45:33 +0200 |
---|---|---|
committer | unknown <mronstrom@mysql.com> | 2005-05-02 15:45:33 +0200 |
commit | 7689fcfb0d2b8a8f0a07f788e5e4343c0620fca5 (patch) | |
tree | 03d821826f191289337486ba50a32e4de26be048 /sql/ha_innodb.h | |
parent | 5d3af2b0a7c3232164135b70f3f496ae98fe8277 (diff) | |
download | mariadb-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 'sql/ha_innodb.h')
-rw-r--r-- | sql/ha_innodb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index 35f95ead757..f596ec35fe5 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -165,6 +165,16 @@ class ha_innobase: public handler int transactional_table_lock(THD *thd, int lock_type); int start_stmt(THD *thd); + int ha_retrieve_all_cols() + { + ha_set_all_bits_in_read_set(); + return extra(HA_EXTRA_RETRIEVE_ALL_COLS); + } + int ha_retrieve_all_pk() + { + ha_set_primary_key_in_read_set(); + return extra(HA_EXTRA_RETRIEVE_PRIMARY_KEY); + } void position(byte *record); ha_rows records_in_range(uint inx, key_range *min_key, key_range *max_key); |