diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-08-06 01:14:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | 8671dcef8815777bf3fb7d433f57a53dca162a14 (patch) | |
tree | 298bc2a5280a8f0ae286564a44da947dc757494e /src/sdp/output/sqlite.d | |
parent | nested parallelisation, output task scheduler (diff) |
0.27.1 sqlite shared db actions cannot be parallelised
- regressive fix required
Diffstat (limited to 'src/sdp/output/sqlite.d')
-rw-r--r-- | src/sdp/output/sqlite.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdp/output/sqlite.d b/src/sdp/output/sqlite.d index 0221264..82484e5 100644 --- a/src/sdp/output/sqlite.d +++ b/src/sdp/output/sqlite.d @@ -35,7 +35,7 @@ template SQLiteHubBuildTablesAndPopulate() { _db_statement ~= SQLiteDeleteDocument!()(doc_matters); SQLiteDbRun!()(db, _db_statement, doc_matters.opt.action, "DELETE Document"); } - if (doc_matters.opt.action.sqlite_insert || doc_matters.opt.action.sqlite_update) { // sqlite_update is .opt.action sqlite_delete & sqlite_insert (set in sdp) + if (doc_matters.opt.action.sqlite_update) { // sqlite_update is .opt.action sqlite_delete & sqlite_insert (set in sdp) _db_statement ~= SQLiteDeleteDocument!()(doc_matters); SQLiteDbRun!()(db, _db_statement, doc_matters.opt.action, "DELETE Document"); _db_statement ~= SQLiteInsertMetadata!()(doc_matters); |