mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
Add support for DATA_CHAR type in bound literals in the SQL parser.
This commit is contained in:
parent
847adf32cf
commit
300ad47fbe
1 changed files with 7 additions and 0 deletions
|
@ -207,6 +207,13 @@ sym_tab_add_bound_lit(
|
|||
*lit_type = PARS_STR_LIT;
|
||||
break;
|
||||
|
||||
case DATA_CHAR:
|
||||
ut_a(blit->length > 0);
|
||||
|
||||
len = blit->length;
|
||||
*lit_type = PARS_STR_LIT;
|
||||
break;
|
||||
|
||||
case DATA_INT:
|
||||
ut_a(blit->length > 0);
|
||||
ut_a(blit->length <= 8);
|
||||
|
|
Loading…
Add table
Reference in a new issue