MySQL Forums
Forum List  »  Partitioning

Re: ERROR 1486 (HY000): Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
Posted by: Mattias Jonsson
Date: February 19, 2010 04:22AM

See bug#42849 for the long story.

for a shorter story see http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html

This was a change in 5.1.43 since TIMESTAMP is internally converted to the local sessions timezone. What I recommend you to do is to change the partitioning function to UNIX_TIMESTAMP(SETG_DATE) and also change the partition values accordingly.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ERROR 1486 (HY000): Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
15549
February 19, 2010 04:22AM


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.