![]() |
Home | Libraries | People | FAQ | More |
Creates a strategy that makes pooled connections use the server's default character set.
staticpool_charset_strategyuse_server_default(character_setcharset) noexcept;
Creates an object with type pool_charset_strategy_type::use_server_default and a server_default_charset equal to
the passed charset.
The passed charset must
equal the server's configured default character set. No runtime check is
performed to verify this assertion. If it does not hold, vulnerabilities
may arise. If unsure, prefer set_to_utf8mb4.
No-throw guarantee.