mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
BUG#19459 (BINLOG RBR command does not lock tables correctly causing
crash for, e.g., NDB): Submitting patch to base64_decode() adding extra parameter.
This commit is contained in:
parent
a424aa339e
commit
7b85fb5c13
5 changed files with 54 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue