mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MroongaSE: addint thd_autoinc and thd_error_context plugin services
This commit is contained in:
@ -75,7 +75,7 @@ typedef struct st_mysql_xid MYSQL_XID;
|
||||
#define MYSQL_PLUGIN_INTERFACE_VERSION 0x0104
|
||||
|
||||
/* MariaDB plugin interface version */
|
||||
#define MARIA_PLUGIN_INTERFACE_VERSION 0x0107
|
||||
#define MARIA_PLUGIN_INTERFACE_VERSION 0x0108
|
||||
|
||||
/*
|
||||
The allowable types of plugins
|
||||
@ -622,11 +622,15 @@ void **thd_ha_data(const MYSQL_THD thd, const struct handlerton *hton);
|
||||
void thd_storage_lock_wait(MYSQL_THD thd, long long value);
|
||||
int thd_tx_isolation(const MYSQL_THD thd);
|
||||
int thd_tx_is_read_only(const MYSQL_THD thd);
|
||||
#if MARIA_PLUGIN_INTERFACE_VERSION < 0x0200
|
||||
/**
|
||||
TODO: This function is for API compatibility, remove it eventually.
|
||||
All engines should switch to use thd_get_error_context_description()
|
||||
plugin service function.
|
||||
*/
|
||||
char *thd_security_context(MYSQL_THD thd, char *buffer, unsigned int length,
|
||||
unsigned int max_query_len);
|
||||
/* Increments the row counter, see THD::row_count */
|
||||
void thd_inc_row_count(MYSQL_THD thd);
|
||||
|
||||
#endif
|
||||
/**
|
||||
Create a temporary file.
|
||||
|
||||
|
Reference in New Issue
Block a user