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 /org/out_sqlite.org | |
parent | xmls homepage link (diff) |
sqlite related internal naming
Diffstat (limited to 'org/out_sqlite.org')
-rw-r--r-- | org/out_sqlite.org | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/org/out_sqlite.org b/org/out_sqlite.org index b01bb1f..1cb9b40 100644 --- a/org/out_sqlite.org +++ b/org/out_sqlite.org @@ -326,13 +326,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 : ""; @@ -365,13 +365,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 : ""; |