From c5f116af8c044883edf44311173a0c6c017b7d59 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 --- libpqpp/command.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libpqpp/command.h') 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); -- cgit v1.2.3