@@ -100,28 +100,34 @@ end -- while
100
100
101
101
fo :write [[
102
102
DROP TABLE IF EXISTS commands_lookup;
103
+ DROP TABLE IF EXISTS dialogs_lookup;
104
+ DROP TABLE IF EXISTS functions_lookup;
105
+ DROP TABLE IF EXISTS general_doc_lookup;
106
+ DROP TABLE IF EXISTS errors_lookup;
107
+ DROP TABLE IF EXISTS lua_functions_lookup;
108
+
109
+ /*
110
+
111
+ -- do this at the client end to save download space
112
+
103
113
CREATE VIRTUAL TABLE commands_lookup USING FTS4(command_name, short_description, description);
104
114
INSERT INTO commands_lookup (command_name, short_description, description) SELECT command_name, short_description, description FROM commands;
105
115
106
- DROP TABLE IF EXISTS dialogs_lookup;
107
116
CREATE VIRTUAL TABLE dialogs_lookup USING FTS4(dialog_name, title, description);
108
117
INSERT INTO dialogs_lookup (dialog_name, title, description) SELECT dialog_name, title, description FROM dialogs;
109
118
110
- DROP TABLE IF EXISTS functions_lookup;
111
119
CREATE VIRTUAL TABLE functions_lookup USING FTS4(name, summary, description, lua_example, lua_notes);
112
120
INSERT INTO functions_lookup (name, summary, description, lua_example, lua_notes) SELECT name, summary, description, lua_example, lua_notes FROM functions;
113
121
114
- DROP TABLE IF EXISTS general_doc_lookup;
115
122
CREATE VIRTUAL TABLE general_doc_lookup USING FTS4(doc_name, title, description);
116
123
INSERT INTO general_doc_lookup (doc_name, title, description) SELECT doc_name, title, description FROM general_doc;
117
124
118
- DROP TABLE IF EXISTS errors_lookup;
119
125
CREATE VIRTUAL TABLE errors_lookup USING FTS4(error_name, error_code, meaning);
120
126
INSERT INTO errors_lookup (error_name, error_code, meaning) SELECT error_name, error_code, meaning FROM errors;
121
127
122
- DROP TABLE IF EXISTS lua_functions_lookup;
123
128
CREATE VIRTUAL TABLE lua_functions_lookup USING FTS4(name, summary, description);
124
129
INSERT INTO lua_functions_lookup (name, summary, description) SELECT name, summary, description FROM lua_functions;
130
+ */
125
131
126
132
DROP TABLE IF EXISTS `tblUnixControl`;
127
133
]]
0 commit comments