[MDEV-7024] Assertion `! is_set()' failed in Diagnostics_area::set_eof_status on executing ANALYZE SELECT via PS Created: 2014-11-05 Updated: 2015-02-02 Resolved: 2015-01-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Affects Version/s: | 10.1.1 |
| Fix Version/s: | 10.1.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | analyze-stmt | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2014-11-05 ] | |||||||||||||||
|
Variation of the stack trace using binary protocol:
| |||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-01-29 ] | |||||||||||||||
|
it looks like metadata sent twice (first before optimize, second after execution) | |||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-01-29 ] | |||||||||||||||
|
First it send normal select fields, then ANALYZE fields after execution (which is second result set). | |||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-01-29 ] | |||||||||||||||
|
As expected normal execution do it only once. | |||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-01-29 ] | |||||||||||||||
|
... because select_send_analyze used as select result class... | |||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-01-29 ] | |||||||||||||||
|
select_send::is_result_interceptor() return 1 which is a problem because it return results to client |