feat: auto tab fix udf_language1
This commit is contained in:
parent
a52af4a07e
commit
11be6c6f85
|
@ -84,8 +84,7 @@ SWords shellCommands[] = {
|
||||||
{"create table <anyword> using <stb_name> tags(", 0, 0, NULL},
|
{"create table <anyword> using <stb_name> tags(", 0, 0, NULL},
|
||||||
{"create database <anyword> <db_options> <anyword> <db_options> <anyword> <db_options> <anyword> <db_options> "
|
{"create database <anyword> <db_options> <anyword> <db_options> <anyword> <db_options> <anyword> <db_options> "
|
||||||
"<anyword> <db_options> <anyword> <db_options> <anyword> <db_options> <anyword> <db_options> <anyword> "
|
"<anyword> <db_options> <anyword> <db_options> <anyword> <db_options> <anyword> <db_options> <anyword> "
|
||||||
"<db_options> <anyword> <db_options> <anyword> ;",
|
"<db_options> <anyword> <db_options> <anyword> ;", 0, 0, NULL},
|
||||||
0, 0, NULL},
|
|
||||||
{"create dnode <anyword>", 0, 0, NULL},
|
{"create dnode <anyword>", 0, 0, NULL},
|
||||||
{"create index <anyword> on <stb_name> ()", 0, 0, NULL},
|
{"create index <anyword> on <stb_name> ()", 0, 0, NULL},
|
||||||
{"create mnode on dnode <dnode_id> ;", 0, 0, NULL},
|
{"create mnode on dnode <dnode_id> ;", 0, 0, NULL},
|
||||||
|
@ -109,7 +108,7 @@ SWords shellCommands[] = {
|
||||||
{"drop function <udf_name> ;", 0, 0, NULL},
|
{"drop function <udf_name> ;", 0, 0, NULL},
|
||||||
{"drop consumer group <anyword> on ", 0, 0, NULL},
|
{"drop consumer group <anyword> on ", 0, 0, NULL},
|
||||||
{"drop topic <topic_name> ;", 0, 0, NULL},
|
{"drop topic <topic_name> ;", 0, 0, NULL},
|
||||||
{"drop stream <stream_name> ;", 0,
|
{"drop stream <stream_name> ;", 0, NULL},
|
||||||
{"explain select", 0, 0, NULL}, // 44 append sub sql
|
{"explain select", 0, 0, NULL}, // 44 append sub sql
|
||||||
{"flush database <db_name> ;", 0, 0, NULL},
|
{"flush database <db_name> ;", 0, 0, NULL},
|
||||||
{"help;", 0, 0, NULL},
|
{"help;", 0, 0, NULL},
|
||||||
|
@ -329,7 +328,7 @@ TdThread* threads[WT_FROM_DB_CNT];
|
||||||
char varTypes[WT_VAR_CNT][64] = {
|
char varTypes[WT_VAR_CNT][64] = {
|
||||||
"<db_name>", "<stb_name>", "<tb_name>", "<dnode_id >", "<user_name>", "<topic_name>", "<stream_name>",
|
"<db_name>", "<stb_name>", "<tb_name>", "<dnode_id >", "<user_name>", "<topic_name>", "<stream_name>",
|
||||||
"<udf_name>", "<all_table>", "<function>", "<keyword>", "<tb_actions>", "<db_options>", "<alter_db_options>",
|
"<udf_name>", "<all_table>", "<function>", "<keyword>", "<tb_actions>", "<db_options>", "<alter_db_options>",
|
||||||
"<data_types>", "<key_tags>", "<anyword>", "<tb_options>", "<user_actions>", "<key_select>", "sys_table", "udf_language"};
|
"<data_types>", "<key_tags>", "<anyword>", "<tb_options>", "<user_actions>", "<key_select>", "<sys_table>", "<udf_language>"};
|
||||||
|
|
||||||
char varSqls[WT_FROM_DB_CNT][64] = {"show databases;", "show stables;", "show tables;", "show dnodes;",
|
char varSqls[WT_FROM_DB_CNT][64] = {"show databases;", "show stables;", "show tables;", "show dnodes;",
|
||||||
"show users;", "show topics;", "show streams;", "show functions;"};
|
"show users;", "show topics;", "show streams;", "show functions;"};
|
||||||
|
|
Loading…
Reference in New Issue