Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3387

SQLite configuration fails since client application has already configured SQLite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.6.x
    • 1.6.2
    • libsvn_subr
    • None

    Description

      The call to sqlite3_config fails in subversion due to the fact that the calling
      application (Trac) has already initialized SQLite.
      
      I am uncertain as to how this should be managed and thus cannot suggestion a
      reasonable solution.  If possible, the current state for thread-safety of SQLite
      should be queried before setting it.
      
      In the mean-time, I am applying a temporary patch to ignore failure on setting
      the state to multithreaded since my current application usage should hopefully
      not call sqlite3_config(SQLITE_CONFIG_SINGLETHREAD).
      

      Original issue reported by harningt

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: