diff options
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; |