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
c205524c
Commit
c205524c
authored
Jul 05, 2007
by
gshchepa/uchum@gleb.loc
Browse files
Options
Browse Files
Download
Plain Diff
Merge gleb.loc:/home/uchum/work/bk/5.0-opt
into gleb.loc:/home/uchum/work/bk/5.1-opt
parents
6336d8c1
cdea05a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
sql/sql_show.cc
sql/sql_show.cc
+2
-4
No files found.
sql/sql_show.cc
View file @
c205524c
...
@@ -2250,11 +2250,9 @@ bool uses_only_table_name_fields(Item *item, TABLE_LIST *table)
...
@@ -2250,11 +2250,9 @@ bool uses_only_table_name_fields(Item *item, TABLE_LIST *table)
if
(
item
->
type
()
==
Item
::
FUNC_ITEM
)
if
(
item
->
type
()
==
Item
::
FUNC_ITEM
)
{
{
Item_func
*
item_func
=
(
Item_func
*
)
item
;
Item_func
*
item_func
=
(
Item_func
*
)
item
;
Item
**
child
;
for
(
uint
i
=
0
;
i
<
item_func
->
argument_count
();
i
++
)
Item
**
item_end
=
(
item_func
->
arguments
())
+
item_func
->
argument_count
();
for
(
child
=
item_func
->
arguments
();
child
!=
item_end
;
child
++
)
{
{
if
(
!
uses_only_table_name_fields
(
*
child
,
table
))
if
(
!
uses_only_table_name_fields
(
item_func
->
arguments
()[
i
]
,
table
))
return
0
;
return
0
;
}
}
}
}
...
...
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