Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use libmariadb as updated for server redirection, and fix tests
The updated libmariadb parses the `ER_SERVER_REDIRECT` error packets (with the message component formatted as `|Human-readable message|value of SERVER_REDIRECT_TARGET system variable`) and reconnects accordingly. The updated libmariadb also includes fixes for https://jira.mariadb.org/browse/CONC-648 and https://jira.mariadb.org/browse/MDEV-28634 (the latter is indeed a Connector/C issue, despite its categorization in MDEV rather than CONC). Due to the fix for https://jira.mariadb.org/browse/MDEV-28634, the `mariadb` CLI now (correctly!) fails to connect when `mariadb --ssl` is specified, but the server doesn't support SSL. The results of the test `main.ssl_7937` are updated to reflect this. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.
- Loading branch information