MySQL 9.1.0
Source Code Documentation
s_mysql_mysql_ongoing_transactions_query Struct Reference

#include <ongoing_transaction_query_service.h>

Public Attributes

mysql_service_status_t(* get_ongoing_server_transactions )(unsigned long **thread_ids, unsigned long *length)
 Service that returns the list of thread ids for the currently running transactions in the server. More...
 

Member Data Documentation

◆ get_ongoing_server_transactions

mysql_service_status_t(* s_mysql_mysql_ongoing_transactions_query::get_ongoing_server_transactions) (unsigned long **thread_ids, unsigned long *length)

Service that returns the list of thread ids for the currently running transactions in the server.

Parameters
[out]thread_idsThe list of returned thread ids
[out]lengthThe number of transactions returned in the list
Note
the caller of this method must free the memory allocated for the list
Returns
false if everything when fine, true in case of failure

The documentation for this struct was generated from the following file: