mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
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:
@@ -467,6 +467,7 @@ firebird_statement_backend::execute(int number)
|
||||
else
|
||||
{
|
||||
// query can't return any data
|
||||
endOfRowSet_ = true;
|
||||
return ef_no_data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user