mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
WL#2486 - natural and using join according to SQL:2003
- Fixed minor error after Monty's review. sql/table.cc: cur_table_ref is used in the first pass of the loop *before* it is set later in the loop.
This commit is contained in:
parent
4d2bf4befc
commit
34bf64bc20
1 changed files with 0 additions and 1 deletions
|
|
@ -2251,7 +2251,6 @@ TABLE_LIST *st_table_list::last_leaf_for_name_resolution()
|
|||
{
|
||||
TABLE_LIST *cur_table_ref= this;
|
||||
NESTED_JOIN *cur_nested_join;
|
||||
LINT_INIT(cur_table_ref);
|
||||
|
||||
if (is_leaf_for_name_resolution())
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue