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/item_create.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/item_create.cc')
-rw-r--r-- | sql/item_create.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc index 62f09f002d1..e75c7049a74 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -220,9 +220,14 @@ Item *create_func_char_length(Item* a) return new Item_func_char_length(a); } -Item *create_func_log(Item* a) +Item *create_func_ln(Item* a) { - return new Item_func_log(a); + return new Item_func_ln(a); +} + +Item *create_func_log2(Item* a) +{ + return new Item_func_log2(a); } Item *create_func_log10(Item* a) |