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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Show 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,
...
@@ -2187,7 +2187,7 @@ Field *find_field_in_real_table(THD *thd, TABLE *table,
RETURN VALUES
RETURN VALUES
0 No field was found, or the found field is not unique, or
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
found field, or the field is qualified with non-existing
table.
table.
not_found_field The function was called with report_error ==
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,
...
@@ -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
TABLE_LIST *tables is not changed during query execution (which
is true for all queries except RENAME but luckily RENAME doesn't
is true for all queries except RENAME but luckily RENAME doesn't
use fields...) so we can rely on reusing pointer to its member.
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
With this optimi
z
ation we also miss case when addition of one more
field makes some prepared query ambiguous and so erronous, but we
field makes some prepared query ambiguous and so erron
e
ous, but we
accept this trade off.
accept this trade off.
*/
*/
found
=
find_field_in_real_table
(
thd
,
item
->
cached_table
->
table
,
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,
...
@@ -2239,7 +2239,7 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
if
(
db
&&
lower_case_table_names
)
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
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
'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,
...
@@ -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
any_privileges 0 If we should ensure that we have SELECT privileges
for all columns
for all columns
1 If any privilege is ok
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
RETURN
0 ok
0 ok
'it' is updated to point at last inserted
'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)
...
@@ -11141,7 +11141,7 @@ cp_buffer_from_ref(TABLE_REF *ref)
ref_pointer_array.
ref_pointer_array.
RETURN
RETURN
0 if
ok
0 if
OK
1 if error occurred
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