Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4dbe76d0
Commit
4dbe76d0
authored
Sep 30, 2005
by
ramil@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment adjusted (see fix for #13545)
parent
63fa48c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sql/sql_base.cc
sql/sql_base.cc
+4
-5
No files found.
sql/sql_base.cc
View file @
4dbe76d0
...
@@ -2987,11 +2987,10 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list,
...
@@ -2987,11 +2987,10 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list,
Check that the table and database that qualify the current field name
Check that the table and database that qualify the current field name
are the same as the table reference we are going to search for the field.
are the same as the table reference we are going to search for the field.
We exclude from the test below NATURAL/USING joins and any nested join
Exclude from the test below nested joins because the columns in a
because each column in such
nested join generally originate from different tables. Nested joins
joins may potentially originate from a different table. However, base
also have no table name, except when a nested join is a merge view
tables and views that are under some NATURAL/USING join are searched
or an information schema table.
as usual base tables/views.
We include explicitly table references with a 'field_translation' table,
We include explicitly table references with a 'field_translation' table,
because if there are views over natural joins we don't want to search
because if there are views over natural joins we don't want to search
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment