docs(rds): clarify zstd IAM DDL passthrough (#8155)

This commit is contained in:
Jimmy Liu Jia authored and GitHub committed 2026-11-12 20:54:16 -04:00
1 parent 83e12f1191
commit 6ef4ad536b
2 files changed
+16 -11

No files matched your search

@@ -11,7 +11,10 @@ import java.util.Arrays;
import java.util.List;
import java.util.zip.InflaterInputStream;
/** Rewrites IAM user DDL without making compressed MySQL clients wait for the next command. */
/**
* Rewrites IAM user DDL for zlib-negotiated clients without waiting for the next command.
* Zstd-negotiated frames pass through unchanged.
*/
final class MySqlCompressedCommandRelay {
private static final int MAX_PACKET_PAYLOAD = 0xFFFFFF;
@@ -283,10 +286,6 @@ final class MySqlCompressedCommandRelay {
return true;
}
private static int skipIgnored(byte[] bytes, int offset) {
return skipIgnored(bytes, offset, bytes.length);
}
private static int skipIgnored(byte[] bytes, int offset, int limit) {
while (offset < limit) {
if (isSqlSpace(bytes[offset])) {