summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2014-08-11 05:45:45 +0400
committerAlexander Barkov <bar@mariadb.org>2014-08-11 05:45:45 +0400
commit22a64047d14d1199ced885f63bcccd39459681d6 (patch)
tree8087b8b89fe8602f43355f88ce91c8ce1e34b55b /include/my_sys.h
parent4105cbf4a230c82ea7dee31d4d2262b798fad9f4 (diff)
downloadmariadb-git-22a64047d14d1199ced885f63bcccd39459681d6.tar.gz
MDEV-6274 Collation usage statistics
Adding collation usage statistics into the feedback plugin I_S table.
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 4b4e5b7a22f..9913ee8c79b 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -242,6 +242,11 @@ extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *default_charset_info;
extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *all_charsets[MY_ALL_CHARSETS_SIZE];
extern struct charset_info_st compiled_charsets[];
+/* Collation properties and use statistics */
+extern my_bool my_collation_is_known_id(uint id);
+extern ulonglong my_collation_statistics_get_use_count(uint id);
+extern const char *my_collation_get_tailoring(uint id);
+
/* statistics */
extern ulong my_file_opened,my_stream_opened, my_tmp_file_created;
extern ulong my_file_total_opened;