>>>>> "DZ" == Dim Zegebart <zager@stripped> writes:
I don't think this is the problem. We had this issue resolved with
the BSD/OS port was done. BSD/OS uses an off_t which is 64 bits, and
MySQL does handle that properly internally.
DZ> Darrell Shifflett wrote:
>> Dim, i am not even running files of db's larger than Linux can handle.
>> Thats not the problem.
DZ> The same thing for me too.
DZ> But fseeko/ftello uses 'offset' arguments which is off_t type
DZ> Unfortunately, I don't know the sizeof(off_t)
DZ> But if sizeof(off_t)>sizeof(long int), I may imagine what size of some internal
DZ> MySQL's variable is smaller than sizeof(off_t), so trivial conversion may lead to
DZ> some unexpected result:
DZ> long int off1;
DZ> off_t off2;
DZ> off2=ftello(...);
DZ> off1=off2;
DZ> ...
DZ> off2=off1; //probably this isn't '=' exactly, may be some bit-math.
DZ> // But greatest bits of off2 may be garbled since sizeof(off1)<sizeof(off2)
DZ> fseek(off2); //lead to error
DZ> This just my guessing
DZ> --
DZ> Dim Zegebart
DZ> Moscow, Russia
DZ> ---------------------------------------------------------------------
DZ> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
DZ> posting. To request this thread, e-mail mysql-thread4260@stripped
DZ> To unsubscribe, send a message to the address shown in the
DZ> List-Unsubscribe header of this message. If you cannot see it,
DZ> e-mail mysql-unsubscribe@stripped instead.