Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.5, 10.11
-
None
Description
In current code, we have in table.cc:
/*
|
Procedure of keys generation for result tables of materialized derived
|
tables/views.
|
|
A key is generated for each equi-join pair derived table-another table.
|
...
|
*/ |
/*
|
@brief
|
Change references to underlying items of a merged derived table/view
|
for fields in derived table's result table.
|
|
@return FALSE ok
|
@return TRUE Out of memory
|
*/
|
bool TABLE_LIST::change_refs_to_fields() |
The first comment is out of place.
It should have been at sql_select.cc, generate_derived_keys().
The comment was added in this commit:
commit 709a0a131021135e9fb7a2095fcfcbc223dfb126
|
Author: Igor Babaev <igor@askmonty.org>
|
Date: Wed May 26 13:18:18 2010 -0700
|
|
MWL#106: Backport optimizations for derived tables and views.
|
The main consolidated patch.
|
|
generate_derived_keys() was also introduced in the same commit.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
In current code, we have in table.cc:
{code:cpp} /* Procedure of keys generation for result tables of materialized derived tables/views. A key is generated for each equi-join pair derived table-another table. ... */ {code} {code:cpp} /* @brief Change references to underlying items of a merged derived table/view for fields in derived table's result table. @return FALSE ok @return TRUE Out of memory */ bool TABLE_LIST::change_refs_to_fields() {code} The first comment is out of place. It should have been at sql_select.cc, generate_derived_keys_for_table(). |
In current code, we have in table.cc:
{code:cpp} /* Procedure of keys generation for result tables of materialized derived tables/views. A key is generated for each equi-join pair derived table-another table. ... */ {code} {code:cpp} /* @brief Change references to underlying items of a merged derived table/view for fields in derived table's result table. @return FALSE ok @return TRUE Out of memory */ bool TABLE_LIST::change_refs_to_fields() {code} The first comment is out of place. It should have been at sql_select.cc, generate_derived_keys_for_table(). The comment was put there by {code} commit 709a0a131021135e9fb7a2095fcfcbc223dfb126 Author: Igor Babaev <igor@askmonty.org> Date: Wed May 26 13:18:18 2010 -0700 MWL#106: Backport optimizations for derived tables and views. The main consolidated patch. {code} |
Description |
In current code, we have in table.cc:
{code:cpp} /* Procedure of keys generation for result tables of materialized derived tables/views. A key is generated for each equi-join pair derived table-another table. ... */ {code} {code:cpp} /* @brief Change references to underlying items of a merged derived table/view for fields in derived table's result table. @return FALSE ok @return TRUE Out of memory */ bool TABLE_LIST::change_refs_to_fields() {code} The first comment is out of place. It should have been at sql_select.cc, generate_derived_keys_for_table(). The comment was put there by {code} commit 709a0a131021135e9fb7a2095fcfcbc223dfb126 Author: Igor Babaev <igor@askmonty.org> Date: Wed May 26 13:18:18 2010 -0700 MWL#106: Backport optimizations for derived tables and views. The main consolidated patch. {code} |
In current code, we have in table.cc:
{code:cpp} /* Procedure of keys generation for result tables of materialized derived tables/views. A key is generated for each equi-join pair derived table-another table. ... */ {code} {code:cpp} /* @brief Change references to underlying items of a merged derived table/view for fields in derived table's result table. @return FALSE ok @return TRUE Out of memory */ bool TABLE_LIST::change_refs_to_fields() {code} The first comment is out of place. It should have been at sql_select.cc, generate_derived_keys_for_table(). The comment was added in this commit: {code} commit 709a0a131021135e9fb7a2095fcfcbc223dfb126 Author: Igor Babaev <igor@askmonty.org> Date: Wed May 26 13:18:18 2010 -0700 MWL#106: Backport optimizations for derived tables and views. The main consolidated patch. {code} generate_derived_keys_for_table() was also introduced in the same commit. |
Description |
In current code, we have in table.cc:
{code:cpp} /* Procedure of keys generation for result tables of materialized derived tables/views. A key is generated for each equi-join pair derived table-another table. ... */ {code} {code:cpp} /* @brief Change references to underlying items of a merged derived table/view for fields in derived table's result table. @return FALSE ok @return TRUE Out of memory */ bool TABLE_LIST::change_refs_to_fields() {code} The first comment is out of place. It should have been at sql_select.cc, generate_derived_keys_for_table(). The comment was added in this commit: {code} commit 709a0a131021135e9fb7a2095fcfcbc223dfb126 Author: Igor Babaev <igor@askmonty.org> Date: Wed May 26 13:18:18 2010 -0700 MWL#106: Backport optimizations for derived tables and views. The main consolidated patch. {code} generate_derived_keys_for_table() was also introduced in the same commit. |
In current code, we have in table.cc:
{code:cpp} /* Procedure of keys generation for result tables of materialized derived tables/views. A key is generated for each equi-join pair derived table-another table. ... */ {code} {code:cpp} /* @brief Change references to underlying items of a merged derived table/view for fields in derived table's result table. @return FALSE ok @return TRUE Out of memory */ bool TABLE_LIST::change_refs_to_fields() {code} The first comment is out of place. It should have been at sql_select.cc, generate_derived_keys(). The comment was added in this commit: {code} commit 709a0a131021135e9fb7a2095fcfcbc223dfb126 Author: Igor Babaev <igor@askmonty.org> Date: Wed May 26 13:18:18 2010 -0700 MWL#106: Backport optimizations for derived tables and views. The main consolidated patch. {code} generate_derived_keys() was also introduced in the same commit. |
Affects Version/s | 10.5 [ 23123 ] | |
Affects Version/s | 10.11 [ 27614 ] |
Component/s | Optimizer [ 10200 ] |
Fix Version/s | 10.11 [ 27614 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Sergei Petrunia [ psergey ] |
Fix Version/s | 10.11.12 [ 29998 ] | |
Fix Version/s | 11.4.6 [ 29999 ] | |
Fix Version/s | 11.8.2 [ 30001 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Resolution | Fixed [ 1 ] | |
Status | Confirmed [ 10101 ] | Closed [ 6 ] |