subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1412648 - /subversion/trunk/subversion/libsvn_subr/sqlite.c
Date Thu, 22 Nov 2012 19:46:48 GMT
Author: julianfoad
Date: Thu Nov 22 19:46:47 2012
New Revision: 1412648

URL: http://svn.apache.org/viewvc?rev=1412648&view=rev
Log:
State which library error messages come from, for SQLite, in a couple more
places.  A follow-up to r1245738.

* subversion/libsvn_subr/sqlite.c
  (exec_sql2, step_with_expectation): Add 'sqlite:' prefix to error message.

Modified:
    subversion/trunk/subversion/libsvn_subr/sqlite.c

Modified: subversion/trunk/subversion/libsvn_subr/sqlite.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/sqlite.c?rev=1412648&r1=1412647&r2=1412648&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/sqlite.c (original)
+++ subversion/trunk/subversion/libsvn_subr/sqlite.c Thu Nov 22 19:46:47 2012
@@ -168,7 +168,7 @@ exec_sql2(svn_sqlite__db_t *db, const ch
   if (sqlite_err != SQLITE_OK && sqlite_err != ignored_err)
     {
       svn_error_t *err = svn_error_createf(SQLITE_ERROR_CODE(sqlite_err), NULL,
-                                           _("%s, executing statement '%s'"),
+                                           _("sqlite: %s, executing statement '%s'"),
                                            err_msg, sql);
       sqlite3_free(err_msg);
       return err;
@@ -256,8 +256,8 @@ step_with_expectation(svn_sqlite__stmt_t
     return svn_error_create(SVN_ERR_SQLITE_ERROR,
                             svn_sqlite__reset(stmt),
                             expecting_row
-                              ? _("Expected database row missing")
-                              : _("Extra database row found"));
+                              ? _("sqlite: Expected database row missing")
+                              : _("sqlite: Extra database row found"));
 
   return SVN_NO_ERROR;
 }



Mime
View raw message