summaryrefslogtreecommitdiff
path: root/storage/innobase/include/ha_prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/ha_prototypes.h')
-rw-r--r--storage/innobase/include/ha_prototypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/storage/innobase/include/ha_prototypes.h b/storage/innobase/include/ha_prototypes.h
index f4446ca32d2..6992f4a6689 100644
--- a/storage/innobase/include/ha_prototypes.h
+++ b/storage/innobase/include/ha_prototypes.h
@@ -137,6 +137,13 @@ thd_has_edited_nontrans_tables(
/*===========================*/
THD* thd); /*!< in: thread handle */
+/**
+Get high resolution timestamp for the current query start time.
+
+@retval timestamp in microseconds precision
+*/
+unsigned long long thd_query_start_micro(const MYSQL_THD thd);
+
/*************************************************************//**
Prints info of a THD object (== user session thread) to the given file. */
void