diff options
author | unknown <jimw@mysql.com> | 2006-03-08 11:06:01 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2006-03-08 11:06:01 -0800 |
commit | e99b11d3696ce63aa0f584241cc1a5b324597069 (patch) | |
tree | 2fe6846f327e00e58008b6fcb3148f8199d36ccd /sql/ha_partition.h | |
parent | 56df722382767cb8ac272607f5e3fbaa0839661d (diff) | |
download | mariadb-git-e99b11d3696ce63aa0f584241cc1a5b324597069.tar.gz |
Bug #14673: Wrong InnoDB default row format
Make partitioned tables report the row format of the underlying
tables (when they are all the same).
mysql-test/r/partition.result:
Add new results
mysql-test/t/partition.test:
Add regression test
sql/ha_partition.cc:
Add get_row_type(), which peeks at the underlying tables and returns
the row_type if they are consistent.
sql/ha_partition.h:
Add get_row_type() method
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index f828cc65ed3..32ea75fabf0 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -527,6 +527,9 @@ public: virtual const char *table_type() const { return "PARTITION"; } + /* The name of the row type used for the underlying tables. */ + virtual enum row_type get_row_type() const; + /* Handler specific error messages */ |