diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-03-21 17:24:05 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-03-21 18:08:09 -0700 |
commit | e67ca420e4eb6ddf8ceefeb0d9dcc47d9ca189fc (patch) | |
tree | d8d0206806fc245148ac7cf12ad3c8f7312f1d09 /core/java/android/database/StaleDataException.java | |
parent | 3e6792232aa0ce3e650eaa03529c9eb2fe023ca9 (diff) | |
download | frameworks_base-e67ca420e4eb6ddf8ceefeb0d9dcc47d9ca189fc.zip frameworks_base-e67ca420e4eb6ddf8ceefeb0d9dcc47d9ca189fc.tar.gz frameworks_base-e67ca420e4eb6ddf8ceefeb0d9dcc47d9ca189fc.tar.bz2 |
Throw if WAL enabled/disabled when connections are in use.
Changing WAL mode requires obtaining an exclusive lock on the
database and can only be done when there are NO other active
database connections.
Check that this is really the case, and bail with a useful
error message if an application attempts to change WAL mode while
transactions are in progress.
Expose disableWriteAheadLogging() in the API.
Change-Id: I87599de3b88c53dcd75677aefd72e40de216c2c1
Diffstat (limited to 'core/java/android/database/StaleDataException.java')
0 files changed, 0 insertions, 0 deletions