am d2bec096: Merge "NullPointerException in SQLiteSession"
# By László Dávid # Via Gerrit Code Review (1) and László Dávid (1) * commit 'd2bec0960d04578182905b34795c6895760944dd': NullPointerException in SQLiteSession
This commit is contained in:
@@ -926,7 +926,7 @@ public final class SQLiteSession {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void throwIfNestedTransaction() {
|
private void throwIfNestedTransaction() {
|
||||||
if (mTransactionStack == null && mTransactionStack.mParent != null) {
|
if (hasNestedTransaction()) {
|
||||||
throw new IllegalStateException("Cannot perform this operation because "
|
throw new IllegalStateException("Cannot perform this operation because "
|
||||||
+ "a nested transaction is in progress.");
|
+ "a nested transaction is in progress.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user