Hi!

>>>>> "Sasha" == Sasha Pachev <[EMAIL PROTECTED]> writes:

<cut>

Sasha> I do have a patch for it now. From what I understood in the code, this is 
Sasha> actually a more correct way to do things, but I would like to get Monty's 
Sasha> approval to be sure. After the patch, MySQL still passes our test suite, 
Sasha> which is a good sign. So if you are in dire straits, go ahead and apply it, 
Sasha> otherwise, wait until 3.23.34 - if there is something wrong with the current 
Sasha> fix, it will be corrected by then. Here it is:

Sasha> --- 1.33/sql/field.cc   Wed Feb  7 19:43:54 2001
Sasha> +++ 1.34/sql/field.cc   Thu Mar  1 11:49:05 2001
Sasha> @@ -4075,8 +4075,8 @@
Sasha>  const char *Field_blob::unpack(char *to, const char *from)
Sasha>  {
Sasha>    memcpy(to,from,packlength);
Sasha> +  ulong length=get_length(from);
Sasha>    from+=packlength;
Sasha> -  ulong length=get_length();
Sasha>    if (length)
Sasha>      memcpy_fixed(to+packlength, &from, sizeof(from));
Sasha>    else 

Looks ok.  Thanks for fixing this!

Regards,
Monty

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to