Hi,

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


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