You've already forked mariadb-connector-c
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user