diff Framework/PostgreSQL/PostgreSQLStatement.cpp @ 237:35598014f140

refactoring to remove GlobalProperties.cpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Apr 2021 19:09:04 +0200
parents f2b32d31fc99
children 02cd7254c949
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLStatement.cpp	Thu Apr 08 12:00:01 2021 +0200
+++ b/Framework/PostgreSQL/PostgreSQLStatement.cpp	Thu Apr 08 19:09:04 2021 +0200
@@ -201,7 +201,7 @@
       // "Although there is no libpq function for deleting a
       // prepared statement, the SQL DEALLOCATE statement can be
       // used for that purpose."
-      database_.Execute("DEALLOCATE \"" + id_ + "\"");
+      database_.ExecuteMultiLines("DEALLOCATE \"" + id_ + "\"");
     }
 
     id_.clear();