提交 5227c732 编写于 作者: H hjliao

fix bug #571

上级 40e97536
......@@ -236,6 +236,7 @@ create_table_args(A) ::= AS select(S). {
%type column{TAOS_FIELD}
%type columnlist{tFieldList*}
%destructor columnlist {tFieldListDestroy($$);}
columnlist(A) ::= columnlist(X) COMMA column(Y). {A = tFieldListAppend(X, &Y); }
columnlist(A) ::= column(X). {A = tFieldListAppend(NULL, &X);}
......
......@@ -1004,6 +1004,11 @@ static void yy_destructor(
case 235: /* grouplist */
{
tVariantListDestroy((yypminor->yy216));
}
break;
case 213: /* columnlist */
{
tFieldListDestroy((yypminor->yy151));
}
break;
case 214: /* select */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册