[MDEV-28522] Delete constant SPIDER_SQL_TYPE_*_HS Created: 2022-05-10 Updated: 2023-03-24 Resolved: 2023-03-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Fix Version/s: | 11.1.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Nayuta Yanagisawa (Inactive) | Assignee: | Yuchen Pei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
HandlerSocket support of Spider has been deleted by Some functions for maintaining Spider tables take SPIDER_SQL_TYPE_OTHER_HS as arguments but this seems not to make sense. |
| Comments |
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-05-27 ] | |||||||||||||
|
https://github.com/MariaDB/server/commit/793fc6d9b889269e222814f9b8851e2d32215775 | |||||||||||||
| Comment by Alexey Botchkov [ 2022-06-27 ] | |||||||||||||
|
fix the patch as discussed on Slack. | |||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-06-29 ] | |||||||||||||
|
Summary of the private discussion mentioned above: There in the fix you do a number of changes like the following.
So, now it always does the 'str' assignment and the rest of the function. Previously that function was called as append_flush_tables_part(SPIDER_SQL_TYPE_OTHER_HS,... meaning it just did nothing - the DBUG_RETURN(0). So, the function's behavior changed. The patch is wrong because the author (me) confused SPIDER_SQL_TYPE_OTHER_SQL with SPIDER_SQL_TYPE_OTHER_HS. | |||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-06-29 ] | |||||||||||||
|
So, Spider does nothing on table maintenance statements? Then, we can remove much more unused code. | |||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-06-29 ] | |||||||||||||
|
I will postpone this to 10.11 because it would delete a considerable amount of code. | |||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-09-19 ] | |||||||||||||
|
https://github.com/MariaDB/server/commit/422fb63a9bbee35c50b6c7be19d199afe0bc98fa | |||||||||||||
| Comment by Alexey Botchkov [ 2022-11-26 ] | |||||||||||||
|
ok to push. | |||||||||||||
| Comment by Yuchen Pei [ 2023-02-02 ] | |||||||||||||
|
Branch 11.1 does not exist yet, so we have to wait before pushing. | |||||||||||||
| Comment by Yuchen Pei [ 2023-03-23 ] | |||||||||||||
|
Pushed to 11.1 |