From e8dec6167780dc12a31113df52cfa9b80da9c815 Mon Sep 17 00:00:00 2001 From: brianc Date: Thu, 3 Mar 2011 22:37:19 -0600 Subject: [PATCH] ignore PGRES_EMPTY_QUERY message --- src/binding.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/binding.cc b/src/binding.cc index 752d87f..68e130a 100644 --- a/src/binding.cc +++ b/src/binding.cc @@ -289,7 +289,7 @@ protected: PQclear(result); } Emit(ready_symbol, 0, NULL); - } + } //TODO look at this later PGnotify *notify; @@ -319,6 +319,7 @@ protected: EmitLastError(); break; case PGRES_COMMAND_OK: + case PGRES_EMPTY_QUERY: //do nothing break; default: