diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-10-05 12:55:42 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-11-27 19:40:46 -0500 |
commit | abe7e7688d045982a28cfb22b8f6269269dd6cf5 (patch) | |
tree | 10f0348dd04a9e11f32f0b5d2b6e3c97505ccb9c /src/doc_reform/io_out/sqlite.d | |
parent | xmls homepage link (diff) |
sqlite related internal naming
Diffstat (limited to 'src/doc_reform/io_out/sqlite.d')
-rw-r--r-- | src/doc_reform/io_out/sqlite.d | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/doc_reform/io_out/sqlite.d b/src/doc_reform/io_out/sqlite.d index b66aa13..cb7b065 100644 --- a/src/doc_reform/io_out/sqlite.d +++ b/src/doc_reform/io_out/sqlite.d @@ -1548,13 +1548,13 @@ template SQLiteTablesCreate() { } if (opt_action.sqlite_db_create) { string _db_statement; - string db_filename = (opt_action.sqlite_filename.length > 0) - ? opt_action.sqlite_filename + string db_filename = (opt_action.sqliteDB_filename.length > 0) + ? opt_action.sqliteDB_filename : (config.conf.w_srv_db_sqlite_filename.length > 0) ? config.conf.w_srv_db_sqlite_filename : ""; - string db_path = (opt_action.output_dir_set.length > 0) - ? opt_action.output_dir_set + string db_path = (opt_action.sqliteDB_path.length > 0) + ? opt_action.sqliteDB_path : (config.conf.w_srv_db_sqlite_path.length > 0) ? config.conf.w_srv_db_sqlite_path : ""; @@ -1581,13 +1581,13 @@ template SQLiteDbDrop() { void SQLiteDbDrop(O,C)(O opt_action, C config) { writeln("db drop"); if ((opt_action.sqlite_db_drop)) { - string db_filename = (opt_action.sqlite_filename.length > 0) - ? opt_action.sqlite_filename + string db_filename = (opt_action.sqliteDB_filename.length > 0) + ? opt_action.sqliteDB_filename : (config.conf.w_srv_db_sqlite_filename.length > 0) ? config.conf.w_srv_db_sqlite_filename : ""; - string db_path = (opt_action.sqlite_db_path.length > 0) // - ? opt_action.sqlite_db_path + string db_path = (opt_action.sqliteDB_path.length > 0) // + ? opt_action.sqliteDB_path : (config.conf.w_srv_db_sqlite_path.length > 0) ? config.conf.w_srv_db_sqlite_path : ""; |