Hello.
I've already seen issues when Firebird falsely notified about problem with consistency of the database after running query- is it one of such issues?
I ran query on Firebird 2.5.9 Classic Server on Windows with group by and order by and I got Firebird consistency check:
internal Firebird consistency check (EVL_expr: invalid operation (232), file: evl.cpp line: 1220)
I/O error during "GetFileSize" operation for file "XXXX"
Error while trying to access file
Should be everything ok with the database or backup restore is immediately required?
Best regards.