Merge pull request #2389 from taosdata/feature/pyconn
Feature/pyconn fix the token define conflicts
This commit is contained in:
commit
3d67b948a8
|
@ -221,6 +221,16 @@
|
|||
#define TK_INTO 203
|
||||
#define TK_VALUES 204
|
||||
|
||||
|
||||
#define TK_SPACE 300
|
||||
#define TK_COMMENT 301
|
||||
#define TK_ILLEGAL 302
|
||||
#define TK_HEX 303 // hex number 0x123
|
||||
#define TK_OCT 304 // oct number
|
||||
#define TK_BIN 305 // bin format data 0b111
|
||||
#define TK_FILE 306
|
||||
#define TK_QUESTION 307 // denoting the placeholder of "?",when invoking statement bind query
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
// All the keywords of the SQL language are stored in a hash table
|
||||
typedef struct SKeyword {
|
||||
const char* name; // The keyword name
|
||||
uint8_t type; // type
|
||||
uint16_t type; // type
|
||||
uint8_t len; // length
|
||||
} SKeyword;
|
||||
|
||||
|
|
|
@ -24,14 +24,7 @@ extern "C" {
|
|||
#include "tutil.h"
|
||||
#include "ttokendef.h"
|
||||
|
||||
#define TK_SPACE 200
|
||||
#define TK_COMMENT 201
|
||||
#define TK_ILLEGAL 202
|
||||
#define TK_HEX 203 // hex number 0x123
|
||||
#define TK_OCT 204 // oct number
|
||||
#define TK_BIN 205 // bin format data 0b111
|
||||
#define TK_FILE 206
|
||||
#define TK_QUESTION 207 // denoting the placeholder of "?",when invoking statement bind query
|
||||
|
||||
|
||||
#define TSQL_TBNAME "TBNAME"
|
||||
#define TSQL_TBNAME_L "tbname"
|
||||
|
|
Loading…
Reference in New Issue