apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r179570 - /apr/apr-util/trunk/test/testdbd.c
Date Thu, 02 Jun 2005 10:17:20 GMT
Author: jorton
Date: Thu Jun  2 03:17:17 2005
New Revision: 179570

URL: http://svn.apache.org/viewcvs?rev=179570&view=rev
Log:
* test/testdbd.c: Fix compiler warnings; include apr_psprintf
prototype and don't define functions which aren't used.

Modified:
    apr/apr-util/trunk/test/testdbd.c

Modified: apr/apr-util/trunk/test/testdbd.c
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/test/testdbd.c?rev=179570&r1=179569&r2=179570&view=diff
==============================================================================
--- apr/apr-util/trunk/test/testdbd.c (original)
+++ apr/apr-util/trunk/test/testdbd.c Thu Jun  2 03:17:17 2005
@@ -19,6 +19,7 @@
 #include "apu.h"
 #include "apr_pools.h"
 #include "apr_dbd.h"
+#include "apr_strings.h"
 
 static void test_dbd_init(abts_case *tc, void *data)
 {
@@ -29,6 +30,7 @@
     ABTS_ASSERT(tc, "failed to init apr_dbd", rv == APR_SUCCESS);
 }
 
+#if APU_HAVE_SQLITE2 || APU_HAVE_SQLITE3
 static void test_statement(abts_case *tc, apr_dbd_t* handle, 
                            apr_dbd_driver_t* driver, const char* sql)
 {
@@ -157,6 +159,7 @@
     rv = apr_dbd_close(driver, handle);
     ABTS_ASSERT(tc, "failed to close database", rv == APR_SUCCESS);
 }
+#endif
 
 #if APU_HAVE_SQLITE2
 static void test_dbd_sqlite2(abts_case *tc, void *data)



Mime
View raw message