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
899d0ad4
Commit
899d0ad4
authored
Jul 10, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix status.test - don't use lock_tables_precheck() for SHOW PROC STATUS,
it shouldn't require LOCK_TABLE_ACL
parent
2492d007
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
sql/sql_parse.cc
sql/sql_parse.cc
+2
-6
No files found.
sql/sql_parse.cc
View file @
899d0ad4
...
...
@@ -2422,12 +2422,6 @@ mysql_execute_command(THD *thd)
my_error
(
ER_NOT_SUPPORTED_YET
,
MYF
(
0
),
"embedded server"
);
break
;
#endif
case
SQLCOM_SHOW_STATUS_PROC
:
case
SQLCOM_SHOW_STATUS_FUNC
:
if
(
lock_tables_precheck
(
thd
,
all_tables
))
goto
error
;
res
=
execute_sqlcom_select
(
thd
,
all_tables
);
break
;
case
SQLCOM_SHOW_STATUS
:
{
execute_show_status
(
thd
,
all_tables
);
...
...
@@ -2460,6 +2454,8 @@ mysql_execute_command(THD *thd)
}
/* no break; fall through */
}
case
SQLCOM_SHOW_STATUS_PROC
:
case
SQLCOM_SHOW_STATUS_FUNC
:
case
SQLCOM_SHOW_DATABASES
:
case
SQLCOM_SHOW_TABLES
:
case
SQLCOM_SHOW_TRIGGERS
:
...
...
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