Fix load data bug for json type

This commit is contained in:
wjhh2008
2023-12-12 13:42:55 +00:00
committed by ob-robot
parent 29ff204ed8
commit 4235388eaf
5 changed files with 183 additions and 81 deletions

View File

@ -9325,7 +9325,11 @@ READ_CONSISTENCY '(' consistency_level ')'
}
| LOAD_BATCH_SIZE '(' INTNUM ')'
{
malloc_non_terminal_node($$, result->malloc_pool_, T_LOAD_BATCH_SIZE, 1, $3);
malloc_non_terminal_node($$, result->malloc_pool_, T_LOAD_BATCH_SIZE, 2, $3, NULL);
}
| LOAD_BATCH_SIZE '(' INTNUM ',' STRING_VALUE ')'
{
malloc_non_terminal_node($$, result->malloc_pool_, T_LOAD_BATCH_SIZE, 2, $3, $5);
}
| DIRECT '(' BOOL_VALUE ',' INTNUM ')'
{