mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
10.0-base -> 10.0-monty
This commit is contained in:
commit
e1f681c99b
1113 changed files with 65339 additions and 8570 deletions
|
|
@ -42,7 +42,7 @@
|
|||
cond_wait(mythd, abstime, stage, SCHED_FUNC, __FILE__, __LINE__)
|
||||
|
||||
extern pthread_attr_t connection_attrib;
|
||||
|
||||
extern ulong event_executed;
|
||||
|
||||
Event_db_repository *Event_worker_thread::db_repository;
|
||||
|
||||
|
|
@ -190,7 +190,6 @@ pre_init_event_thread(THD* thd)
|
|||
my_net_init(&thd->net, NULL);
|
||||
thd->security_ctx->set_user((char*)"event_scheduler");
|
||||
thd->net.read_timeout= slave_net_timeout;
|
||||
thd->slave_thread= 0;
|
||||
thd->variables.option_bits|= OPTION_AUTO_IS_NULL;
|
||||
thd->client_capabilities|= CLIENT_MULTI_RESULTS;
|
||||
mysql_mutex_lock(&LOCK_thread_count);
|
||||
|
|
@ -561,7 +560,8 @@ Event_scheduler::execute_top(Event_queue_element_for_exec *event_name)
|
|||
event_name)))
|
||||
goto error;
|
||||
|
||||
++started_events;
|
||||
started_events++;
|
||||
executed_events++; // For SHOW STATUS
|
||||
|
||||
DBUG_PRINT("info", ("Event is in THD: 0x%lx", (long) new_thd));
|
||||
DBUG_RETURN(FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue