Commit 2ad20b5
Support temporary databases with no file name (xerial#396)
When no database is specified, SQLite is supposed to create a temporary
database, i.e. residing in memory but able to be flushed to disk under
memory pressure.
Actually, the driver forces SQLite to open an in-memory database
instead. These databases cannot be flushed to disk and might come out of
memory.1 parent e87979d commit 2ad20b5Copy full SHA for 2ad20b5
2 files changed
+2-3Lines changed: 2 additions & 3 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/main/java/org/sqlite
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/main/java/org/sqlite/JDBC.java
Copy file name to clipboardExpand all lines: src/main/java/org/sqlite/JDBC.java+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
96 | 96 | |
97 | 97 | |
98 | 98 | |
99 | | - |
100 | | - |
| 99 | + |
101 | 100 | |
102 | 101 | |
103 | 102 | |
|
Collapse file
src/main/java/org/sqlite/SQLiteConnection.java
Copy file name to clipboardExpand all lines: src/main/java/org/sqlite/SQLiteConnection.java+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
181 | 181 | |
182 | 182 | |
183 | 183 | |
184 | | - |
| 184 | + |
185 | 185 | |
186 | 186 | |
187 | 187 | |
|
0 commit comments