mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.30 1997/11/26 01:11:36 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.31 1997/12/22 05:42:25 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -141,7 +141,7 @@ define_sets(Node *clause)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if (or_clause(clause))
|
||||
else if (or_clause(clause) || and_clause(clause))
|
||||
{
|
||||
List *temp;
|
||||
|
||||
|
Reference in New Issue
Block a user