Informix - Problem description
Problem IT42103 | Status: Closed |
-1266 FOR A COMBINATION OF DATE/INTERVAL AND INTEGER FILTERS | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
This simple test case reproduces an undue -1266 error: CREATE TABLE td (d date); CREATE INDEX tdi on td (d); SELECT * FROM td WHERE ( d < TODAY - 1 UNITS DAY OR d = TODAY) AND d < TODAY - 1 UNITS MONTH; Variants of this simplified demo statement will do as well. Conditions for hitting the problem, per some testing: - Index having column d in first position (if multiple columns) - Those interval expressions - An ... AND ( ... OR ... ) filter with two different date/interval comparisons - Those two units (MONTH and DAY) can't be the same | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server to 12.10.xC16 and 14.10.FC9W1. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 (if available) or * * 14.10.FC9W1. * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server to 12.10.xC16 and 14.10.FC9W1. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 (if available) or * * 14.10.FC9W1. * **************************************************************** | |
Comment | |
Fixed in Informix Server 12.10.xC16 and 14.10.FC9W1. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 20.09.2022 22.02.2023 22.02.2023 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |