• R/O
  • SSH

execsql: コミット

Default repository for execsql.py


コミットメタ情報

リビジョン4b47425d9c639f60d0f2251c02c733ded05d945a (tree)
日時2020-02-16 23:42:31
作者Dreas Nielsen <dreas.nielsen@gmai...>
コミッターDreas Nielsen

ログメッセージ

Modified documentation.

変更サマリ

差分

diff -r 35837f515a0f -r 4b47425d9c63 .hgignore
--- a/.hgignore Sat Feb 15 18:56:23 2020 -0800
+++ b/.hgignore Sun Feb 16 06:42:31 2020 -0800
@@ -65,6 +65,8 @@
6565 lexer_parser/_reference.mkd
6666 lexer_parser/logical_eval.py
6767 lexer_parser/logical_grammar.txt
68+templates/execsql.log
69+templates/junk.db
6870 *~
6971 .directory
7072 *.pyc
diff -r 35837f515a0f -r 4b47425d9c63 doc/source/metacommands.rst
--- a/doc/source/metacommands.rst Sat Feb 15 18:56:23 2020 -0800
+++ b/doc/source/metacommands.rst Sun Feb 16 06:42:31 2020 -0800
@@ -202,7 +202,7 @@
202202
203203 .. _batch:
204204
205-BATCH
205+BEGIN BATCH and END BATCH
206206 ------------------------------
207207
208208 ::
diff -r 35837f515a0f -r 4b47425d9c63 templates/config_settings.sqlite
Binary file templates/config_settings.sqlite has changed
diff -r 35837f515a0f -r 4b47425d9c63 templates/example_config_prompt.sql
--- a/templates/example_config_prompt.sql Sat Feb 15 18:56:23 2020 -0800
+++ b/templates/example_config_prompt.sql Sun Feb 16 06:42:31 2020 -0800
@@ -22,7 +22,7 @@
2222 -- or use the CONNECT metacommand to connect to that database
2323 -- yourself with an alias of "config_db".
2424 -- c. Possibly change the 'usage' argument for the 'prompt_config"
25--- script to be "Import" or "Export" instead of "All."
25+-- script to be "Import", "Export", or "AllButDAO" instead of "All."
2626 --
2727 -- AUTHOR
2828 -- Dreas Nielsen (RDN)
@@ -31,6 +31,7 @@
3131 -- Date Remarks
3232 -- ---------- -----------------------------------------------------
3333 -- 2020-02-15 Created. RDN.
34+-- 2020-02-16 Modified documentation. RDN.
3435 -- ==================================================================
3536
3637
@@ -70,7 +71,7 @@
7071 -- Argument
7172 -- usage : Values of the 'usage' column in the 'configusage'
7273 -- table of the configuration settings database.
73--- This should be 'All', 'Import', or 'Export'.
74+-- This should be 'All', 'AllButDAO', 'Import', or 'Export'.
7475 -- Other values may be used if they have been added
7576 -- to the 'configusage' table
7677 --
diff -r 35837f515a0f -r 4b47425d9c63 templates/make_config_db.sql
--- a/templates/make_config_db.sql Sat Feb 15 18:56:23 2020 -0800
+++ b/templates/make_config_db.sql Sun Feb 16 06:42:31 2020 -0800
@@ -77,16 +77,30 @@
7777 ('All', '~boolean_int'),
7878 ('All', '~boolean_words'),
7979 ('All', '~clean_col_hdrs'),
80+ ('All', '~import_common'),
8081 ('All', '~empty_strings'),
8182 ('All', '~empty_rows'),
82- ('All', '~import_common'),
8383 ('All', '~console_wait_done'),
8484 ('All', '~console_wait_err'),
8585 ('All', '~log_write'),
86+ ('All', '~make_dirs'),
8687 ('All', '~quote_all'),
8788 ('All', '~write_warnings'),
8889 ('All', '~dao_flush'),
8990
91+ ('AllButDAO', '~boolean_int'),
92+ ('AllButDAO', '~boolean_words'),
93+ ('AllButDAO', '~clean_col_hdrs'),
94+ ('AllButDAO', '~import_common'),
95+ ('AllButDAO', '~empty_strings'),
96+ ('AllButDAO', '~empty_rows'),
97+ ('AllButDAO', '~console_wait_done'),
98+ ('AllButDAO', '~console_wait_err'),
99+ ('AllButDAO', '~log_write'),
100+ ('AllButDAO', '~make_dirs'),
101+ ('AllButDAO', '~quote_all'),
102+ ('AllButDAO', '~write_warnings'),
103+
90104 ('Import', '~boolean_int'),
91105 ('Import', '~boolean_words'),
92106 ('Import', '~clean_col_hdrs'),
@@ -106,6 +120,14 @@
106120 where
107121 usage = 'All';
108122
123+drop view if exists allbutdao_config;
124+create view allbutdao_config as
125+select cs.*
126+from configspecs cs inner join configusage cu
127+ on cu.sub_var = cs.sub_var
128+where
129+ usage = 'AllButDAO';
130+
109131 drop view if exists import_config;
110132 create view import_config as
111133 select cs.*
旧リポジトリブラウザで表示