Skip to content

Commit 74fb15c

Browse files
committed
Temporary disable transient indices #373
1 parent 5907dd6 commit 74fb15c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# WIP
2+
3+
- Temporary disable transient indices #373
4+
15
# 1.0.2
26

37
- Fixed db diffs with different types of the same attribute #369 #372 thx @darkleaf

src/datascript/db.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@
12981298
(raise "Bad transaction data " initial-es ", expected sequential collection"
12991299
{:error :transact/syntax, :tx-data initial-es}))
13001300
(let [initial-report' (-> initial-report
1301-
(update :db-after transient))
1301+
#_(update :db-after transient))
13021302
has-tuples? (not (empty? (-attrs-by (:db-after initial-report) :db.type/tuple)))
13031303
initial-es' (if has-tuples?
13041304
(interleave initial-es (repeat ::flush-tuples))
@@ -1311,7 +1311,7 @@
13111311
(check-value-tempids)
13121312
(update :tempids assoc :db/current-tx (current-tx report))
13131313
(update :db-after update :max-tx inc)
1314-
(update :db-after persistent!))
1314+
#_(update :db-after persistent!))
13151315

13161316
:let [[entity & entities] es]
13171317

0 commit comments

Comments
 (0)