diff options
author | randomdan <randomdan@localhost> | 2011-02-17 20:42:53 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-02-17 20:42:53 +0000 |
commit | c5f116af8c044883edf44311173a0c6c017b7d59 (patch) | |
tree | 1ec836764f704d6b39ad52bdddda7fcd35d642f5 /libpqpp/command.h | |
parent | Fixes to compile with all gcc warnings as errors (diff) | |
download | libdbpp-postgresql-c5f116af8c044883edf44311173a0c6c017b7d59.tar.bz2 libdbpp-postgresql-c5f116af8c044883edf44311173a0c6c017b7d59.tar.xz libdbpp-postgresql-c5f116af8c044883edf44311173a0c6c017b7d59.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
Diffstat (limited to 'libpqpp/command.h')
-rw-r--r-- | libpqpp/command.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libpqpp/command.h b/libpqpp/command.h index 697516a..3fb6e24 100644 --- a/libpqpp/command.h +++ b/libpqpp/command.h @@ -29,9 +29,7 @@ namespace PQ { void bindNull(unsigned int); protected: - void prepare() const; const std::string stmntName; - mutable bool prepared; const Connection * c; void paramsAtLeast(unsigned int); |