Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.3.6
-
None
Description
Currently testing 10.3.6 but looking at code this is still true in current 10.3.
Any setting of in_predicate_conversion_threshold in my.cnf is overridden in init_common_variables() with this line:
global_system_variables.in_subquery_conversion_threshold= IN_SUBQUERY_CONVERSION_THRESHOLD;
|
Removing this line appears to fix the problem. A default is set in sys_vars.cc anyway I don't think this is needed.
This affects ColumnStore because we need to set this high.
As a side note, I couldn't see this variable documented in KB.
Attachments
Issue Links
- includes
-
MDEV-20083 Predicate into subqueries is server KILLER, which can not even be disabled
-
- Closed
-
- is caused by
-
MDEV-20105 Case for bringing in_subquery_conversion_threshold back in next possible release
-
- Closed
-
- relates to
-
MCOL-1385 Merge MariaDB 10.3
-
- Closed
-
-
MDEV-20482 MyISAM & Aria very slow when IN predicates containing more than 999 elements reference unindexed column.
-
- Closed
-
According to the commit comment, it might be intentional:
commit 37f5569909d2b5a80e7f55b7b5d38d25ee2f0b5e
Author: Sergei Golubchik <serg@mariadb.org>
Date: Sat Nov 4 19:14:34 2017 +0100
@@in_predicate_conversion_threshold
* rename in_subquery_conversion_threshold to in_predicate_conversion_threshold
* make it debug-only, hide from users
* change from ulong to uint - same type and range on all architectures
Assigning to serg to clarify.a