DB2 - Problem description
Problem IC74894 | Status: Closed |
INSTANCE MAY ABEND DURING EXECUTION OF A QUERY THAT CONTAINS A NULL CONSTANT USED IN A RELATIONAL OPERATOR PREDICATE | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Instance may abend during execution of a query that contains a NULL constant equated with an atomic (non-function) expression. Specifically, following conditions need to occur for such a scenario: - Query contains at least 2 relational operator (RELOP) predicates - Both RELOPs need to be equality predicates - The NULL constant is used in both RELOPs - The other expressions used in both RELOPs are also atomic expressions - The data types of the other 2 expressions are incompatible | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 5 or later. * **************************************************************** | |
Local Fix: | |
Ensure that the query is well-formed, since a query which has a NULL constant equated to anything will typically always be a false query, i.e., such a query will always return zero records. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Version 9.7 Fix Pack 5. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 07.03.2011 08.12.2011 08.12.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |