diff options
author | unknown <mats@romeo.(none)> | 2006-10-02 15:05:05 +0200 |
---|---|---|
committer | unknown <mats@romeo.(none)> | 2006-10-02 15:05:05 +0200 |
commit | 2d4f71882f69d3cf358f18cd5d878917ffcb4cde (patch) | |
tree | 62b9d132849411843dc55238f4f494e86ed7ff28 /include/base64.h | |
parent | ee8a1a74e7d9e4e99be25dec4bd1b6fcb3387b21 (diff) | |
download | mariadb-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 'include/base64.h')
-rw-r--r-- | include/base64.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/base64.h b/include/base64.h index 4653e824a9a..a6bffebfe07 100644 --- a/include/base64.h +++ b/include/base64.h @@ -39,7 +39,8 @@ int base64_encode(const void *src, size_t src_len, char *dst); /* Decode a base64 string into data */ -int base64_decode(const char *src, size_t src_len, void *dst); +int base64_decode(const char *src, size_t src_len, + void *dst, const char **end_ptr); #ifdef __cplusplus |