Re: MySQL partition by range on YEAR(date) weird results
You probably hit bug#18167648, which should be fixed in the last releases (5.6.17).
If you do:
SET SESSION optimizer_switch='index_merge=off';
or
SET SESSION optimizer_switch="index_merge_intersection=off";
Will the result be correct on both queries?
Regards
Mattias Jonsson, MySQL partitioning developer
Subject
Views
Written By
Posted
3690
May 12, 2014 02:15AM
1691
May 15, 2014 12:01AM
1571
May 15, 2014 03:38AM
Re: MySQL partition by range on YEAR(date) weird results
1550
May 15, 2014 11:42AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.