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

fix unit test conc336 to pass in mtr

This commit is contained in:
Sergei Golubchik
2018-06-24 20:37:01 +02:00
parent f91518d510
commit 74fbbaefeb

View File

@@ -1,6 +1,6 @@
#include "my_test.h"
#define MAX_COUNT 4000
#define MAX_COUNT 2000
int main(int argc, char *argv[]) {
@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) {
return 1;
}
if (!mysql_real_connect(mysql, hostname, username, password, NULL, port, NULL, 0)) {
if (!mysql_real_connect(mysql, hostname, username, password, schema, port, socketname, 0)) {
diag("mysql_real_connect failed: %s", mysql_error(mysql));
return 1;
}