On Sunday 09 March 2003 05:04, SUGIOKA Toshinobu wrote:

> I found obvious bug that causes segmentation fault while building
> on sh-linux. Please apply.
>
> Regards,
> SUGIOKA Toshinobu.
>
> --- mysql-3.23.54a.orig/sql/gen_lex_hash.cc     Thu Dec  5 18:37:06 2002
> +++ mysql-3.23.54a/sql/gen_lex_hash.cc  Sun Mar  9 10:13:36 2003
> @@ -274,7 +274,7 @@
>           function_plus,function_mod);
>
>    int *prva= (int*) my_alloca(sizeof(int)*function_mod);
> -  for (i=0 ; i <= function_mod; i++)
> +  for (i=0 ; i < function_mod; i++)
>      prva[i]= max_symbol;
>
>    for (i=0;i<size;i++)

Thank you for the patch! Applied.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





---------------------------------------------------------------------
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