summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2006-10-02 15:05:05 +0200
committerunknown <mats@romeo.(none)>2006-10-02 15:05:05 +0200
commit2d4f71882f69d3cf358f18cd5d878917ffcb4cde (patch)
tree62b9d132849411843dc55238f4f494e86ed7ff28 /unittest
parentee8a1a74e7d9e4e99be25dec4bd1b6fcb3387b21 (diff)
downloadmariadb-git-2d4f71882f69d3cf358f18cd5d878917ffcb4cde.tar.gz
BUG#19459 (BINLOG RBR command does not lock tables correctly causing
crash for, e.g., NDB): Submitting patch to base64_decode() adding extra parameter. include/base64.h: Adding parameter to base64_decode() to return the position just after the string that was decoded. mysys/base64.c: Adding comment to base64_decode(). Adding parameter to base64_decode() to return the position just after the string that was decoded. sql/share/errmsg.txt: Adding error message. storage/ndb/src/mgmapi/mgmapi.cpp: Parameters to base64_decode() changed. unittest/mysys/base64-t.c: Parameters to base64_decode() changed.
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/base64-t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/mysys/base64-t.c b/unittest/mysys/base64-t.c
index 6d85964b20d..ccec0c77086 100644
--- a/unittest/mysys/base64-t.c
+++ b/unittest/mysys/base64-t.c
@@ -54,7 +54,7 @@ main(void)
/* Decode */
dst= (char *) malloc(base64_needed_decoded_length(strlen(str)));
- dst_len= base64_decode(str, strlen(str), dst);
+ dst_len= base64_decode(str, strlen(str), dst, NULL);
ok(dst_len == src_len, "Comparing lengths");
cmp= memcmp(src, dst, src_len);