diff options
author | unknown <peter@mysql.com> | 2002-07-17 12:11:48 +0400 |
---|---|---|
committer | unknown <peter@mysql.com> | 2002-07-17 12:11:48 +0400 |
commit | c78629effba2b232c5afada4b2e839a1580c0ea8 (patch) | |
tree | 34ee74d8b2d1d25c28e7b9895fdc0a9bbd5d04ad /sql/gen_lex_hash.cc | |
parent | 6b3e98d505297e6cbd0cbd22d4f46eacb091d924 (diff) | |
download | mariadb-git-c78629effba2b232c5afada4b2e839a1580c0ea8.tar.gz |
Arjens LOG functions changes with small changes and tests added to mysql-test
Docs/manual.texi:
Manual changes to doccument new functions and function changes
mysql-test/r/func_math.result:
Extend tests for LOG family functions
mysql-test/t/func_math.test:
Extend tests for LOG family functions
sql/gen_lex_hash.cc:
Lex hash changes
sql/item_create.cc:
Rename old log function to ln
sql/item_create.h:
More log functions
sql/item_func.cc:
Implementation of new log function behavior
sql/item_func.h:
Class definition for new functions
sql/lex.h:
Function names
sql/sql_yacc.yy:
Symbols for new LOG function
tests/function.res:
One more test result change
tests/function.tst:
One more test change
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r-- | sql/gen_lex_hash.cc | 8 |
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); |