[MDEV-14572] Assertion `! is_set()' failed in Diagnostics_area::set_eof_status upon EXPLAIN UPDATE in PS Created: 2017-12-04 Updated: 2019-05-08 Resolved: 2019-04-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update, Prepared Statements |
| Affects Version/s: | 10.0, 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.2.24, 10.1.41, 10.3.15, 10.4.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.2.12, 10.1.31 |
| Description |
|
No visible effect on non-debug builds. |
| Comments |
| Comment by Oleksandr Byelkin [ 2017-12-21 ] |
|
First execution of Multi-update set OK, then explain set EOF. set_eof_status/set_ok_status |
| Comment by Oleksandr Byelkin [ 2017-12-21 ] |
|
select_options & SELECT_DESCRIBE is not set during SP execution |
| Comment by Oleksandr Byelkin [ 2017-12-22 ] |
|
/* remove option which was put by mysql_explain_union() */ Above remove the flag, but in deference of INSERT/DELETE we do not (can not) use mysql_explain_union(). |
| Comment by Oleksandr Byelkin [ 2017-12-22 ] |
|
github tree: 10.0-bb- revision-id: 980a5c318803d6aa7355e019869597976dcf19bf (mariadb-10.0.33-37-g980a5c31880)
Restore EXPAIN flag in SELECT_LEX before execution multi-update by flag in LEX — |
| Comment by Oleksandr Byelkin [ 2018-06-11 ] |
|
revision-id: 2c7c6f702262284ac8e5c0c2cdb6945d62fd8efc (mariadb-10.0.35-37-g2c7c6f70226)
Restore EXPAIN flag in SELECT_LEX before execution multi-update by flag in LEX Without it, mysql_update() didn't know that there will be EXPLAIN result set and was sending OK at the end of the update, which conflicted with the EOF sent later by EXPLAIN. — |
| Comment by Sergei Golubchik [ 2018-07-12 ] |
|
ok to push commit 2c7c6f70226 |