freebsd-ports/databases/libzdb/files/patch-test-poolc
Vanilla I. Shu 0305da6e87 Fix build on 4.x.
Submitted by:	kris@ via email.
2006-06-09 02:44:50 +00:00

19 lines
764 B
Text

--- test/pool.c.orig Fri Jun 9 10:12:00 2006
+++ test/pool.c Fri Jun 9 10:12:17 2006
@@ -270,7 +270,6 @@
int main(void) {
URL_T url;
char buf[BSIZE];
- ZBDEBUG= TRUE;
char *help= "Please enter a valid database connection URL and press ENTER\n"
"E.g. sqlite:///tmp/sqlite.db?synchronous=off&show_datatypes=off\n"
"E.g. mysql://localhost:3306/test?user=root&password=root\n"
@@ -278,6 +277,8 @@
printf("============> Start Connection Pool Tests\n\n");
printf("This test will create and drop a table called zild_t in the database\n");
printf("%s", help);
+
+ ZBDEBUG= TRUE;
while(fgets(buf, BSIZE, stdin)) {
if(*buf == '.')
break;