Avoid multiple evaluation in some macros.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Apr 2013 20:03:11 +0000 (23:03 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Apr 2013 20:03:11 +0000 (23:03 +0300)
commit9be21e28393d490cdf07e7e8a494112a88ed5df5
treef8f75f9f20532b79136fb7619d48a9925abc3aec
parent1bf0f3d78c1789fd2c2275c92fa7330bff72c027
Avoid multiple evaluation in some macros.

There was at least one real bug caused by the multiple evaluation of 2nd
argument to SC_set_result(). SC_pre_execute() passed QR_Constructor() call
as the 2nd argument, so we ended up creating extra result sets that were
leaked.
statement.c
statement.h