summaryrefslogtreecommitdiffstats
path: root/core/java/android/database/CharArrayBuffer.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-03-21 17:24:05 -0700
committerJeff Brown <jeffbrown@google.com>2012-03-21 18:08:09 -0700
commite67ca420e4eb6ddf8ceefeb0d9dcc47d9ca189fc (patch)
treed8d0206806fc245148ac7cf12ad3c8f7312f1d09 /core/java/android/database/CharArrayBuffer.java
parent3e6792232aa0ce3e650eaa03529c9eb2fe023ca9 (diff)
downloadframeworks_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/CharArrayBuffer.java')
0 files changed, 0 insertions, 0 deletions