mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-874 include/mysql.h: Auto merged libmysql/libmysql.c: Auto merged sql/sql_parse.cc: Auto merged
This commit is contained in:
@ -1284,10 +1284,12 @@ mysql_drop_db(MYSQL *mysql, const char *db)
|
||||
|
||||
|
||||
int STDCALL
|
||||
mysql_shutdown(MYSQL *mysql)
|
||||
mysql_shutdown(MYSQL *mysql, enum enum_shutdown_level shutdown_level)
|
||||
{
|
||||
uchar level[1];
|
||||
level[0]= (uchar) shutdown_level;
|
||||
DBUG_ENTER("mysql_shutdown");
|
||||
DBUG_RETURN(simple_command(mysql,COM_SHUTDOWN,0,0,0));
|
||||
DBUG_RETURN(simple_command(mysql, COM_SHUTDOWN, (char *)level, 1, 0));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user