From 9138a72ea602a88137fe1eb7e62922b89dc9e754 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 10 Sep 2013 14:04:38 +0200 Subject: Cosmetic/consistency fixes --- odb/pgsql/statement.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'odb/pgsql/statement.cxx') diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx index eea3c39..094aa40 100644 --- a/odb/pgsql/statement.cxx +++ b/odb/pgsql/statement.cxx @@ -187,7 +187,9 @@ namespace odb text_ = text_copy_.c_str (); } - if (empty ()) + // Empty statement. + // + if (*text_ == '\0') { deallocated_ = true; return; -- cgit v1.1