comparison 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
comparison
equal deleted inserted replaced
236:d1d2edbbe6fb 237:35598014f140
199 if (id_.size() > 0) 199 if (id_.size() > 0)
200 { 200 {
201 // "Although there is no libpq function for deleting a 201 // "Although there is no libpq function for deleting a
202 // prepared statement, the SQL DEALLOCATE statement can be 202 // prepared statement, the SQL DEALLOCATE statement can be
203 // used for that purpose." 203 // used for that purpose."
204 database_.Execute("DEALLOCATE \"" + id_ + "\""); 204 database_.ExecuteMultiLines("DEALLOCATE \"" + id_ + "\"");
205 } 205 }
206 206
207 id_.clear(); 207 id_.clear();
208 } 208 }
209 209