CONCPP-7 Tls options did not have any effect.

Added new Tls options and removes some, that did not make sense in
C/C++. Added Tls options processing, i.e. fixed the bug.
Added facility to provide aliases for connection options. Renamed many
options and/or added aliases. Added table to README.md with information
about such options.
connect(Properties) now take port property into consideration.
This commit is contained in:
Lawrin Novitsky
2020-05-04 01:51:25 +02:00
parent 7bc285cd5a
commit e5c047e6f7
12 changed files with 379 additions and 248 deletions

View File

@ -3029,6 +3029,12 @@ int run_tests(int argc, const char **argv)
// printf("# ");
try {
if (!conn->isValid(10)) {
printf("\n# ERR: Connection is not valid at %s::%d\n", CPPCONN_FUNC, __LINE__);
printf("not ok\n");
return 1;
}
std::unique_ptr<sql::Statement> stmt(conn->createStatement());
stmt->execute("SHOW ENGINES");
{