You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do?
the mysql required:
Decoding recognizes and ignores newline, carriage return, tab, and space.
the go base64 DecodeString() doesn't ignore tab ,space
What did you expect to see?
in mysql:
select from_base64("YW Jj");
+-----------------------+
| from_base64("YW Jj") |
+-----------------------+
| abc |
+-----------------------+
1 row in set (0.01 sec)
What did you see instead?
in tidb:
select from_base64("YW Jj");
ERROR 1105 (HY000): illegal base64 data at input byte 2
What version of Go are you using (go version)?
go 1.7.3
Please answer these questions before submitting your issue. Thanks!
the mysql required:
Decoding recognizes and ignores newline, carriage return, tab, and space.
the go base64 DecodeString() doesn't ignore tab ,space
What did you expect to see?
in mysql:
select from_base64("YW Jj");
+-----------------------+
| from_base64("YW Jj") |
+-----------------------+
| abc |
+-----------------------+
1 row in set (0.01 sec)
What did you see instead?
in tidb:
select from_base64("YW Jj");
ERROR 1105 (HY000): illegal base64 data at input byte 2
What version of Go are you using (
go version
)?go 1.7.3
**so I fix it -> please refer to the PR
The text was updated successfully, but these errors were encountered: