fix bug #571
This commit is contained in:
parent
40e97536d1
commit
5227c73277
|
@ -236,6 +236,7 @@ create_table_args(A) ::= AS select(S). {
|
||||||
|
|
||||||
%type column{TAOS_FIELD}
|
%type column{TAOS_FIELD}
|
||||||
%type columnlist{tFieldList*}
|
%type columnlist{tFieldList*}
|
||||||
|
%destructor columnlist {tFieldListDestroy($$);}
|
||||||
columnlist(A) ::= columnlist(X) COMMA column(Y). {A = tFieldListAppend(X, &Y); }
|
columnlist(A) ::= columnlist(X) COMMA column(Y). {A = tFieldListAppend(X, &Y); }
|
||||||
columnlist(A) ::= column(X). {A = tFieldListAppend(NULL, &X);}
|
columnlist(A) ::= column(X). {A = tFieldListAppend(NULL, &X);}
|
||||||
|
|
||||||
|
|
|
@ -1004,6 +1004,11 @@ static void yy_destructor(
|
||||||
case 235: /* grouplist */
|
case 235: /* grouplist */
|
||||||
{
|
{
|
||||||
tVariantListDestroy((yypminor->yy216));
|
tVariantListDestroy((yypminor->yy216));
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 213: /* columnlist */
|
||||||
|
{
|
||||||
|
tFieldListDestroy((yypminor->yy151));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 214: /* select */
|
case 214: /* select */
|
||||||
|
|
Loading…
Reference in New Issue