diff options
| author | Sergey Petrunya <psergey@askmonty.org> | 2013-06-27 01:00:22 +0400 |
|---|---|---|
| committer | Sergey Petrunya <psergey@askmonty.org> | 2013-06-27 01:00:22 +0400 |
| commit | 99a8bfe68cdd6411ed24b3fa465d5dd4b70be6dc (patch) | |
| tree | ff39d52783dd1e666e33ecfa0fd6a83739e0fe77 /sql/sql_delete.cc | |
| parent | 79392b9383921cb1d48ca0defb8715f7385af0e8 (diff) | |
| download | mariadb-git-99a8bfe68cdd6411ed24b3fa465d5dd4b70be6dc.tar.gz | |
[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring
- Update view.result (old EXPLAIN didn't match the execution)
- Put in a stub code to work around the
SELECT ... UNION SELECT ... ORDER BY (subuqery) problem
Diffstat (limited to 'sql/sql_delete.cc')
| -rw-r--r-- | sql/sql_delete.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 30ae60ddc43..50401e2af46 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -159,7 +159,9 @@ void Update_plan::save_query_plan_footprint_intern(QPF_query *query, QPF_update qpf->add_child(unit->first_select()->select_number); //TODO: temporary?: - unit->save_qpf(query); + // A: yes. optimizing children subqueries has caused them to save QPFs, + // automatically. + //unit->save_qpf(query); } } |
