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

Merge branch '10.3-server' into 3.0

This commit is contained in:
Sergei Golubchik
2018-11-07 00:18:48 +01:00
12 changed files with 117 additions and 136 deletions

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;
}