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
2d7f4c30
Commit
2d7f4c30
authored
Aug 19, 2004
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed symbol name problems that made build fail.
parent
22a65bcf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
include/mysql.h
include/mysql.h
+1
-1
include/mysql_com.h
include/mysql_com.h
+6
-6
libmysql/libmysql.c
libmysql/libmysql.c
+1
-1
sql/sql_parse.cc
sql/sql_parse.cc
+2
-2
No files found.
include/mysql.h
View file @
2d7f4c30
...
...
@@ -454,7 +454,7 @@ int STDCALL mysql_add_slave(MYSQL* mysql, const char* host,
const
char
*
passwd
);
int
STDCALL
mysql_shutdown
(
MYSQL
*
mysql
,
enum
enum_shutdown_level
enum
mysql_
enum_shutdown_level
shutdown_level
);
int
STDCALL
mysql_dump_debug_info
(
MYSQL
*
mysql
);
int
STDCALL
mysql_refresh
(
MYSQL
*
mysql
,
...
...
include/mysql_com.h
View file @
2d7f4c30
...
...
@@ -238,17 +238,17 @@ enum mysql_enum_shutdown_level {
comparisons). Note that DEFAULT does not respect the growing property, but
it's ok.
*/
DEFAULT
=
0
,
SHUTDOWN_DEFAULT
=
0
,
/* wait for existing connections to finish */
WAIT_CONNECTIONS
=
MYSQL_SHUTDOWN_KILLABLE_CONNECT
,
SHUTDOWN_
WAIT_CONNECTIONS
=
MYSQL_SHUTDOWN_KILLABLE_CONNECT
,
/* wait for existing trans to finish */
WAIT_TRANSACTIONS
=
MYSQL_SHUTDOWN_KILLABLE_TRANS
,
SHUTDOWN_
WAIT_TRANSACTIONS
=
MYSQL_SHUTDOWN_KILLABLE_TRANS
,
/* wait for existing updates to finish (=> no partial MyISAM update) */
WAIT_UPDATES
=
MYSQL_SHUTDOWN_KILLABLE_UPDATE
,
SHUTDOWN_
WAIT_UPDATES
=
MYSQL_SHUTDOWN_KILLABLE_UPDATE
,
/* flush InnoDB buffers and other storage engines' buffers*/
WAIT_ALL_BUFFERS
=
(
MYSQL_SHUTDOWN_KILLABLE_UPDATE
<<
1
),
SHUTDOWN_
WAIT_ALL_BUFFERS
=
(
MYSQL_SHUTDOWN_KILLABLE_UPDATE
<<
1
),
/* don't flush InnoDB buffers, flush other storage engines' buffers*/
WAIT_CRITICAL_BUFFERS
=
(
MYSQL_SHUTDOWN_KILLABLE_UPDATE
<<
1
)
+
1
,
SHUTDOWN_
WAIT_CRITICAL_BUFFERS
=
(
MYSQL_SHUTDOWN_KILLABLE_UPDATE
<<
1
)
+
1
,
/* Now the 2 levels of the KILL command */
#if MYSQL_VERSION_ID >= 50000
KILL_QUERY
=
254
,
...
...
libmysql/libmysql.c
View file @
2d7f4c30
...
...
@@ -1291,7 +1291,7 @@ mysql_drop_db(MYSQL *mysql, const char *db)
int
STDCALL
mysql_shutdown
(
MYSQL
*
mysql
,
enum
enum_shutdown_level
shutdown_level
)
mysql_shutdown
(
MYSQL
*
mysql
,
enum
mysql_
enum_shutdown_level
shutdown_level
)
{
uchar
level
[
1
];
DBUG_ENTER
(
"mysql_shutdown"
);
...
...
sql/sql_parse.cc
View file @
2d7f4c30
...
...
@@ -1643,8 +1643,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
SHUTDOWN_DEFAULT is 0. If client is >= 4.1.3, the shutdown level is in
packet[0].
*/
enum
enum_shutdown_level
level
=
(
enum
enum_shutdown_level
)
(
uchar
)
packet
[
0
];
enum
mysql_
enum_shutdown_level
level
=
(
enum
mysql_
enum_shutdown_level
)
(
uchar
)
packet
[
0
];
DBUG_PRINT
(
"quit"
,(
"Got shutdown command for level %u"
,
level
));
if
(
level
==
SHUTDOWN_DEFAULT
)
level
=
SHUTDOWN_WAIT_ALL_BUFFERS
;
// soon default will be configurable
...
...
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