code: void reconfigure(com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration configuration) {
          mOnlyAllowReadOnlyOperations = false;
  
          // Remember what changed.
          boolean foreignKeyModeChanged = configuration.foreignKeyConstraintsEnabled
                  != mConfiguration.foreignKeyConstraintsEnabled;
          boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags)
                  & com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING) != 0;
  
          // Update configuration parameters.
          mConfiguration.updateParametersFrom(configuration);
  
          // Update foreign key mode.
          if (foreignKeyModeChanged) {
              setForeignKeyModeFromConfiguration();
          }
  
          // Update WAL.
          if (walModeChanged) {
              setWalModeFromConfiguration();
          }
      }
docs: Called by SQLiteConnectionPool only.