Upgrade Guides for Genero BDL / 2.30 upgrade guide |
INTERVAL storage bug fix needs a review of existing databases in production.
Before 2.30.00 (build 1566), negative (and only negative) INTERVAL values were inserted incorrectly. This a critical bug.
SELECT ... FROM table WHERE interval_col = INTERVAL '-55555-11' YEAR(9) TO MONTH
INTERVAL YEAR(p) TO MONTH INTERVAL DAY(p) TO FRACTION(n)
(Other INTERVAL types are stored in a CHAR(50))
UPDATE table SET interval_col = TO_CHAR(interval_col)