List:General Discussion« Previous MessageNext Message »
From:Vivek Khera Date:June 1 1999 2:21pm
Subject:Re: Sad story about MySQL RH 6.0 and DEC Alpha
View as plain text  
>>>>> "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.

Thread
Sad story about MySQL RH 6.0 and DEC AlphaDim Zegebart1 Jun
  • Re: Sad story about MySQL RH 6.0 and DEC AlphaDarrell Shifflett1 Jun
    • Re: Sad story about MySQL RH 6.0 and DEC AlphaDim Zegebart1 Jun
      • Re: Sad story about MySQL RH 6.0 and DEC AlphaOrlando Andico1 Jun
        • Re: Sad story about MySQL RH 6.0 and DEC AlphaDim Zegebart1 Jun
          • Re: Sad story about MySQL RH 6.0 and DEC AlphaDarrell Shifflett1 Jun
            • Re: Sad story about MySQL RH 6.0 and DEC AlphaDim Zegebart1 Jun
              • Re: Sad story about MySQL RH 6.0 and DEC AlphaVivek Khera1 Jun
            • Re: Sad story about MySQL RH 6.0 and DEC AlphaRitschie1 Jun
              • Re: Sad story about MySQL RH 6.0 and DEC AlphaOrlando Andico1 Jun
          • Re: Sad story about MySQL RH 6.0 and DEC AlphaOrlando Andico1 Jun
Re: Sad story about MySQL RH 6.0 and DEC AlphaChristopher R. Jones1 Jun
  • My SQL on Redhat Linux 5.0Sajjad Ahmad1 Jun
    • ERROR 1030: Got error 134 from table handler - definitiveanswer ?chas1 Jun
      • ERROR 1030: Got error 134 from table handler - definitiveanswer ?Michael Widenius3 Jun
  • Re: Sad story about MySQL RH 6.0 and DEC AlphaDim Zegebart1 Jun