Commit Graph

3 Commits

Author SHA1 Message Date
Kevin Michel
8356d44c70
Fix base64Encode returning corrupted data
The "fast" mode of turbo base64 seem to go too fast on small strings,
disabling the AVX2 optimisation for small string fixes the problem.

See the test named 02113_base64encode_trailing_bytes.sql for an example
of a failing case (only applies when running on a CPU with the AVX2
instruction set).

Ref. 15e044269d/turbob64.h (L106-L111)
2021-11-25 15:24:11 +01:00
dankondr
685b4107d2 Add base64Decode MySQL compatibility alias 2021-01-21 23:36:26 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00