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
9807a3fa
Commit
9807a3fa
authored
Sep 08, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trimming of embedded library code
parent
9e83f314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
sql/sql_parse.cc
sql/sql_parse.cc
+11
-11
No files found.
sql/sql_parse.cc
View file @
9807a3fa
...
...
@@ -1155,7 +1155,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
mysql_log
.
write
(
thd
,
command
,
"%s"
,
thd
->
db
);
break
;
}
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
case
COM_REGISTER_SLAVE
:
{
if
(
!
register_slave
(
thd
,
(
uchar
*
)
packet
,
packet_length
))
...
...
@@ -1661,7 +1661,7 @@ mysql_execute_command(THD *thd)
}
#endif
}
#endif
/* EMBEDDED_LIBRARY */
#endif
/*
!
EMBEDDED_LIBRARY */
/*
TODO: make derived tables processing 'inside' SELECT processing.
TODO: solve problem with depended derived tables in subselects
...
...
@@ -1837,7 +1837,7 @@ mysql_execute_command(THD *thd)
break
;
}
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
case
SQLCOM_SHOW_SLAVE_HOSTS
:
{
if
(
check_global_access
(
thd
,
REPL_SLAVE_ACL
))
...
...
@@ -1883,7 +1883,7 @@ mysql_execute_command(THD *thd)
}
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
case
SQLCOM_CHANGE_MASTER
:
{
if
(
check_global_access
(
thd
,
SUPER_ACL
))
...
...
@@ -1920,7 +1920,7 @@ mysql_execute_command(THD *thd)
else
res
=
load_master_data
(
thd
);
break
;
#endif
/*
EMBEDDED_LIBRARY
*/
#endif
/*
HAVE_REPLICATION
*/
#ifdef HAVE_INNOBASE_DB
case
SQLCOM_SHOW_INNODB_STATUS
:
...
...
@@ -1932,7 +1932,7 @@ mysql_execute_command(THD *thd)
}
#endif
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
case
SQLCOM_LOAD_MASTER_TABLE
:
{
if
(
!
tables
->
db
)
...
...
@@ -1964,7 +1964,7 @@ mysql_execute_command(THD *thd)
UNLOCK_ACTIVE_MI
;
break
;
}
#endif
/*
EMBEDDED_LIBRARY
*/
#endif
/*
HAVE_REPLICATION
*/
case
SQLCOM_CREATE_TABLE
:
{
...
...
@@ -2081,7 +2081,7 @@ mysql_execute_command(THD *thd)
res
=
mysql_create_index
(
thd
,
tables
,
lex
->
key_list
);
break
;
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
case
SQLCOM_SLAVE_START
:
{
LOCK_ACTIVE_MI
;
...
...
@@ -2114,7 +2114,7 @@ mysql_execute_command(THD *thd)
UNLOCK_ACTIVE_MI
;
break
;
}
#endif
#endif
/* HAVE_REPLICATION */
case
SQLCOM_ALTER_TABLE
:
#if defined(DONT_ALLOW_SHOW_COMMANDS)
...
...
@@ -4376,7 +4376,7 @@ bool reload_acl_and_cache(THD *thd, ulong options, TABLE_LIST *tables,
refresh_status
();
if
(
options
&
REFRESH_THREADS
)
flush_thread_cache
();
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
if
(
options
&
REFRESH_MASTER
)
{
tmp_write_to_binlog
=
0
;
...
...
@@ -4391,7 +4391,7 @@ bool reload_acl_and_cache(THD *thd, ulong options, TABLE_LIST *tables,
result
=
load_des_key_file
(
des_key_file
);
}
#endif
#if
ndef EMBEDDED_LIBRARY
#if
def HAVE_REPLICATION
if
(
options
&
REFRESH_SLAVE
)
{
tmp_write_to_binlog
=
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