summaryrefslogtreecommitdiff
path: root/include/mysql/plugin.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-12-12 19:18:49 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-12-12 19:18:49 +0400
commit1345a759229c3b42d54db5d0b7a276dece838fb8 (patch)
treec5e3d314d97fd2b4ca81e8945508d29770d6acb7 /include/mysql/plugin.h
parent67f514382b18356a981ac5023276aa1c5e11481f (diff)
downloadmariadb-git-1345a759229c3b42d54db5d0b7a276dece838fb8.tar.gz
MroongaSE: addint thd_autoinc and thd_error_context plugin services
Diffstat (limited to 'include/mysql/plugin.h')
-rw-r--r--include/mysql/plugin.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h
index bbfd93eb94a..ac2c93dfe31 100644
--- a/include/mysql/plugin.h
+++ b/include/mysql/plugin.h
@@ -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.