Blair Zajac wrote on Wed, Jun 29, 2011 at 10:11:21 -0700:
> On 06/29/2011 08:22 AM, danie...@apache.org wrote:
> >Author: danielsh
> >Date: Wed Jun 29 15:22:38 2011
> >New Revision: 1141133
> >
> >URL: http://svn.apache.org/viewvc?rev=1141133&view=rev
> >Log:
> >* subversion/libsvn_subr/sqlite.c
> >   (svn_sqlite__open):
> >     Only enable the workaround when we are compiled against SQLite 3.7.7.x
> >     and earlier.  This should be safe since the version of SQLite at 
> > run-time
> >     cannot be older than the version at compile-time.
> 
> And this is true due to a startup check where svn checks the
> compiled versus runtime version and fails to initialize sqlite?
> 

Yes, according to Peter.

I find this code in init_sqlite(), but I haven't checked that that
function is called from all the places it needs to be called from:

[[[
  if (sqlite3_libversion_number() < SQLITE_VERSION_NUMBER)
    {
      return svn_error_createf(
                    SVN_ERR_SQLITE_ERROR, NULL,
                    _("SQLite compiled for %s, but running with %s"),
                    SQLITE_VERSION, sqlite3_libversion());
    }
]]]

> Blair
> 

Reply via email to