From 7e23ef2af64da9316191e2b4958cf2d1cfa63434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 5 May 2023 13:40:57 +0200 Subject: [PATCH] Protocol docs: zstd level is missing an if statement --- sql-common/client.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql-common/client.cc b/sql-common/client.cc index f66ffd1baa93..6b0e565c2663 100644 --- a/sql-common/client.cc +++ b/sql-common/client.cc @@ -4895,9 +4895,11 @@ int mysql_get_socket_descriptor(MYSQL *mysql) { Value of the 1st client attribute .. (if more data in length of all key-values, more keys and values parts) } + if capabilities @& ::CLIENT_ZSTD_COMPRESSION_ALGORITHM { @ref a_protocol_type_int1 "int<1>" zstd_compression_level compression level for zstd compression algorithm + } Example