diff options
author | unknown <serg@serg.mylan> | 2003-07-21 21:13:52 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-07-21 21:13:52 +0200 |
commit | 491cdf396fe45d1246e5ab664e0d4192244f89fd (patch) | |
tree | 08ab35c91c10810c4259f3f0029d0e89f14c2d64 /sql/gen_lex_hash.cc | |
parent | d951272de1585cc3d6303297f4b0d53bf7b233b5 (diff) | |
download | mariadb-git-491cdf396fe45d1246e5ab664e0d4192244f89fd.tar.gz |
gen_lex_hash sigsegv fixed
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r-- | sql/gen_lex_hash.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc index 1c6f124aac7..ae46bcc9ea5 100644 --- a/sql/gen_lex_hash.cc +++ b/sql/gen_lex_hash.cc @@ -89,6 +89,7 @@ static struct my_option my_long_options[] = 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, {"version", 'V', "Output version information and exit", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; struct hash_lex_struct @@ -101,8 +102,8 @@ struct hash_lex_struct }; int ithis; }; - -hash_lex_struct *get_hash_struct_by_len(hash_lex_struct **root_by_len, + +hash_lex_struct *get_hash_struct_by_len(hash_lex_struct **root_by_len, int len, int *max_len) { if (*max_len<len){ |