apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r151454 - in apr/apr-util/trunk: dbd/apr_dbd.c include/apr_dbd.h
Date Sat, 05 Feb 2005 01:04:42 GMT
Author: rooneg
Date: Fri Feb  4 17:04:41 2005
New Revision: 151454

URL: http://svn.apache.org/viewcvs?view=rev&rev=151454
Log:
* include/apr_dbd.h
  (apr_dbd_driver_t): rename transaction to start_transaction, for
   symmetry with end_transaction and apr_dbd_transaction_start.

* dbd/apr_dbd.c
  (apr_dbd_transaction_start): track rename.

Modified:
    apr/apr-util/trunk/dbd/apr_dbd.c
    apr/apr-util/trunk/include/apr_dbd.h

Modified: apr/apr-util/trunk/dbd/apr_dbd.c
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/dbd/apr_dbd.c?view=diff&r1=151453&r2=151454
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd.c Fri Feb  4 17:04:41 2005
@@ -155,7 +155,7 @@
                                            apr_pool_t *pool, apr_dbd_t *handle,
                                            apr_dbd_transaction **trans)
 {
-    int ret = driver->transaction(pool, handle, trans);
+    int ret = driver->start_transaction(pool, handle, trans);
     if (*trans) {
         apr_pool_cleanup_register(pool, *trans, (void*)driver->end_transaction,
                                   apr_pool_cleanup_null);

Modified: apr/apr-util/trunk/include/apr_dbd.h
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/include/apr_dbd.h?view=diff&r1=151453&r2=151454
==============================================================================
--- apr/apr-util/trunk/include/apr_dbd.h (original)
+++ apr/apr-util/trunk/include/apr_dbd.h Fri Feb  4 17:04:41 2005
@@ -101,8 +101,8 @@
      *  @param transaction - ptr to a transaction.  May be null on entry
      *  @return 0 for success or error code
      */
-    int (*transaction)(apr_pool_t *pool, apr_dbd_t *handle,
-                       apr_dbd_transaction **trans);
+    int (*start_transaction)(apr_pool_t *pool, apr_dbd_t *handle,
+                             apr_dbd_transaction **trans);
 
     /** end_transaction: end a transaction
      *  (commit on success, rollback on error).



Mime
View raw message