Return value of enlarge_query_statement() is never evaluated

Return value of enlarge_query_statement() is never evaluated

am 16.07.2007 12:11:01 von Rainer Bauer

Hello,

while fixing the ResolveOneParam() bug, I saw that the return value of
enlarge_query_statement() is ignored by all calling functions.

Since that function might free the allocated memory, the result might be
disastrous (i.e. crashing the application). This function is only called via
macros, so I don't see an easy way to fix this.

Hiroshi, what do you think?

Rainer

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match