You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ro...@apache.org on 2005/08/11 03:20:28 UTC

svn commit: r231367 - /apr/apr-util/trunk/test/dbd.c

Author: rooneg
Date: Wed Aug 10 18:20:26 2005
New Revision: 231367

URL: http://svn.apache.org/viewcvs?rev=231367&view=rev
Log:
Catch some tests up to apr_dbd API change.

* test/dbd.c
  (test_pselect): use apr_dbd_pvselect instead of accessing the internals
   of the driver struct.
  (test_pquery): use apr_dbd_pquery instead of accessing the internals of
   the driver struct.

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

Modified: apr/apr-util/trunk/test/dbd.c
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/test/dbd.c?rev=231367&r1=231366&r2=231367&view=diff
==============================================================================
--- apr/apr-util/trunk/test/dbd.c (original)
+++ apr/apr-util/trunk/test/dbd.c Wed Aug 10 18:20:26 2005
@@ -284,7 +284,7 @@
                apr_dbd_error(driver, handle, rv));
         return rv;
     }
-    rv = driver->pvselect(pool, handle, &res, statement, 0, "3", NULL);
+    rv = apr_dbd_pvselect(driver, pool, handle, &res, statement, 0, "3", NULL);
     if (rv) {
         printf("Exec of prepared statement failed!\n%s\n",
                apr_dbd_error(driver, handle, rv));
@@ -327,7 +327,7 @@
         return rv;
     }
     apr_dbd_transaction_start(driver, pool, handle, &trans);
-    rv = driver->pvquery(pool, handle, &nrows, statement,
+    rv = apr_dbd_pvquery(driver, pool, handle, &nrows, statement,
                          "prepared", "insert", "2", NULL);
     apr_dbd_transaction_end(driver, pool, trans);
     if (rv) {