It'd be useful for some plugins to read/store data from/to server tables.
So we can provide the service (as it is defined in the Plugin API) with that functionality.
The functions of that service look exactly as their counterparts from the client library, so users won't be needing extra documentation.
The decided set of functions is:
So that the plugin can do calls like
and it's supposed to work as it does with the client library. The only addition is the
MYSQL_CONNECT_LOCAL option. Connection of that sort attaches to the server itself.
These local queries handled using Server_runnable class model.