Commit f7b28c2
hideki
Applied Serialized mode instead of Multi-Thread mode to SQLite Connection mode.
https://www.sqlite.org/threadsafe.html
Serialized. In serialized mode, SQLite can be safely used by multiple threads with no restriction.
By applying Serialized mode, [SQLiteDatabaseCorruptException: database disk image is malformed](https://github.com/couchbase/couchbase-lite-android/issues/985) could be fixed.1 parent fca8b84 commit f7b28c2
1 file changed
Lines changed: 9 additions & 8 deletions
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 101 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments