summaryrefslogtreecommitdiff
path: root/sql/ha_heap.h
diff options
context:
space:
mode:
authorram@mysql.r18.ru <>2002-10-07 17:49:03 +0500
committerram@mysql.r18.ru <>2002-10-07 17:49:03 +0500
commit2e1a0c031a0ea3d7505690c6999d5d13e2a3dfe6 (patch)
treeebf4b60cc6d75288281e8c8da41994ba6bc7d89f /sql/ha_heap.h
parent6976c7cf3c83e3c51770ebd7304b7f69a76a28f0 (diff)
downloadmariadb-git-2e1a0c031a0ea3d7505690c6999d5d13e2a3dfe6.tar.gz
auto_increment for heap tables
test case
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r--sql/ha_heap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h
index 504f5262bf3..f82a1a460d8 100644
--- a/sql/ha_heap.h
+++ b/sql/ha_heap.h
@@ -40,8 +40,7 @@ class ha_heap: public handler
ulong table_flags() const
{
return (HA_READ_RND_SAME | HA_NO_INDEX | HA_KEYPOS_TO_RNDPOS |
- HA_NO_BLOBS | HA_NULL_KEY | HA_REC_NOT_IN_SEQ |
- HA_NO_AUTO_INCREMENT);
+ HA_NO_BLOBS | HA_NULL_KEY | HA_REC_NOT_IN_SEQ);
}
ulong index_flags(uint inx) const
{
@@ -63,6 +62,7 @@ class ha_heap: public handler
int write_row(byte * buf);
int update_row(const byte * old_data, byte * new_data);
int delete_row(const byte * buf);
+ longlong get_auto_increment();
int index_read(byte * buf, const byte * key,
uint key_len, enum ha_rkey_function find_flag);
int index_read_idx(byte * buf, uint idx, const byte * key,
@@ -87,6 +87,7 @@ class ha_heap: public handler
int delete_table(const char *from);
int rename_table(const char * from, const char * to);
int create(const char *name, TABLE *form, HA_CREATE_INFO *create_info);
+ void update_create_info(HA_CREATE_INFO *create_info);
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type);