Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F5C310EBA for ; Mon, 28 Oct 2013 18:17:12 +0000 (UTC) Received: (qmail 65344 invoked by uid 500); 28 Oct 2013 18:16:40 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 65278 invoked by uid 500); 28 Oct 2013 18:16:36 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 65271 invoked by uid 99); 28 Oct 2013 18:16:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 18:16:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 18:16:34 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 254802388831; Mon, 28 Oct 2013 18:16:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1536465 - /subversion/trunk/subversion/tests/libsvn_subr/sqlite-test.c Date: Mon, 28 Oct 2013 18:16:13 -0000 To: commits@subversion.apache.org From: philip@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131028181613.254802388831@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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);