Skip to content

Commit 4903959

Browse files
committed
fix previous commit
1 parent 0bec482 commit 4903959

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

objectbox-java/src/main/java/io/objectbox/BoxStore.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ public static String getVersion() {
193193
nativeSetDebugFlags(handle, debugFlags);
194194
debugTxRead = (debugFlags & DebugFlags.LOG_TRANSACTIONS_READ) != 0;
195195
debugTxWrite = (debugFlags & DebugFlags.LOG_TRANSACTIONS_WRITE) != 0;
196+
} else {
197+
debugTxRead = debugTxWrite = false;
196198
}
197199
debugRelations = builder.debugRelations;
198200

0 commit comments

Comments
 (0)