diff options
author | serg@serg.mylan <> | 2004-04-06 21:35:26 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-04-06 21:35:26 +0200 |
commit | e8eda8129f4dfb4128a3392a70f055aa04797ba9 (patch) | |
tree | 49936e67024c8911d22de045aa8314e5f88d506b /sql/ha_heap.h | |
parent | 83f6f4a05ccab146830a92f1859d20d92f5ad4e6 (diff) | |
download | mariadb-git-e8eda8129f4dfb4128a3392a70f055aa04797ba9.tar.gz |
::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
Field::val_str simplification, comment
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r-- | sql/ha_heap.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h index feadc0c3c0f..68406202c76 100644 --- a/sql/ha_heap.h +++ b/sql/ha_heap.h @@ -40,7 +40,7 @@ class ha_heap: public handler const char **bas_ext() const; ulong table_flags() const { - return (HA_READ_RND_SAME | HA_NO_INDEX | HA_KEYPOS_TO_RNDPOS | + return (HA_READ_RND_SAME | HA_FAST_KEY_READ | HA_KEYPOS_TO_RNDPOS | HA_NO_BLOBS | HA_NULL_KEY | HA_REC_NOT_IN_SEQ); } ulong index_flags(uint inx) const @@ -58,7 +58,6 @@ class ha_heap: public handler double scan_time() { return (double) (records+deleted) / 20.0+10; } double read_time(uint index, uint ranges, ha_rows rows) { return (double) rows / 20.0+1; } - virtual bool fast_key_read() { return 1;} int open(const char *name, int mode, uint test_if_locked); int close(void); @@ -81,7 +80,6 @@ class ha_heap: public handler void position(const byte *record); void info(uint); int extra(enum ha_extra_function operation); - int reset(void); int external_lock(THD *thd, int lock_type); int delete_all_rows(void); ha_rows records_in_range(int inx, const byte *start_key,uint start_key_len, |