You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2013/10/28 19:16:13 UTC
svn commit: r1536465 -
/subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c
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);