Menu

#10 last byte missing

open
nobody
None
5
2003-11-18
2003-11-18
No

I had problems with memo fields. Sometimes (in the case
memo field was big?) it didn't dump data properly, it
forgot last byte of each page.

I hacked mdb_memo_to_string() function.

There was
row_stop = fmt->pg_size - 1;
(at the lines 679 and 722)

I changed it to the following:
row_stop = fmt->pg_size;
(at both lines)

And it seems like it works for me. So this is the patch. I
do not know how to make an usefull diff patch, I'm sorry.

I have a mdb 97 format database, I guess it's JET3.

I would suggest to the autor to read this function again
and fix it better, I have no idea if I fixed it correctly. It
works for me but it doesn't mean that it will work for
everyone.

Tomas

Discussion


Log in to post a comment.