From 6fe1c2da619729f79897afa335b8ad92254aa418 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 11 Apr 2018 17:17:09 +0200 Subject: [PATCH] Ajout d'une variable manquante --- dicos/25_bdd_server.xml | 4 ++++ tmpl/tunning.cnf | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dicos/25_bdd_server.xml b/dicos/25_bdd_server.xml index 52be345..8e966ff 100644 --- a/dicos/25_bdd_server.xml +++ b/dicos/25_bdd_server.xml @@ -44,6 +44,10 @@ Default + + + 128 + diff --git a/tmpl/tunning.cnf b/tmpl/tunning.cnf index fc0d5e1..1eafe79 100644 --- a/tmpl/tunning.cnf +++ b/tmpl/tunning.cnf @@ -8,9 +8,9 @@ thread_cache_size=%%dbThreadCacheSize %if %%dbCacheQueryEnable == 'oui' query_cache_type = 1 -query_cache_limit = %%dbQueryCacheLimit -query_cache_min_res_unit = %%dbQueryCacheMinResUint -query_cache_size = %%dbQueryCacheSize +query_cache_limit = %%getVar('dbQueryCacheLimit') +query_cache_min_res_unit = %%getVar('dbQueryCacheMinResUint') +query_cache_size = %%getVar('dbQueryCacheSize') %end if tmp_table_size = %%dbTmpTableSize @@ -18,8 +18,8 @@ max_heap_table_size = %%dbTmpTableSize %if %%dbEnableSlowQueryLogs == "oui" slow-query-log = 1 -slow-query-log-file = %%dbSlowQueryLogFile -long_query_time = %%dbSlowQueryLogTime +slow-query-log-file = %%getVar('dbSlowQueryLogFile') +long_query_time = %%getVar('dbSlowQueryLogTime') %end if wait_timeout = %%dbWaitTimeout