123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #ifndef MYSQL_SERVICE_TRANSACTION_WRITE_SET_INCLUDED
- #ifndef MYSQL_ABI_CHECK
- #include <stdlib.h>
- #endif
- #ifdef __cplusplus
- extern "C" {
- #endif
- struct st_trans_write_set
- {
- unsigned int m_flags;
- unsigned long write_set_size;
- unsigned long long* write_set;
- };
- typedef struct st_trans_write_set Transaction_write_set;
- extern struct transaction_write_set_service_st {
- Transaction_write_set* (*get_transaction_write_set)(unsigned long m_thread_id);
- } *transaction_write_set_service;
- #ifdef MYSQL_DYNAMIC_PLUGIN
- #define get_transaction_write_set(m_thread_id) \
- (transaction_write_set_service->get_transaction_write_set((m_thread_id)))
- #else
- Transaction_write_set* get_transaction_write_set(unsigned long m_thread_id);
- #endif
- #ifdef __cplusplus
- }
- #endif
- #define MYSQL_SERVICE_TRANSACTION_WRITE_SET_INCLUDED
- #endif
|