summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJimmy Yang <jimmy.yang@oracle.com>2010-08-17 01:19:24 -0700
committerJimmy Yang <jimmy.yang@oracle.com>2010-08-17 01:19:24 -0700
commitb17b122b7daa2f6fbc04ab7a32269d6f2d22cbfe (patch)
treeb34b13dad93e31f86abd6e9768f89d76c0b121b2 /include
parent524e0dc4d54205bebf7bd5d590246c215f0fb801 (diff)
downloadmariadb-git-b17b122b7daa2f6fbc04ab7a32269d6f2d22cbfe.tar.gz
Fix bug #53496 Use Lock_time in slow query log output for InnoDB row
lock wait time. Including the InnoDB lock time in the exiting "Lock_time" output.
Diffstat (limited to 'include')
-rw-r--r--include/mysql/plugin.h1
-rw-r--r--include/mysql/plugin.h.pp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h
index 19cf0ed050d..15f7d785ead 100644
--- a/include/mysql/plugin.h
+++ b/include/mysql/plugin.h
@@ -528,6 +528,7 @@ long long thd_test_options(const MYSQL_THD thd, long long test_options);
int thd_sql_command(const MYSQL_THD thd);
const char *thd_proc_info(MYSQL_THD thd, const char *info);
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);
char *thd_security_context(MYSQL_THD thd, char *buffer, unsigned int length,
unsigned int max_query_len);
diff --git a/include/mysql/plugin.h.pp b/include/mysql/plugin.h.pp
index 3a1b03742da..9d2877be5a2 100644
--- a/include/mysql/plugin.h.pp
+++ b/include/mysql/plugin.h.pp
@@ -154,6 +154,7 @@ long long thd_test_options(const void* thd, long long test_options);
int thd_sql_command(const void* thd);
const char *thd_proc_info(void* thd, const char *info);
void **thd_ha_data(const void* thd, const struct handlerton *hton);
+void thd_storage_lock_wait(void* thd, long long value);
int thd_tx_isolation(const void* thd);
char *thd_security_context(void* thd, char *buffer, unsigned int length,
unsigned int max_query_len);