We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da8be3 commit 21fc788Copy full SHA for 21fc788
1 file changed
src/datascript/core.cljc
@@ -520,13 +520,13 @@
520
(let [r (with db tx-data tx-meta')]
521
(reset! *report r)
522
(:db-after r))))
523
- (when skip-store?
524
- (when-some [storage (storage/storage @conn)]
525
- (let [{db :db-after
526
- datoms :tx-data} @*report
527
- settings (set/settings (:eavt db))
528
- *tx-tail (:tx-tail (meta conn))
529
- tx-tail' (swap! *tx-tail conj datoms)]
+ (when-some [storage (storage/storage @conn)]
+ (let [{db :db-after
+ datoms :tx-data} @*report
+ settings (set/settings (:eavt db))
+ *tx-tail (:tx-tail (meta conn))
+ tx-tail' (swap! *tx-tail conj datoms)]
+ (when-not skip-store?
530
(if (> (transduce (map count) + 0 tx-tail') (:branching-factor settings))
531
;; overflow tail
532
(do
0 commit comments