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
c7bfc959
Commit
c7bfc959
authored
Nov 02, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed spelling
parent
048d731a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
sql/sql_base.cc
sql/sql_base.cc
+6
-5
sql/sql_select.cc
sql/sql_select.cc
+1
-1
No files found.
sql/sql_base.cc
View file @
c7bfc959
...
...
@@ -2187,7 +2187,7 @@ Field *find_field_in_real_table(THD *thd, TABLE *table,
RETURN VALUES
0 No field was found, or the found field is not unique, or
there are no sufficient access privilig
a
es for the
there are no sufficient access priviliges for the
found field, or the field is qualified with non-existing
table.
not_found_field The function was called with report_error ==
...
...
@@ -2217,8 +2217,8 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
TABLE_LIST *tables is not changed during query execution (which
is true for all queries except RENAME but luckily RENAME doesn't
use fields...) so we can rely on reusing pointer to its member.
With this optimi
s
ation we also miss case when addition of one more
field makes some prepared query ambiguous and so erronous, but we
With this optimi
z
ation we also miss case when addition of one more
field makes some prepared query ambiguous and so erron
e
ous, but we
accept this trade off.
*/
found
=
find_field_in_real_table
(
thd
,
item
->
cached_table
->
table
,
...
...
@@ -2239,7 +2239,7 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
if
(
db
&&
lower_case_table_names
)
{
/*
convert database to lower case for comparis
i
on.
convert database to lower case for comparison.
We can't do this in Item_field as this would change the
'name' of the item which may be used in the select list
*/
...
...
@@ -2779,7 +2779,8 @@ bool get_key_map_from_key_list(key_map *map, TABLE *table,
any_privileges 0 If we should ensure that we have SELECT privileges
for all columns
1 If any privilege is ok
allocate_view_names if true view names will be copied to current Item_arena memory (made for SP/PS)
allocate_view_names if true view names will be copied to current Item_arena
memory (made for SP/PS)
RETURN
0 ok
'it' is updated to point at last inserted
...
...
sql/sql_select.cc
View file @
c7bfc959
...
...
@@ -11141,7 +11141,7 @@ cp_buffer_from_ref(TABLE_REF *ref)
ref_pointer_array.
RETURN
0 if
ok
0 if
OK
1 if error occurred
*/
...
...
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