Allow asynctest to run without an explicitly specified connection
string. That way it can pick up the connection parameters from the
environment. The run-conntest.sh driver script was already calling it
that way.
Fix the location of the pgbouncer binary in run-conntest.sh.
int i, c;
DbConn *db;
unsigned seed = time(NULL) ^ getpid();
- char *cstr = NULL;
+ char *cstr = "";
int numcon = 50;
#ifdef WIN32
int wsresult;
}
}
- if (!cstr) {
- printf(usage_str);
- return 1;
- }
#ifdef WIN32
wsresult = WSAStartup(MAKEWORD(2,0),&wsaData);
if (wsresult != 0)
createdb conntest
-./pgbouncer -d ctest6000.ini
-./pgbouncer -d ctest7000.ini
+../pgbouncer -d ctest6000.ini
+../pgbouncer -d ctest7000.ini
./asynctest