summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-17 20:42:53 +0000
committerrandomdan <randomdan@localhost>2011-02-17 20:42:53 +0000
commit25cb89f07af9553a3b8ffbd001fed9455a0b7c80 (patch)
tree6439930732594a3c5565201a311243c873ac6806
parentSupport for table patching in different ways according to what the connector ... (diff)
downloadlibdbpp-25cb89f07af9553a3b8ffbd001fed9455a0b7c80.tar.bz2
libdbpp-25cb89f07af9553a3b8ffbd001fed9455a0b7c80.tar.xz
libdbpp-25cb89f07af9553a3b8ffbd001fed9455a0b7c80.zip
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
-rw-r--r--libdbpp/connection.h1
1 files changed, 1 insertions, 0 deletions
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;