MySQL Forums
Forum List  »  Partitioning

Re: MySQL partition by range on YEAR(date) weird results
Posted by: Mattias Jonsson
Date: May 15, 2014 11:42AM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL partition by range on YEAR(date) weird results
1242
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.