summaryrefslogtreecommitdiff
path: root/libpqpp/pq-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-06 02:11:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-08 19:33:31 +0000
commite9ecbccaa6547cb067653e7240947a76cc60d8ed (patch)
tree99531b2014984151cf2f3dfc7bdc8ca5e234a600 /libpqpp/pq-connection.h
parentFix bug where prepared statement cache wasn't cleared on connection reset lea... (diff)
downloadlibdbpp-postgresql-e9ecbccaa6547cb067653e7240947a76cc60d8ed.tar.bz2
libdbpp-postgresql-e9ecbccaa6547cb067653e7240947a76cc60d8ed.tar.xz
libdbpp-postgresql-e9ecbccaa6547cb067653e7240947a76cc60d8ed.zip
Use SQL hash for prepared statement names, increases reuse and avoids random reuse
Diffstat (limited to 'libpqpp/pq-connection.h')
-rw-r--r--libpqpp/pq-connection.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h
index 1659c13..bb102df 100644
--- a/libpqpp/pq-connection.h
+++ b/libpqpp/pq-connection.h
@@ -47,8 +47,6 @@ namespace PQ {
private:
static bool checkResultInt(PGresult * res, int expected, int alternative);
-
- mutable unsigned int pstmntNo;
};
typedef boost::shared_ptr<Connection> ConnectionPtr;
}