[MDEV-18796] Synchronize PS grammar between sql_yacc.yy and sql_yacc_ora.yy Created: 2019-03-02 Updated: 2019-03-04 Resolved: 2019-03-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser, Prepared Statements |
| Fix Version/s: | 10.4.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||||||
| Description |
|
PS related C++ code blocks diverged in the two *.yy files.
into a separate new class Lex_prepared_stmt, move the C++ code blocks to LEX and to the new class as methods and reuse these methods in *.yy files.
i.e. one method call per statement. Note, a separate class Lex_prepared_stmt will help to move PS related data structures from LEX to new new classes for all PS based statements:
This will be done separately, eventually. |