pgsql: Fix thinko in new ECPG "PREPARE AS" code.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix thinko in new ECPG "PREPARE AS" code.
Дата
Msg-id E1hUtna-0001qV-ST@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix thinko in new ECPG "PREPARE AS" code.

ecpg_register_prepared_stmt() is pretty obviously checking the wrong
variable while trying to detect malloc failure.  Error in commit
a1dc6ab46, spotted by Coverity.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/331695a4d9ca40864240aca721dc588a206ff395

Modified Files
--------------
src/interfaces/ecpg/ecpglib/prepare.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Fix typos.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix more thinkos in new ECPG "PREPARE AS" code.