remove sub query
This commit is contained in:
parent
49c70a8489
commit
6797620879
|
@ -212,6 +212,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define TK_SPACE 300
|
#define TK_SPACE 300
|
||||||
#define TK_COMMENT 301
|
#define TK_COMMENT 301
|
||||||
#define TK_ILLEGAL 302
|
#define TK_ILLEGAL 302
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "qSqlparser.h"
|
#include "qSqlparser.h"
|
||||||
#include "tcmdtype.h"
|
#include "tcmdtype.h"
|
||||||
#include "tstoken.h"
|
#include "ttoken.h"
|
||||||
#include "ttokendef.h"
|
#include "ttokendef.h"
|
||||||
#include "tutil.h"
|
#include "tutil.h"
|
||||||
#include "tvariant.h"
|
#include "tvariant.h"
|
||||||
|
@ -507,7 +507,6 @@ distinct(X) ::= . { X.n = 0;}
|
||||||
// A complete FROM clause.
|
// A complete FROM clause.
|
||||||
%type from {SFromInfo*}
|
%type from {SFromInfo*}
|
||||||
from(A) ::= FROM tablelist(X). {A = X;}
|
from(A) ::= FROM tablelist(X). {A = X;}
|
||||||
from(A) ::= FROM LP union(Y) RP. {A = Y;}
|
|
||||||
|
|
||||||
%type tablelist {SArray*}
|
%type tablelist {SArray*}
|
||||||
tablelist(A) ::= ids(X) cpxName(Y). {
|
tablelist(A) ::= ids(X) cpxName(Y). {
|
||||||
|
|
1193
src/query/src/sql.c
1193
src/query/src/sql.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue