From 25cb89f07af9553a3b8ffbd001fed9455a0b7c80 Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 17 Feb 2011 20:42:53 +0000 Subject: Add check function for when a connection is finished with, but you don't want to close it Use prepared statements only for modifications, use fetch instead for selects (doesn't load an entire record set) Support varchar oid --- libdbpp/connection.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libdbpp/connection.h b/libdbpp/connection.h index b350842..2db5adb 100644 --- a/libdbpp/connection.h +++ b/libdbpp/connection.h @@ -20,6 +20,7 @@ namespace DB { public: virtual ~Connection(); + virtual void finish() const = 0; virtual int beginTx() const = 0; virtual int commitTx() const = 0; virtual int rollbackTx() const = 0; -- cgit v1.2.3