MXS-2002 Worker::execute() renamed to Worker::call()

In preparation for Worker::post() to be renamed to Worker:execute().
The concept of _posting_ will be reserved to mean the transfer of
something over the message queue to the worker for processing and
nothing else.
This commit is contained in:
Johan Wikman
2018-08-09 14:59:48 +03:00
parent 6335d3776c
commit 3013adb14f
3 changed files with 4 additions and 4 deletions

View File

@ -263,7 +263,7 @@ void MariaDBMonitor::diagnostics(DCB *dcb) const
diag_str = diagnostics_to_string();
};
if (!mutable_ptr->execute(func, Worker::EXECUTE_AUTO))
if (!mutable_ptr->call(func, Worker::EXECUTE_AUTO))
{
diag_str = DIAG_ERROR;
}
@ -310,7 +310,7 @@ json_t* MariaDBMonitor::diagnostics_json() const
rval = diagnostics_to_json();
};
if (!mutable_ptr->execute(func, Worker::EXECUTE_AUTO))
if (!mutable_ptr->call(func, Worker::EXECUTE_AUTO))
{
rval = mxs_json_error_append(rval, "%s", DIAG_ERROR);
}