Review the error handling in libpq_bind_and_exec().
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Thu, 22 Jun 2017 03:55:55 +0000 (12:55 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 24 Jun 2017 06:18:05 +0000 (15:18 +0900)
commit8e696e2a78a8440d33e5abe44e82de72e614212d
treec5a65fbbaa35aa7ca62628fce548555f68269cac
parentae12eef5ccb754d1cd9a4f12e8e88e56e0497bc2
Review the error handling in libpq_bind_and_exec().
1. Set the errornumber STMT_NO_MEMORY_ERROR if necessary.
2. There's a code which can forget QueryResults without calling QR_Destructor().
convert.c
statement.c