mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
InnoDB: Make SHOW TABLE STATUS report Row_format=Compact and
Row_format=Redundant sql/ha_innodb.cc: Implement get_row_type() sql/ha_innodb.h: Declare get_row_type() sql/handler.h: Declare get_row_type() sql/sql_show.cc: get_schema_tables_record(): Primarily invoke handler::get_row_type() in order to determine the row type within the storage engine. Secondarily use the old method of examining the HA_OPTION flags.
This commit is contained in:
parent
b0cc9d7ad7
commit
198578d682
4 changed files with 56 additions and 4 deletions
|
|
@ -96,6 +96,11 @@ class ha_innobase: public handler
|
|||
{
|
||||
}
|
||||
~ha_innobase() {}
|
||||
/*
|
||||
Get the row type from the storage engine. If this method returns
|
||||
ROW_TYPE_NOT_USED, the information in HA_CREATE_INFO should be used.
|
||||
*/
|
||||
enum row_type get_row_type() const;
|
||||
|
||||
const char* table_type() const { return("InnoDB");}
|
||||
const char *index_type(uint key_number) { return "BTREE"; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue