summaryrefslogtreecommitdiff
path: root/storage/innobase/dict
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2006-03-11 19:13:31 +0100
committerunknown <kent@mysql.com>2006-03-11 19:13:31 +0100
commit1ff3d3c9fcbe5cbc5cdb093ad32ecb013f496f8a (patch)
tree5ea9dd923e60cc274a632e2d1796a78eb8cc57b8 /storage/innobase/dict
parente89870f16c6f671e43ee933be2c25e9d5e01658c (diff)
downloadmariadb-git-1ff3d3c9fcbe5cbc5cdb093ad32ecb013f496f8a.tar.gz
dict0dict.h, dict0dict.c, ha_innodb.cc:
Make inline dict_table_is_comp() visible to ha_innodb.c as innodb_dict_table_is_comp() sql/ha_innodb.cc: Make inline dict_table_is_comp() visible to ha_innodb.c as innodb_dict_table_is_comp() storage/innobase/dict/dict0dict.c: Make inline dict_table_is_comp() visible to ha_innodb.c as innodb_dict_table_is_comp() storage/innobase/include/dict0dict.h: Make inline dict_table_is_comp() visible to ha_innodb.c as innodb_dict_table_is_comp()
Diffstat (limited to 'storage/innobase/dict')
-rw-r--r--storage/innobase/dict/dict0dict.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/storage/innobase/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c
index 720074a4911..1fac5e26fa9 100644
--- a/storage/innobase/dict/dict0dict.c
+++ b/storage/innobase/dict/dict0dict.c
@@ -4520,3 +4520,15 @@ dict_index_name_print(
fputs(" of table ", file);
ut_print_name(file, trx, index->table_name);
}
+
+/************************************************************************
+Export an inlined function for use in ha_innodb.c. */
+ibool
+innodb_dict_table_is_comp(
+/*===============*/
+ /* out: TRUE if table uses the
+ compact page format */
+ const dict_table_t* table) /* in: table */
+{
+ return dict_table_is_comp(table);
+}