summaryrefslogtreecommitdiff
path: root/sql/gen_lex_hash.cc
diff options
context:
space:
mode:
authorjcole@tetra.spaceapes.com <>2001-03-12 18:16:30 -0600
committerjcole@tetra.spaceapes.com <>2001-03-12 18:16:30 -0600
commita855617f36d86706498358e30d7862d4ca42d652 (patch)
tree873907f6d77f9c15af35e496f4d8ce9d14bf0dcc /sql/gen_lex_hash.cc
parent2505d667c75166067aef0fbbbe33f1e680c87560 (diff)
downloadmariadb-git-a855617f36d86706498358e30d7862d4ca42d652.tar.gz
Added SQL_ANSI_MODE.
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r--sql/gen_lex_hash.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc
index 78ffb266366..ca105257f19 100644
--- a/sql/gen_lex_hash.cc
+++ b/sql/gen_lex_hash.cc
@@ -254,7 +254,7 @@ you have to change 'main' to print out the new function\n");
if (write_warning)
fprintf (stderr,"Fatal error when generating hash for symbols\n\
Didn't find suitable values for perfect hashing:\n\
-You have to edit gen_lex_hase.cc to generate a new hashing function.\n\
+You have to edit gen_lex_hash.cc to generate a new hashing function.\n\
You can try running gen_lex_hash with --search to find a suitable value\n\
Symbol array size = %d\n",function_mod);
return -1;
@@ -472,8 +472,10 @@ int main(int argc,char **argv)
int error;
MY_INIT(argv[0]);
- start_value=5315771L; best_t1=6916833L; best_t2=3813748L; best_type=3; /* mode=5839 add=5 type: 0 */
- if (get_options(argc,(char **) argv))
+ start_value=4934807L; best_t1=5181754L; best_t2=1469522L; best_type=0;
+ /* mode=4999 add=7 type: 0 */
+
+ if (get_options(argc,(char **) argv))
exit(1);
make_max_length_table();