PL/SQL parser
(MDEV-10142)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | None |
| Fix Version/s: | 10.3.2 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.2-3, 10.2.2-1, 10.2.2-2, 10.2.2-4, 10.1.18 | ||||||||
| Description |
|
As of version 10.3.1, Item_func_case (when handling a simple CASE) stores the predicant argument (in the args[] array) after the WHEN..THEN arguments and before the ELSE argument. For example, this expression:
stores the arguments as follows:
Under terms of this task we'll do the following: Advantages: a. #1 and #3 will help to simplify the code in sql_yacc_ora.yy
to something as simple as:
b. #1 and #3 will help to implement
as the branches for the searched and the simple CASE expressions will reside in methods of different classes. |
| Comments |
| Comment by Alexander Barkov [ 2017-09-23 ] |
|
Pushed to bb-10.2-ext and 10.3 |