From dce9ac4635ec667a27712ad4b0251c1a2ca5df06 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Dec 2011 12:09:07 +0200 Subject: Detect and mark connection as failed --- odb/pgsql/error.hxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'odb/pgsql/error.hxx') diff --git a/odb/pgsql/error.hxx b/odb/pgsql/error.hxx index 865cf0d..018c5fd 100644 --- a/odb/pgsql/error.hxx +++ b/odb/pgsql/error.hxx @@ -11,17 +11,13 @@ #include #include +#include // connection #include namespace odb { namespace pgsql { - class connection; - - LIBODB_PGSQL_EXPORT void - translate_error (connection&); - // Translate an error condition involving a PGresult*. If r is null, it is // assumed that the error was caused due to a bad connection or a memory // allocation error. -- cgit v1.1