[MDEV-13936] Server crashes in Time_and_counter_tracker::incr_loops Created: 2017-09-28 Updated: 2018-09-19 Resolved: 2017-11-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Stored routines, Views |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | 10.1.29, 10.2.11, 10.3.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.11 | ||||||||
| Description |
|
Reproducible on debug and release builds of 10.1 and 10.2, including older 10.1 releases. |
| Comments |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
Subquery has no "explain" object attached. |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
JOIN::save_explain_data was called, but the object was not created |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
again 2 SELECTs with number 3 (or two joins connected to the same select) |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
Actually problem of renumbering function's subqueries should be discussed because: 1) it can be used in different statements, which already uses subqueroies, 2) it can be used several times and with other functions |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
Actually each function is building in query, so it is OK. |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
github tree bb-10.1- |
| Comment by Oleksandr Byelkin [ 2017-11-06 ] |
|
revision-id: 1a66e172f53bf4768cd058cba8a6951c60864f22 (mariadb-10.1.28-34-g1a66e172f53)
Repeat solution for procedures for functions. — |
| Comment by Alexander Barkov [ 2017-11-07 ] |
|
Discussed on IRC. |
| Comment by Oleksandr Byelkin [ 2017-11-13 ] |
|
revision-id: efc18ad7d290a2b767f4f9e3d35905f3d236ecd0 (mariadb-10.1.28-51-gefc18ad7d29)
Repeat reworked solution of procedures for all posible Sp (functions & — |
| Comment by Oleksandr Byelkin [ 2017-11-13 ] |
|
new code forcepushed to bb-10.1- |
| Comment by Alexander Barkov [ 2017-11-14 ] |
|
This patch is OK to push, after removing the extra condition:
Thanks! revision-id: efc18ad7d290a2b767f4f9e3d35905f3d236ecd0 (mariadb-10.1.28-51-gefc18ad7d29)
Repeat reworked solution of procedures for all posible Sp (functions & |