diff options
Diffstat (limited to 'kexi/kexidb')
-rw-r--r-- | kexi/kexidb/connection.cpp | 2 | ||||
-rw-r--r-- | kexi/kexidb/parser/parser_p.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexidb/connection.cpp b/kexi/kexidb/connection.cpp index dd2eb76b..776285e5 100644 --- a/kexi/kexidb/connection.cpp +++ b/kexi/kexidb/connection.cpp @@ -2938,7 +2938,7 @@ KexiDB::QuerySchema* Connection::setupQuerySchema( const RowData &data ) bool ok = true; const int objID = data[0].toInt(&ok); if (!ok) - return false; + return 0; TQString sqlText; if (!loadDataBlock( objID, sqlText, "sql" )) { setError(ERR_OBJECT_NOT_FOUND, diff --git a/kexi/kexidb/parser/parser_p.cpp b/kexi/kexidb/parser/parser_p.cpp index df4f3323..7c223233 100644 --- a/kexi/kexidb/parser/parser_p.cpp +++ b/kexi/kexidb/parser/parser_p.cpp @@ -585,7 +585,7 @@ QuerySchema* buildSelectQuery( if (!options->whereExpr->validate(parseInfo)) { setError(parseInfo.errMsg, parseInfo.errDescr); CLEANUP; - return false; + return 0; } querySchema->setWhereExpression(options->whereExpr); } |