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
fix unit test conc336 to pass in mtr
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "my_test.h"
|
#include "my_test.h"
|
||||||
|
|
||||||
#define MAX_COUNT 4000
|
#define MAX_COUNT 2000
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) {
|
|||||||
return 1;
|
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));
|
diag("mysql_real_connect failed: %s", mysql_error(mysql));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user