Skip to content

Commit 2802916

Browse files
added changeset
1 parent abc5b90 commit 2802916

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/funny-guests-walk.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@journeyapps/react-native-quick-sqlite': patch
3+
---
4+
5+
Fixed: Missing dependency for `uuid` and race condition where ommitting `await` on some lock/transaction operations could deadlock the application's main thread.

tests/tests/sqlite/rawQueries.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export function registerBaseTests() {
193193

194194
await db.writeTransaction(async (tx) => {
195195
await tx.execute('INSERT INTO "User" (id, name, age, networth) VALUES(?, ?, ?, ?)', [id, name, age, networth]);
196-
// Purposely forget await this.
196+
// Purposely forget await to this.
197197
tx.rollback();
198198
});
199199

0 commit comments

Comments
 (0)