summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-05 13:19:48 -0700
committerjimw@mysql.com <>2005-08-05 13:19:48 -0700
commit47a63206571b2dadc5e1a71418dc0fd384f1c2a7 (patch)
tree434dd2a8c511c37b2a7507b2de53e24a4644ccdd /sql
parent9959482c950856551c0517373d6144b5c409d036 (diff)
downloadmariadb-git-47a63206571b2dadc5e1a71418dc0fd384f1c2a7.tar.gz
Always report row type of 'Fixed' for MEMORY tables. (Bug #3094)
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_heap.h2
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
{