diff options
author | Sinisa@sinisa.nasamreza.org <> | 2003-03-10 17:14:01 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2003-03-10 17:14:01 +0200 |
commit | b1e28b5491d4be58d8a34a187219b774f8511d2a (patch) | |
tree | c459f051d349deac66d6ad24ca3f5bf6c0d05fd3 /sql/gen_lex_hash.cc | |
parent | e3c64d30a5f6e4546deab872b12d1bf3b238125b (diff) | |
download | mariadb-git-b1e28b5491d4be58d8a34a187219b774f8511d2a.tar.gz |
A fix for an obvious bug in hash generating proram.
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r-- | sql/gen_lex_hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc index f94d8dddb59..2be57a49a99 100644 --- a/sql/gen_lex_hash.cc +++ b/sql/gen_lex_hash.cc @@ -274,7 +274,7 @@ void print_arrays() 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++) |