Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL)
-
None
Description
Due to missing parentheses in a macro definition, a statement is corrupting some flags:
/mariadb/5.5/sql/log_slow.h:30:36: warning: left shift of negative value [-Wshift-negative-value]
|
#define QPLAN_QC_NO 1 << 6
|
^
|
/mariadb/5.5/sql/sql_cache.cc:2084:52: note: in expansion of macro 'QPLAN_QC_NO'
|
thd->query_plan_flags= (thd->query_plan_flags & ~QPLAN_QC_NO) | QPLAN_QC;
|
This bug was already fixed in MariaDB Server 10.0.22 and merged to 10.1.8 and 10.2.0.