FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.2k stars 206 forks source link

Fix wrong assert throw on validation #7741

Closed TreeHunter9 closed 9 months ago

TreeHunter9 commented 9 months ago

It can be thrown by lastUsedPage(), when it trying to fetch incorrect page number of PIP.

I wrote @hvlad about this and gave him a sql script that can reproduce this assert throw. He gave an example of how it can be fixed, and i think it works correctly now.