aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_sqlite.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-21 12:48:35 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-21 14:05:24 -0500
commit8757dfd0fd175698b2bdf61ae49875080b8e1612 (patch)
treef3afdbc0bfb2902b4ba826e90e67c7cac1641307 /org/out_sqlite.org
parentcgi search housekeeping, sync & remove redundancy (diff)
debug flags, narrow purpose
Diffstat (limited to 'org/out_sqlite.org')
-rw-r--r--org/out_sqlite.org38
1 files changed, 19 insertions, 19 deletions
diff --git a/org/out_sqlite.org b/org/out_sqlite.org
index 36c0efd..d5fbe7b 100644
--- a/org/out_sqlite.org
+++ b/org/out_sqlite.org
@@ -158,7 +158,7 @@ template SQLiteDbRun() {
writeln("ERROR SQLite : ", ex);
}
{ /+ debug +/
- if (opt_action.debug_do
+ if (opt_action.debug_do_sqlite
&& opt_action.verbose) {
writeln(note);
if (opt_action.very_verbose) {
@@ -519,7 +519,7 @@ string generic_munge_sanitize_text_for_search(
_txt ~= _urls;
}
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(_txt, "\n");
}
@@ -576,7 +576,7 @@ string munge_html(M,O)(
string _urls;
string _txt = _html_font_face(_html_special_characters(obj.text));
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(_txt, "\n");
}
@@ -1205,7 +1205,7 @@ string[string] heading(M,O)(
"html": html_heading(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1234,7 +1234,7 @@ string[string] para(M,O)(
"html": html_para(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1263,7 +1263,7 @@ string[string] quote(M,O)(
"html": html_quote(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1291,7 +1291,7 @@ string[string] group(M,O)(
"html": html_group(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1320,7 +1320,7 @@ string[string] block(M,O)(
"html": html_block(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1349,7 +1349,7 @@ string[string] verse(M,O)(
"html": html_verse(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1378,7 +1378,7 @@ string[string] code(M,O)(
"html": html_code(obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1407,7 +1407,7 @@ string[string] table(M,O)(
"html": html_table(doc_matters, obj)
];
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
debug(sql_txt) {
writeln(obj_txt["text"]);
@@ -1443,7 +1443,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_a);
}
@@ -1453,7 +1453,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_of_type);
}
@@ -1478,7 +1478,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_a);
}
@@ -1510,7 +1510,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_a);
}
@@ -1520,7 +1520,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_of_type);
}
@@ -1550,7 +1550,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_a);
}
@@ -1560,7 +1560,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_of_type);
}
@@ -1572,7 +1572,7 @@ foreach (part; doc_matters.has.keys_seq.sql) {
break;
default:
{ /+ debug +/
- if (doc_matters.opt.action.debug_do
+ if (doc_matters.opt.action.debug_do_sqlite
&& doc_matters.opt.action.verbose) {
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_of_part); // check where empty value could come from
writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_a);