[MDEV-19831] Need to clean up temporarry table in select handler. Optimize the way select handler search for tables and rewrites the query. Created: 2019-06-21 Updated: 2019-08-28 Resolved: 2019-08-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.4.6 |
| Fix Version/s: | 10.4.8 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Roman | Assignee: | Roman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
There are number of defficiences that should be addressed in 10.4.
|
| Comments |
| Comment by Igor Babaev [ 2019-08-21 ] |
|
Review: Roman, The following chages are ok (more than this the first one fixes a bug) 1. Pushdown_select::~Pushdown_select() { + if (handler->table) + free_tmp_table(handler->thd, handler->table); delete handler; select->select_h= NULL; }2.
The change concerning replacement of the call of select_lex->pushdown_select->init() is not ok |
| Comment by Roman [ 2019-08-24 ] |
|
I removed the questionable change and made a pull request for the patch. Plz merge it. |
| Comment by Roman [ 2019-08-28 ] |
|
Review has been done by igor |
| Comment by Roman [ 2019-08-28 ] |
|
The patch has been merged into 10.4 |