summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fts0types.h
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2018-10-16 13:02:50 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2018-10-16 13:02:50 +0530
commit1dacd5f299be63b8dea8f6ff802739abba96b4e1 (patch)
tree6c3b89f7262e5deee84f1f98681b841f6809a994 /storage/innobase/include/fts0types.h
parent3c5f6aa21c54e2f93c96162a23f2e32772cf50bf (diff)
downloadmariadb-git-1dacd5f299be63b8dea8f6ff802739abba96b4e1.tar.gz
MDEV-12547: InnoDB FULLTEXT index has too strict innodb_ft_result_cache_limit max limit
- Backported the MYSQL_SYSVAR_SIZE_T to 10.0 - The parameter innodb_ft_result_cache_limit was only 32 bits wide also on 64-bit systems. Make it size_t, so that it will be 64 bits on 64-bit systems. - Added a test case that show how innodb_ft_result_cache_limit variables behaves in 32bit and 64 bit system.
Diffstat (limited to 'storage/innobase/include/fts0types.h')
-rw-r--r--storage/innobase/include/fts0types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/fts0types.h b/storage/innobase/include/fts0types.h
index 0dad75d8f1b..9ecd9080881 100644
--- a/storage/innobase/include/fts0types.h
+++ b/storage/innobase/include/fts0types.h
@@ -161,7 +161,7 @@ struct fts_cache_t {
the document from the table. Each
element is of type fts_doc_t */
- ulint total_size; /*!< total size consumed by the ilist
+ size_t total_size; /*!< total size consumed by the ilist
field of all nodes. SYNC is run
whenever this gets too big */
fts_sync_t* sync; /*!< sync structure to sync data to
@@ -243,7 +243,7 @@ struct fts_fetch_t {
fts_sql_callback
read_record; /*!< Callback for reading index
record */
- ulint total_memory; /*!< Total memory used */
+ size_t total_memory; /*!< Total memory used */
};
/** For horizontally splitting an FTS auxiliary index */