Skip to content

Commit

Permalink
Fixed expand column list during parsing (fixes #1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitko Iliev authored and pkleef committed Apr 13, 2023
1 parent 2ed1033 commit db0b768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/Wi/sql3.y
Expand Up @@ -857,7 +857,7 @@ base_table_def
{ $$ = t_listst (5, TABLE_DEF, $3,
t_list_to_array (sqlc_ensure_primary_key (sqlp_process_col_options ($3, $5))), (ptrlong) $7, (ptrlong) $8); }
| CREATE TABLE new_table_name AS query_exp opt_with_data
{ $$ = t_listst (4, CREATE_TABLE_AS, $3, $5, t_box_num ((ptrlong) $6)); }
{ $$ = t_listst (4, CREATE_TABLE_AS, $3, sqlp_view_def (NULL, $5, 1), t_box_num ((ptrlong) $6)); }
;

base_table_element_commalist
Expand Down

0 comments on commit db0b768

Please sign in to comment.