Springle has submitted this change and it was merged.

Change subject: not 5.1.53 compatible (5.1.56+)
......................................................................


not 5.1.53 compatible (5.1.56+)

Change-Id: I4feb73ce027ecf0e84413c8e5c5a44c05a922ed1
---
M modules/coredb_mysql/templates/prod.my.cnf.erb
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Springle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/coredb_mysql/templates/prod.my.cnf.erb 
b/modules/coredb_mysql/templates/prod.my.cnf.erb
index f2457be..b8fa52f 100644
--- a/modules/coredb_mysql/templates/prod.my.cnf.erb
+++ b/modules/coredb_mysql/templates/prod.my.cnf.erb
@@ -108,8 +108,10 @@
 # might need to be even higher and innodb_stats_on_metadata=OFF
 innodb_stats_sample_pages = 16
 
+<% if has_variable?("mariadb") and mariadb == true then -%>
 # encourage more ref lookups when joining tables with nullable fields
 innodb_stats_method = nulls_unequal
+<% end -%>
 
 <% if innodb_file_per_table == true then -%>
 innodb_file_per_table

-- 
To view, visit https://gerrit.wikimedia.org/r/96204
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4feb73ce027ecf0e84413c8e5c5a44c05a922ed1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Springle <[email protected]>
Gerrit-Reviewer: Springle <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to