/[Apache-SVN]
ViewVC logotype

Revision 875825


Jump to revision: Previous Next
Author: hwright
Date: Mon Feb 9 13:28:30 2009 UTC (15 years, 2 months ago)
Changed paths: 1
Log Message:
Use svn_stomic__init_once() to initialize the sqlite library, to avoid any
race conditions.

Suggested by: rhuijben
(Also mentioned in the comments.)

* subversion/libsvn_subr/sqlite.c
  (sqlite_init_state): New.
  (init_sqlite): Remove internal already-initialized checking.
  (svn_sqlite__get_schema_version, svn_sqlite__open): Update callers to use
    svn_atomic__init_once().


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_subr/sqlite.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26