@@ -90,22 +90,20 @@ struct ClientOptions {
9090 DECLARE_FIELD (connection_recv_timeout, std::chrono::seconds, SetConnectionRecvTimeout, std::chrono::seconds(0 ));
9191 DECLARE_FIELD (connection_send_timeout, std::chrono::seconds, SetConnectionSendTimeout, std::chrono::seconds(0 ));
9292
93- // TODO deprecate setting
9493 /* * It helps to ease migration of the old codebases, which can't afford to switch
9594 * to using ColumnLowCardinalityT or ColumnLowCardinality directly,
9695 * but still want to benefit from smaller on-wire LowCardinality bandwidth footprint.
9796 *
9897 * @see LowCardinalitySerializationAdaptor, CreateColumnByType
9998 */
99+ [[deprecated(" Makes implementation of LC(X) harder and code uglier. Will be removed in next major release (3.0) " )]]
100100 DECLARE_FIELD (backward_compatibility_lowcardinality_as_wrapped_column, bool , SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn, true );
101101
102102 /* * Set max size data to compress if compression enabled.
103103 *
104- * Allows choosing tradeoff betwen RAM\CPU:
104+ * Allows choosing tradeoff between RAM\CPU:
105105 * - Lower value reduces RAM usage, but slightly increases CPU usage.
106106 * - Higher value increases RAM usage but slightly decreases CPU usage.
107- *
108- * Default is 0, use natural implementation-defined chunk size.
109107 */
110108 DECLARE_FIELD (max_compression_chunk_size, unsigned int , SetMaxCompressionChunkSize, 65535 );
111109
@@ -133,7 +131,7 @@ struct ClientOptions {
133131 * If no CAs are configured, the server's identity can't be validated, and the Client would err.
134132 * See https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html
135133 */
136- // / Load deafult CA certificates from deafult locations.
134+ // / Load default CA certificates from default locations.
137135 DECLARE_FIELD (use_default_ca_locations, bool , SetUseDefaultCALocations, true );
138136 // / Path to the CA files to verify server certificate, may be empty.
139137 DECLARE_FIELD (path_to_ca_files, std::vector<std::string>, SetPathToCAFiles, {});
0 commit comments