@@ -90,22 +90,20 @@ struct ClientOptions {
90
90
DECLARE_FIELD (connection_recv_timeout, std::chrono::seconds, SetConnectionRecvTimeout, std::chrono::seconds(0 ));
91
91
DECLARE_FIELD (connection_send_timeout, std::chrono::seconds, SetConnectionSendTimeout, std::chrono::seconds(0 ));
92
92
93
- // TODO deprecate setting
94
93
/* * It helps to ease migration of the old codebases, which can't afford to switch
95
94
* to using ColumnLowCardinalityT or ColumnLowCardinality directly,
96
95
* but still want to benefit from smaller on-wire LowCardinality bandwidth footprint.
97
96
*
98
97
* @see LowCardinalitySerializationAdaptor, CreateColumnByType
99
98
*/
99
+ [[deprecated(" Makes implementation of LC(X) harder and code uglier. Will be removed in next major release (3.0) " )]]
100
100
DECLARE_FIELD (backward_compatibility_lowcardinality_as_wrapped_column, bool , SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn, true );
101
101
102
102
/* * Set max size data to compress if compression enabled.
103
103
*
104
- * Allows choosing tradeoff betwen RAM\CPU:
104
+ * Allows choosing tradeoff between RAM\CPU:
105
105
* - Lower value reduces RAM usage, but slightly increases CPU usage.
106
106
* - Higher value increases RAM usage but slightly decreases CPU usage.
107
- *
108
- * Default is 0, use natural implementation-defined chunk size.
109
107
*/
110
108
DECLARE_FIELD (max_compression_chunk_size, unsigned int , SetMaxCompressionChunkSize, 65535 );
111
109
@@ -133,7 +131,7 @@ struct ClientOptions {
133
131
* If no CAs are configured, the server's identity can't be validated, and the Client would err.
134
132
* See https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html
135
133
*/
136
- // / Load deafult CA certificates from deafult locations.
134
+ // / Load default CA certificates from default locations.
137
135
DECLARE_FIELD (use_default_ca_locations, bool , SetUseDefaultCALocations, true );
138
136
// / Path to the CA files to verify server certificate, may be empty.
139
137
DECLARE_FIELD (path_to_ca_files, std::vector<std::string>, SetPathToCAFiles, {});
0 commit comments