pgsql: Improve implementation of EEOP_BOOLTEST_* opcodes.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve implementation of EEOP_BOOLTEST_* opcodes.
Дата
Msg-id E1csEHj-0001xb-Ap@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve implementation of EEOP_BOOLTEST_* opcodes.

Both Andres and I were happy with "*op->resvalue = *op->resvalue;",
but Coverity isn't; and it has a point, because some compilers might
not be smart enough to elide that.  So remove it.  In passing, also
avoid doing unnecessary assignments to *op->resnull when it's already
known to have the right value.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d77f014efa7eda4357fbc851dbf25c6b256ddf35

Modified Files
--------------
src/backend/executor/execExprInterp.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Fix oldhtml/old PDF build
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix unportable disregard of alignment requirements in RADIUScod