summaryrefslogtreecommitdiff
path: root/sql/udf_example.c
diff options
context:
space:
mode:
authorVamsikrishna Bhagi <vamsikrishna.bhagi@oracle.com>2014-12-09 16:15:37 +0530
committerVamsikrishna Bhagi <vamsikrishna.bhagi@oracle.com>2014-12-09 16:15:37 +0530
commit12f17f08c7f8c34e1b9c596084539a6147564ec7 (patch)
tree20dde898f87a2980c1009823b660b0b4b636d31f /sql/udf_example.c
parent3e2d879a238607792d5c8cfb8ba808597fa16fbc (diff)
downloadmariadb-git-12f17f08c7f8c34e1b9c596084539a6147564ec7.tar.gz
Bug #19688008 CREATE_ASYMMETRIC_PUB_KEY: CRASHES IN OPENSSL
CODE Fixed a failure on pb2 caused by the patch previously pushed.
Diffstat (limited to 'sql/udf_example.c')
-rw-r--r--sql/udf_example.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/udf_example.c b/sql/udf_example.c
index af625b7ebf0..ccb0cd827f2 100644
--- a/sql/udf_example.c
+++ b/sql/udf_example.c
@@ -300,14 +300,6 @@ char *metaphon(UDF_INIT *initid __attribute__((unused)),
*is_null=1;
return 0;
}
- else
- {
- /*
- A check to confirm that argument length has the value it is
- expected to have.
- */
- assert(strlen(word) == args->lengths[0]);
- }
w_end=word+args->lengths[0];
org_result=result;