MySQL 9.1.0
Source Code Documentation
Sql_service_commands Class Reference

#include <sql_service_command.h>

Public Member Functions

long internal_kill_session (Sql_service_interface *sql_interface, void *session_id=nullptr)
 Method to kill the session identified by the given session id in those cases where the server hangs while executing the sql query. More...
 
long internal_clone_server (Sql_service_interface *sql_interface, void *variable_args=nullptr)
 Method to remotely clone a server. More...
 
long internal_execute_query (Sql_service_interface *sql_interface, void *variable_args=nullptr)
 Method to execute a given query. More...
 
long internal_execute_conditional_query (Sql_service_interface *sql_interface, void *variable_args=nullptr)
 Method to execute a given conditional query. More...
 

Member Function Documentation

◆ internal_clone_server()

long Sql_service_commands::internal_clone_server ( Sql_service_interface sql_interface,
void *  variable_args = nullptr 
)

Method to remotely clone a server.

Parameters
[in]sql_interfaceThe connection where to execute the query
[in]variable_argsTuple <string,string,string,string,bool,string>
Returns
the error value returned
Return values
0OK
!=0Error on execution

◆ internal_execute_conditional_query()

long Sql_service_commands::internal_execute_conditional_query ( Sql_service_interface sql_interface,
void *  variable_args = nullptr 
)

Method to execute a given conditional query.

Parameters
[in]sql_interfaceThe connection where to execute the query
[in]variable_argsTuple <string, bool, string>
Returns
the error value returned
Return values
0OK
!=0Error on execution

◆ internal_execute_query()

long Sql_service_commands::internal_execute_query ( Sql_service_interface sql_interface,
void *  variable_args = nullptr 
)

Method to execute a given query.

Parameters
[in]sql_interfaceThe connection where to execute the query
[in]variable_argsTuple <string, string>
Returns
the error value returned
Return values
0OK
!=0Error on execution

◆ internal_kill_session()

long Sql_service_commands::internal_kill_session ( Sql_service_interface sql_interface,
void *  session_id = nullptr 
)

Method to kill the session identified by the given session id in those cases where the server hangs while executing the sql query.

Parameters
sql_interfacethe server session interface for query execution
session_idid of the session to be killed.
Returns
the error value returned
Return values
0- success
>0- Failure

The documentation for this class was generated from the following files: