Fix behaviour of fetch() without any data for Firebird

Ensure we don't try doing anything in fetch() if there is no data to
retrieve.
This commit is contained in:
Vadim Zeitlin
2026-02-06 00:49:07 +01:00
parent 06992c2bd0
commit 862cac05b2

View File

@@ -467,6 +467,7 @@ firebird_statement_backend::execute(int number)
else
{
// query can't return any data
endOfRowSet_ = true;
return ef_no_data;
}
}