From da24a208dd2b327d2b07084198a282c3ec998d8b Mon Sep 17 00:00:00 2001 From: Jimmy Yang Date: Tue, 17 Aug 2010 01:19:24 -0700 Subject: 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. --- include/mysql/plugin.h.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mysql/plugin.h.pp') 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); -- cgit v1.2.1