OSDN Git Service

Fixes:
authorMarc G. Fournier <scrappy@hub.org>
Fri, 19 Jul 1996 07:14:14 +0000 (07:14 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 19 Jul 1996 07:14:14 +0000 (07:14 +0000)
commita7cfd655322745b724523195f9879aa9896fa968
treea02cc018d54034207c4d9cc6c354597a92f97db0
parent3704b99522dfd24849facdd574a2fdb218326469
Fixes:

Select queries with an isnull or notnull clause, like "select * where
somefield isnull", crash the backend if the table has at least one index.
If the indices are deleted the queries work again. Also the explain
command fail in the same way.
The is caused by a bug in subroutine of the optimizer which doesn't check
null values in the clauses.

Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
src/backend/optimizer/path/indxpath.c
src/backend/utils/adt/varlena.c