Permalink
Browse files

Fixed #13 by partially reverting SHA1: 02bb841, so prepared statement…

… is not prematurely deallocated in postgresql_statement_backend::clean_up(). The recent fix for #19 submitted as SHA1: 8c05035 corrects the missing deallocation from destructor. It means, both bugs should have been fixed now.
  • Loading branch information...
mloskot committed Dec 5, 2012
1 parent 8c05035 commit d57b313323e5c2413c2d58ec1f9215592cf17726
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/backends/postgresql/statement.cpp
@@ -54,12 +54,6 @@ void postgresql_statement_backend::clean_up()
{
PQclear(result_);
result_ = NULL;
if (stType_ != st_repeatable_query && statementName_.empty() == false)
{
session_.deallocate_prepared_statement(statementName_);
statementName_.clear();
}
}
}

0 comments on commit d57b313

Please sign in to comment.