diff options
author | unknown <peter@linux.local> | 2002-06-11 13:37:48 +0400 |
---|---|---|
committer | unknown <peter@linux.local> | 2002-06-11 13:37:48 +0400 |
commit | b6afdd09dbbfc37085061a421170c0585bb54f0d (patch) | |
tree | b7b63c5072690768a1b6914399e49cc5422ea4ec /sql/item_create.cc | |
parent | 15c99d52a2037d2a3f0b909dacd56aded6802c8b (diff) | |
download | mariadb-git-b6afdd09dbbfc37085061a421170c0585bb54f0d.tar.gz |
This changeset is mostly new version of previous commit modified according
to Monty's code style and optimization comments
client/client_priv.h:
New value for --single-transaction option
client/mysqldump.c:
Add --single-transaction option for consistent dumps
mysql-test/r/func_str.result:
New functions test results
mysql-test/t/func_str.test:
Tests for SHA/AES functions
mysys/Makefile.am:
Extra files require compilation now
sql/item_create.cc:
New functions
sql/item_create.h:
New functions
sql/item_strfunc.cc:
Implementation of SHA/AES_ENCRYPT/AES_DECRYPT
sql/item_strfunc.h:
Required class definition
sql/lex.h:
Add symbols for implemented functions
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r-- | sql/item_create.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc index 6f64e9517ba..61e82b664ff 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -32,6 +32,16 @@ Item *create_func_acos(Item* a) return new Item_func_acos(a); } +Item *create_func_aes_encrypt(Item* a, Item* b) +{ + return new Item_func_aes_encrypt(a, b); +} + +Item *create_func_aes_decrypt(Item* a, Item* b) +{ + return new Item_func_aes_decrypt(a, b); +} + Item *create_func_ascii(Item* a) { return new Item_func_ascii(a); @@ -327,6 +337,11 @@ Item *create_func_sin(Item* a) return new Item_func_sin(a); } +Item *create_func_sha(Item* a) +{ + return new Item_func_sha(a); +} + Item *create_func_space(Item *a) { return new Item_func_repeat(new Item_string(" ",1),a); |