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
30b2c64c
Commit
30b2c64c
authored
Apr 15, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warnings
parent
665a31af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
sql/sql_show.cc
sql/sql_show.cc
+14
-8
No files found.
sql/sql_show.cc
View file @
30b2c64c
...
...
@@ -7837,16 +7837,22 @@ int make_schema_select(THD *thd, SELECT_LEX *sel,
We have to make non const db_name & table_name
because of lower_case_table_names
*/
thd
->
make_lex_string
(
&
db
,
INFORMATION_SCHEMA_NAME
.
str
,
INFORMATION_SCHEMA_NAME
.
length
);
thd
->
make_lex_string
(
&
table
,
schema_table
->
table_name
,
strlen
(
schema_table
->
table_name
));
if
(
schema_table
->
old_format
(
thd
,
schema_table
)
||
/* Handle old syntax */
!
sel
->
add_table_to_list
(
thd
,
new
Table_ident
(
thd
,
db
,
table
,
0
),
if
(
!
thd
->
make_lex_string
(
&
db
,
INFORMATION_SCHEMA_NAME
.
str
,
INFORMATION_SCHEMA_NAME
.
length
))
DBUG_RETURN
(
1
);
if
(
!
thd
->
make_lex_string
(
&
table
,
schema_table
->
table_name
,
strlen
(
schema_table
->
table_name
)))
DBUG_RETURN
(
1
);
if
(
schema_table
->
old_format
(
thd
,
schema_table
))
DBUG_RETURN
(
1
);
if
(
!
sel
->
add_table_to_list
(
thd
,
new
Table_ident
(
thd
,
db
,
table
,
0
),
0
,
0
,
TL_READ
,
MDL_SHARED_READ
))
{
DBUG_RETURN
(
1
);
}
DBUG_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