diff options
Diffstat (limited to 'app/sql/statement.cc')
-rw-r--r-- | app/sql/statement.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sql/statement.cc b/app/sql/statement.cc index d143524..9f1d85a 100644 --- a/app/sql/statement.cc +++ b/app/sql/statement.cc @@ -176,7 +176,7 @@ double Statement::ColumnDouble(int col) const { std::string Statement::ColumnString(int col) const { if (!is_valid()) { NOTREACHED(); - return 0; + return ""; } const char* str = reinterpret_cast<const char*>( sqlite3_column_text(ref_->stmt(), col)); |