[MDEV-9170] Get rid of LEX::length and LEX::dec Created: 2015-11-23 Updated: 2016-01-11 Resolved: 2015-11-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Fix Version/s: | 10.2.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | duplicate-code | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.0-1 | ||||||||
| Description |
|
Passing data in sql_yacc.yy through LEX members is hard to follow and is not recursively safe.
so it can be passed through the syntax rules in sql_yacc.yy as $$, $1, $2, etc.
into:
So we'll already know data type, length and dec when we do "new Create_field". |