summaryrefslogtreecommitdiff
path: root/sql/gen_lex_hash.cc
diff options
context:
space:
mode:
authorpeter@mysql.com <>2002-07-17 12:11:48 +0400
committerpeter@mysql.com <>2002-07-17 12:11:48 +0400
commit684bf18e4d35da7ba19e4c714c2fc0a5b62f2489 (patch)
tree34ee74d8b2d1d25c28e7b9895fdc0a9bbd5d04ad /sql/gen_lex_hash.cc
parent373e19dca1d209476a15d7d61cb350361c9d6efa (diff)
downloadmariadb-git-684bf18e4d35da7ba19e4c714c2fc0a5b62f2489.tar.gz
Arjens LOG functions changes with small changes and tests added to mysql-test
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r--sql/gen_lex_hash.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc
index 776b6840b45..c61a75ab880 100644
--- a/sql/gen_lex_hash.cc
+++ b/sql/gen_lex_hash.cc
@@ -74,13 +74,13 @@ static struct my_option my_long_options[] =
{"version", 'V', "Output version information and exit",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"rnd1", 'r', "Set 1 part of rnd value for hash generator",
- (gptr*) &best_t1, (gptr*) &best_t1, 0, GET_ULONG, REQUIRED_ARG, 6657025L,
+ (gptr*) &best_t1, (gptr*) &best_t1, 0, GET_ULONG, REQUIRED_ARG, 5075635L,
0, 0, 0, 0, 0},
{"rnd2", 'R', "Set 2 part of rnd value for hash generator",
- (gptr*) &best_t2, (gptr*) &best_t2, 0, GET_ULONG, REQUIRED_ARG, 6114496L,
+ (gptr*) &best_t2, (gptr*) &best_t2, 0, GET_ULONG, REQUIRED_ARG, 1345933L,
0, 0, 0, 0, 0},
{"type", 't', "Set type of char table to generate",
- (gptr*) &best_type, (gptr*) &best_type, 0, GET_UINT, REQUIRED_ARG, 1, 0, 0,
+ (gptr*) &best_type, (gptr*) &best_type, 0, GET_UINT, REQUIRED_ARG, 4, 0, 0,
0, 0, 0},
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
};
@@ -479,7 +479,7 @@ int main(int argc,char **argv)
MY_INIT(argv[0]);
- start_value=1109118L; /* mode=4903 add=3 type: 0 */
+ start_value=3807640L; /* mode=6971 add=3 type: 0 */
if (get_options(argc,(char **) argv))
exit(1);