mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

The nesting level is tracked on the storage connection. The thread safety is ensured by holding a lock while a transaction is being started/commited/rolled back. For these purposes, the sharedDBMutex has been exposed on mozIStorageConnection interface and additional helper methods have been added to the interface as well. Differential Revision: https://phabricator.services.mozilla.com/D106019