5 Replies Latest reply on May 8, 2014 9:13 PM by userBDBDMS-Oracle

    sqlite3_close and multi process use of BDB

    user12622756

      This is concerning BDB version 5.1.25.

       

      I have reader and writer processes. in my C application that at times need to share the same database.

      I am using sqlite3 with SQL statements for queries and insertions.  When attempting to close the database

      using sqlite3_close() I received busy code (5) and I shall note I was not calling sqlite_finalize( ) before closing.

      Also, I create a separate journal for each process ( i.e. reader has its own journal and writer has its own).

       

      Question is:  does the way I use the shared database, given the BDB version in use, allow for multi-accesses

      to the database?  Or is it not supported?

       

      Thank you.