subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1168557 - /subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/bdb/successors-table.c
Date Sun, 11 Sep 2011 11:51:59 GMT
Author: danielsh
Date: Sun Sep 11 11:51:59 2011
New Revision: 1168557

URL: http://svn.apache.org/viewvc?rev=1168557&view=rev
Log:
On the fs-successor-ids branch, add a debug print to the
other FS backend, too.

* subversion/libsvn_fs_base/bdb/successors-table.c
  (svn_fs_bdb__successors_add): Add a debug print, similar to the one FSFS has now.

Modified:
    subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/bdb/successors-table.c

Modified: subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/bdb/successors-table.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/bdb/successors-table.c?rev=1168557&r1=1168556&r2=1168557&view=diff
==============================================================================
--- subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/bdb/successors-table.c
(original)
+++ subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/bdb/successors-table.c
Sun Sep 11 11:51:59 2011
@@ -86,6 +86,10 @@ svn_fs_bdb__successors_add(svn_fs_t *fs,
   base_fs_data_t *bfd = fs->fsap_data;
   DBT query, value;
 
+  SVN_DBG(("BDB successors:\n"));
+  SVN_DBG(("pred: %s\n", node_id));
+  SVN_DBG(("      %s\n", succ_id));
+
   /* Store a new record into the database. */
   svn_fs_base__str_to_dbt(&query, node_id);
   svn_fs_base__str_to_dbt(&value, succ_id);



Mime
View raw message