[MDEV-22274] Refactor create_tmp_table code to remove duplications. Created: 2020-04-17  Updated: 2023-12-22

Status: Open
Project: MariaDB Server
Component/s: Optimizer
Fix Version/s: 11.5

Type: Task Priority: Major
Reporter: Alexey Botchkov Assignee: Alexey Botchkov
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Various parts of the optimizer create temporary tables for different necessarities. As a result we have similar code in 3 places.
That is create_tmp_table() (and the Create_tmp_table class) in sql_select.cc,
SJ_TMP_TABLE in opt_subselect.cc,
and the Create_json_table class in table_function.cc

It'd be good to unify these three and create the universal Create_tmp_table class to remove code duplications.


Generated at Thu Feb 08 09:13:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.