mirror of
https://github.com/mariadb-corporation/mariadb-connector-cpp.git
synced 2025-08-15 20:45:46 +00:00
Added one more testsuite to ctest(connection)
Added queryTimeout init by the respective constructor and changed its check to > 0 from !=0
This commit is contained in:
@ -85,6 +85,7 @@ ADD_TEST(compliance cjportedtests)
|
||||
ADD_TEST(test_parametermetadata parametermetadata)
|
||||
ADD_TEST(test_preparedstatement preparedstatement)
|
||||
ADD_TEST(test_resultsetmetadata resultsetmetadata)
|
||||
ADD_TEST(test_connection connection)
|
||||
|
||||
SET_TESTS_PROPERTIES(test_preparedstatement PROPERTIES TIMEOUT 120 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
# With remote SkySQL server, compliance tend to timeout
|
||||
|
@ -3135,7 +3135,8 @@ void connection::cached_sha2_auth()
|
||||
|
||||
logMsg("connection::auth - MYSQL_OPT_GET_SERVER_PUBLIC_KEY");
|
||||
|
||||
if (getMySQLVersion(con) < 80000)
|
||||
int serverVersion= getMySQLVersion(con);
|
||||
if (serverVersion < 80000 || serverVersion > 100000)
|
||||
{
|
||||
SKIP("Server doesn't support caching_sha2_password");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user