diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-10 14:04:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-10 14:04:38 +0200 |
commit | 9138a72ea602a88137fe1eb7e62922b89dc9e754 (patch) | |
tree | 1c7e9749e8e4e43d2e9f35f4d137b4dbe67fdf67 /odb/pgsql/statement.cxx | |
parent | 485ae35a88fe2500574797d7342cfa7585e9e191 (diff) |
Cosmetic/consistency fixes
Diffstat (limited to 'odb/pgsql/statement.cxx')
-rw-r--r-- | odb/pgsql/statement.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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; |