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
{{ message }}
Repository navigation
[Bug]: FROM_BASE64 appends zero bytes to valid padded input #28208
FromBase64 allocates base64.StdEncoding.DecodedLen(len(data)), calls Decode, ignores the returned byte count, and appends the entire allocation. For YQ==, capacity is 3 while decoded length is 1.
Activity
fix(function): preserve row-local FROM_BASE64 decoding semantics (#28360
Ariznawlll commentedon Sep 8, 2026
测试环境:MatrixOne 最新 main
f72ca9efbeb3a7c673701e4a135cc6670c33cfde,本地单机服务(MySQL 协议 6001)。测试步骤:
YQ==。测试结果:三类输入均返回实际解码字节
61,未再追加00,空白字符被正确忽略;3/3 结果一致。结论:问题已修复。修复提交 #28360(
f72ca9efbeb)已包含在当前 main;对应 MOTR 用例已加入 PR #147(https://github.com/matrixorigin/motr/pull/147),MOTR 定向运行通过。fix(function): preserve row-local FROM_BASE64 decoding semantics (mat…
fix(function): preserve row-local FROM_BASE64 decoding semantics (mat…
fix(function): preserve row-local FROM_BASE64 decoding semantics (mat…