提交 8286820a 编写于 作者: H Haojun Liao

[td-225]remove unused keywords.

上级 583bbf26
...@@ -197,13 +197,11 @@ ...@@ -197,13 +197,11 @@
#define TK_PREV 178 #define TK_PREV 178
#define TK_LINEAR 179 #define TK_LINEAR 179
#define TK_IMPORT 180 #define TK_IMPORT 180
#define TK_METRIC 181 #define TK_TBNAME 181
#define TK_TBNAME 182 #define TK_JOIN 182
#define TK_JOIN 183 #define TK_INSERT 183
#define TK_METRICS 184 #define TK_INTO 184
#define TK_INSERT 185 #define TK_VALUES 185
#define TK_INTO 186
#define TK_VALUES 187
#define TK_SPACE 300 #define TK_SPACE 300
......
...@@ -206,10 +206,8 @@ static SKeyword keywordTable[] = { ...@@ -206,10 +206,8 @@ static SKeyword keywordTable[] = {
{"PREV", TK_PREV}, {"PREV", TK_PREV},
{"LINEAR", TK_LINEAR}, {"LINEAR", TK_LINEAR},
{"IMPORT", TK_IMPORT}, {"IMPORT", TK_IMPORT},
{"METRIC", TK_METRIC},
{"TBNAME", TK_TBNAME}, {"TBNAME", TK_TBNAME},
{"JOIN", TK_JOIN}, {"JOIN", TK_JOIN},
{"METRICS", TK_METRICS},
{"STABLE", TK_STABLE}, {"STABLE", TK_STABLE},
{"FILE", TK_FILE}, {"FILE", TK_FILE},
{"VNODES", TK_VNODES}, {"VNODES", TK_VNODES},
......
此差异已折叠。
...@@ -126,8 +126,7 @@ $tb_ = table ...@@ -126,8 +126,7 @@ $tb_ = table
$tbs = tables $tbs = tables
$db_ = database $db_ = database
$dbs = databases $dbs = databases
$mt_ = metric $ses = session
$mts = metrics
$int = int $int = int
$bint = bigint $bint = bigint
$binary = binary $binary = binary
...@@ -145,8 +144,7 @@ sql_error create table $mt (ts timestamp, col1 int) tags ( $tb_ int) ...@@ -145,8 +144,7 @@ sql_error create table $mt (ts timestamp, col1 int) tags ( $tb_ int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $tbs int) sql_error create table $mt (ts timestamp, col1 int) tags ( $tbs int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $db_ int) sql_error create table $mt (ts timestamp, col1 int) tags ( $db_ int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $dbs int) sql_error create table $mt (ts timestamp, col1 int) tags ( $dbs int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $mt_ int) sql_error create table $mt (ts timestamp, col1 int) tags ( $ses int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $mts int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $int int) sql_error create table $mt (ts timestamp, col1 int) tags ( $int int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $bint int) sql_error create table $mt (ts timestamp, col1 int) tags ( $bint int)
sql_error create table $mt (ts timestamp, col1 int) tags ( $binary int) sql_error create table $mt (ts timestamp, col1 int) tags ( $binary int)
......
...@@ -90,8 +90,7 @@ $tb_ = table ...@@ -90,8 +90,7 @@ $tb_ = table
$tbs = tables $tbs = tables
$db_ = database $db_ = database
$dbs = databases $dbs = databases
$mt_ = metric $ses = session
$mts = metrics
$int = int $int = int
$bint = bigint $bint = bigint
$binary = binary $binary = binary
...@@ -106,8 +105,7 @@ sql_error create table $tb (ts timestamp, $tb_ int) ...@@ -106,8 +105,7 @@ sql_error create table $tb (ts timestamp, $tb_ int)
sql_error create table $tb (ts timestamp, $tbs int) sql_error create table $tb (ts timestamp, $tbs int)
sql_error create table $tb (ts timestamp, $db_ int) sql_error create table $tb (ts timestamp, $db_ int)
sql_error create table $tb (ts timestamp, $dbs int) sql_error create table $tb (ts timestamp, $dbs int)
sql_error create table $tb (ts timestamp, $mt_ int) sql_error create table $tb (ts timestamp, $ses int)
sql_error create table $tb (ts timestamp, $mts int)
sql_error create table $tb (ts timestamp, $int int) sql_error create table $tb (ts timestamp, $int int)
sql_error create table $tb (ts timestamp, $bint int) sql_error create table $tb (ts timestamp, $bint int)
sql_error create table $tb (ts timestamp, $binary int) sql_error create table $tb (ts timestamp, $binary int)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册