1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Test case fix:

Don't connect with anonymous user, since mtr doesn't run with
unix_sockets by default.
This commit is contained in:
Georg Richter
2024-12-20 12:02:35 +01:00
parent 6bf9557d00
commit 5485acd470

View File

@@ -1981,8 +1981,8 @@ static int test_conc748(MYSQL *my __attribute__((unused)))
mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL); mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL);
mysql_optionsv(mysql, MYSQL_OPT_SSL_CIPHER, ciphers[i]); mysql_optionsv(mysql, MYSQL_OPT_SSL_CIPHER, ciphers[i]);
if (!my_test_connect(mysql, hostname, NULL, if (!my_test_connect(mysql, hostname, username,
NULL, schema, port, socketname, 0)) password, schema, port, socketname, 0))
{ {
diag("error: %s", mysql_error(mysql)); diag("error: %s", mysql_error(mysql));
return FAIL; return FAIL;