Commit d97344ce authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5: stop disabling derived_merge=off optimiser.

it is no longer required with the latest ERP5 code where we have explicit ORDER BY in the outer query.
also drop it in generic_mysql too.
parent b103052d
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
# Loud fail is really required in such case. # Loud fail is really required in such case.
sql-mode="NO_ENGINE_SUBSTITUTION" sql-mode="NO_ENGINE_SUBSTITUTION"
# Workaround for https://bugs.launchpad.net/maria/+bug/985828
# that causes wrong result in Resource_zGetInventoryList etc.
optimizer_switch = derived_merge=off
skip-show-database skip-show-database
%(networking)s %(networking)s
socket = %(socket)s socket = %(socket)s
......
...@@ -180,7 +180,7 @@ md5sum = bc6048b85b410693e60e5a77399dd1b7 ...@@ -180,7 +180,7 @@ md5sum = bc6048b85b410693e60e5a77399dd1b7
[template-my-cnf] [template-my-cnf]
<= download-base <= download-base
filename = my.cnf.in filename = my.cnf.in
md5sum = dd779e54d22105702aa72cadc994d957 md5sum = 9ae79a450f9760072ccbc8c9b2d0c377
[template-mariadb-initial-setup] [template-mariadb-initial-setup]
<= download-base <= download-base
......
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
# Loud fail is really required in such case. # Loud fail is really required in such case.
sql_mode="NO_ENGINE_SUBSTITUTION" sql_mode="NO_ENGINE_SUBSTITUTION"
# Workaround for https://bugs.launchpad.net/maria/+bug/985828
# that causes wrong result in Resource_zGetInventoryList etc.
optimizer_switch = derived_merge=off
skip_show_database skip_show_database
{% set ip = parameter_dict.get('ip') -%} {% set ip = parameter_dict.get('ip') -%}
{% if ip -%} {% if ip -%}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment