Skip to content

Commit 4bfe7bb

Browse files
committed
Fix sqlite3_test on Windows
1 parent 242abdd commit 4bfe7bb

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

sqlite3_test/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.1
2+
3+
- Fix writes on Windows.
4+
15
## 0.1.0
26

37
- Initial version.

sqlite3_test/lib/sqlite3_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ final class _TestFile implements VirtualFileSystemFile {
181181
}
182182

183183
_file.unlockSync();
184+
_lockLevel = SqlFileLockingLevels.SQLITE_LOCK_NONE;
184185
if (mode != SqlFileLockingLevels.SQLITE_LOCK_NONE) {
185186
return xLock(mode);
186187
}

sqlite3_test/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sqlite3_test
22
description: Integration of fake clocks and other test utilities for SQLite databases.
3-
version: 0.1.0
3+
version: 0.1.1
44
homepage: https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3_test
55
repository: https://github.com/simolus3/sqlite3.dart
66
topics:

0 commit comments

Comments
 (0)