You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that fdb incorrectly handles with obtaining page content when page number more than 64 K.
Please download this big .fdb (made in recent 2.5.x) :
That said, I dunno why error is not thrown in this case (AFAIU, remaining two bytes should be parsed by the server as next info items and this is unlikely to succeed).
Submitted by: @pavel-zotov
It seems that fdb incorrectly handles with obtaining page content when page number more than 64 K.
Please download this big .fdb (made in recent 2.5.x) :
https://yadi.sk/d/p0BYEF0c3RZtr8
(9 files of .7z format, total size after unpacking will be ~65 Gb).
Page size of this DB = 8192 byte
When i get content of page N 8317600:
...
page_buffer = con.get_page_contents( page_number )
(page_type,) = unpack_from('<b',page_buffer)
...
- it looks like buffer containing 8292 characters with ascii code = 0.
But actually this is pointer page of relation with id = 259 (hex 103).
Here is starting part of this page how it looks in hex editor:
fdd540000 : 0004 3039 0d89 0000 0000 0000 0000 0000
fdd540010 : 0069 0000 ee9e 007f 0780 0103 0009 0000
/* fdd540000 hex == 8317600 dec; 103 hex = 259 dec */
The text was updated successfully, but these errors were encountered: