mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge station.:/mnt/raid/alik/MySQL/devel/5.0-rt
into station.:/mnt/raid/alik/MySQL/devel/5.1-rt-merged
This commit is contained in:
@ -965,7 +965,6 @@ void init_update_queries(void);
|
|||||||
void free_max_user_conn(void);
|
void free_max_user_conn(void);
|
||||||
pthread_handler_t handle_bootstrap(void *arg);
|
pthread_handler_t handle_bootstrap(void *arg);
|
||||||
bool mysql_execute_command(THD *thd);
|
bool mysql_execute_command(THD *thd);
|
||||||
bool do_command(THD *thd);
|
|
||||||
bool dispatch_command(enum enum_server_command command, THD *thd,
|
bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||||
char* packet, uint packet_length);
|
char* packet, uint packet_length);
|
||||||
void log_slow_statement(THD *thd);
|
void log_slow_statement(THD *thd);
|
||||||
|
@ -86,6 +86,7 @@ const char *xa_state_names[]={
|
|||||||
"NON-EXISTING", "ACTIVE", "IDLE", "PREPARED"
|
"NON-EXISTING", "ACTIVE", "IDLE", "PREPARED"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static bool do_command(THD *thd);
|
||||||
|
|
||||||
static void unlock_locked_tables(THD *thd)
|
static void unlock_locked_tables(THD *thd)
|
||||||
{
|
{
|
||||||
@ -681,12 +682,12 @@ bool do_command(THD *thd)
|
|||||||
DBUG_PRINT("info",("Got error %d reading command from socket %s",
|
DBUG_PRINT("info",("Got error %d reading command from socket %s",
|
||||||
net->error,
|
net->error,
|
||||||
vio_description(net->vio)));
|
vio_description(net->vio)));
|
||||||
|
|
||||||
/* Check if we can continue without closing the connection */
|
/* Check if we can continue without closing the connection */
|
||||||
|
|
||||||
if (net->error != 3)
|
if (net->error != 3)
|
||||||
{
|
|
||||||
statistic_increment(aborted_threads,&LOCK_status);
|
|
||||||
DBUG_RETURN(TRUE); // We have to close it.
|
DBUG_RETURN(TRUE); // We have to close it.
|
||||||
}
|
|
||||||
net_send_error(thd, net->last_errno, NullS);
|
net_send_error(thd, net->last_errno, NullS);
|
||||||
net->error= 0;
|
net->error= 0;
|
||||||
DBUG_RETURN(FALSE);
|
DBUG_RETURN(FALSE);
|
||||||
|
Reference in New Issue
Block a user