[MDEV-15300] main.cte_nonrecursive failed in --embedded (again) Created: 2018-02-13 Updated: 2018-02-14 Resolved: 2018-02-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Embedded Server, Optimizer - CTE |
| Affects Version/s: | None |
| Fix Version/s: | 10.3.5 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Sergei Golubchik | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
cte_nonrecursive fails in 10.3 in embedded builds like
The reason is the commit 3afc962 that fixed the bug
to check_grant() function. Which is wrong, privilege checking functions cannot have side-effects (like setting tl->with above) because they are not executed in embedded builds. For some reason, that I did not look into, this does not fail in 10.2, though. |
| Comments |
| Comment by Igor Babaev [ 2018-02-14 ] |
|
The fix for this problem was pushed into 10.2 |
| Comment by Sergei Golubchik [ 2018-02-14 ] |
|
Oops. Sorry. I should've checked why it doesn't fail in 10.2 |