summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <mronstrom@mysql.com>2005-05-07 11:23:09 +0200
committerunknown <mronstrom@mysql.com>2005-05-07 11:23:09 +0200
commitf8b75e07a53058b0e5f1e0dad9188604ab6cde9b (patch)
tree2c16957c304e7c835baca5890a3cb59fc4e05e72 /sql/ha_innodb.h
parent303229750d5f717a3174f34ba056482951a8a0a2 (diff)
parentfdde665e762d9ae6d4230a5167bcbc68b74589a3 (diff)
downloadmariadb-git-f8b75e07a53058b0e5f1e0dad9188604ab6cde9b.tar.gz
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/Users/mikron/wl1682 sql/Makefile.am: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/ha_federated.cc: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_innodb.h: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/item.cc: Auto merged sql/lock.cc: Auto merged sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_insert.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged sql/unireg.cc: Auto merged
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index 6c412a889b2..ad32a50681d 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);