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
05f53a04
Commit
05f53a04
authored
Sep 08, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for #1211
parent
95bf984d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
sql/sql_parse.cc
sql/sql_parse.cc
+10
-0
No files found.
sql/sql_parse.cc
View file @
05f53a04
...
...
@@ -1499,6 +1499,8 @@ mysql_execute_command(void)
res
=
mysql_restore_table
(
thd
,
tables
);
break
;
}
#ifndef EMBEDDED_LIBRARY
case
SQLCOM_CHANGE_MASTER
:
{
if
(
check_global_access
(
thd
,
SUPER_ACL
))
...
...
@@ -1535,6 +1537,8 @@ mysql_execute_command(void)
else
res
=
load_master_data
(
thd
);
break
;
#endif
/*!EMBEDDED_LIBRARY*/
#ifdef HAVE_INNOBASE_DB
case
SQLCOM_SHOW_INNODB_STATUS
:
...
...
@@ -1546,6 +1550,7 @@ mysql_execute_command(void)
}
#endif
#ifndef EMBEDDED_LIBRARY
case
SQLCOM_LOAD_MASTER_TABLE
:
{
if
(
!
tables
->
db
)
...
...
@@ -1572,6 +1577,8 @@ mysql_execute_command(void)
UNLOCK_ACTIVE_MI
;
break
;
}
#endif
/*!EMBEDDED_LIBRARY*/
case
SQLCOM_CREATE_TABLE
:
{
ulong
want_priv
=
((
lex
->
create_info
.
options
&
HA_LEX_CREATE_TMP_TABLE
)
?
...
...
@@ -1676,6 +1683,7 @@ mysql_execute_command(void)
res
=
mysql_create_index
(
thd
,
tables
,
lex
->
key_list
);
break
;
#ifndef EMBEDDED_LIBRARY
case
SQLCOM_SLAVE_START
:
{
LOCK_ACTIVE_MI
;
...
...
@@ -1708,6 +1716,8 @@ mysql_execute_command(void)
UNLOCK_ACTIVE_MI
;
break
;
}
#endif
/*!EMBEDDED_LIBRARY*/
case
SQLCOM_ALTER_TABLE
:
#if defined(DONT_ALLOW_SHOW_COMMANDS)
send_error
(
&
thd
->
net
,
ER_NOT_ALLOWED_COMMAND
);
/* purecov: inspected */
...
...
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