summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2001-05-23 02:30:17 +0300
committermonty@tik.mysql.fi <>2001-05-23 02:30:17 +0300
commit684082ce79f78d43b7ade6236c8abbe5abd79ce4 (patch)
tree3ae2a5615785a93ea0f5c1af19f6ddb5a0595753 /mysql-test
parentc488a2cdc9d7c0e782eb6948cdeb2a49082c766d (diff)
downloadmariadb-git-684082ce79f78d43b7ade6236c8abbe5abd79ce4.tar.gz
Updated documentation of how to add new native functions.
Small cleanups
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/func_crypt.result4
-rw-r--r--mysql-test/t/func_crypt.test3
2 files changed, 4 insertions, 3 deletions
diff --git a/mysql-test/r/func_crypt.result b/mysql-test/r/func_crypt.result
index 7e0f5f7981d..021989add8d 100644
--- a/mysql-test/r/func_crypt.result
+++ b/mysql-test/r/func_crypt.result
@@ -1,2 +1,2 @@
-encrypt('foo', 'ff')
-ffTU0fyIP09Z.
+length(encrypt('foo', 'ff')) <> 0
+1
diff --git a/mysql-test/t/func_crypt.test b/mysql-test/t/func_crypt.test
index 4a499f3d5b7..ddc0816e301 100644
--- a/mysql-test/t/func_crypt.test
+++ b/mysql-test/t/func_crypt.test
@@ -1 +1,2 @@
-select encrypt('foo', 'ff');
+
+select length(encrypt('foo', 'ff')) <> 0;