subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1536465 - /subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c
Date Mon, 28 Oct 2013 18:16:13 GMT
Author: philip
Date: Mon Oct 28 18:16:12 2013
New Revision: 1536465

URL: http://svn.apache.org/r1536465
Log:
* subversion/tests/libsvn_subr/sqlite-test.c
  (test_sqlite_reset): Tweak comment.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c?rev=1536465&r1=1536464&r2=1536465&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c Mon Oct 28 18:16:12 2013
@@ -98,7 +98,9 @@ test_sqlite_reset(apr_pool_t *pool)
   SVN_TEST_ASSERT_ERROR(svn_sqlite__step(&have_row, stmt),
                         SVN_ERR_SQLITE_ERROR);
 
-  /* Reset and then the first step can be repeated. */
+  /* The svn_sqlite__step wrapper calls svn_sqlite__reset when step
+     fails so the reset call here is a no-op.  The first step can be
+     repeated. */ 
   SVN_ERR(svn_sqlite__reset(stmt));
   SVN_ERR(svn_sqlite__step(&have_row, stmt));
   SVN_TEST_ASSERT(have_row);



Mime
View raw message