diff options
author | unknown <jimw@mysql.com> | 2005-08-05 13:19:48 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-08-05 13:19:48 -0700 |
commit | f82e2887bf5725a40688890ea7669be78198942d (patch) | |
tree | 434dd2a8c511c37b2a7507b2de53e24a4644ccdd /sql/ha_heap.h | |
parent | d17c9b06926aaba7af4d4cae2e7914fd9db5ee9d (diff) | |
download | mariadb-git-f82e2887bf5725a40688890ea7669be78198942d.tar.gz |
Always report row type of 'Fixed' for MEMORY tables. (Bug #3094)
mysql-test/r/heap.result:
Add new results
mysql-test/t/heap.test:
Add new regression test
sql/ha_heap.h:
Always report row type of Fixed for MEMORY tables
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r-- | sql/ha_heap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h index f7368436456..7c4227e952c 100644 --- a/sql/ha_heap.h +++ b/sql/ha_heap.h @@ -43,6 +43,8 @@ public: return ((table->key_info[inx].algorithm == HA_KEY_ALG_BTREE) ? "BTREE" : "HASH"); } + /* Rows also use a fixed-size format */ + enum row_type get_row_type() const { return ROW_TYPE_FIXED; } const char **bas_ext() const; ulong table_flags() const { |