summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-01-26 04:35:54 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-01-26 04:35:54 +0100
commit57b6cb39aa268a49ad05f86025386ddde6516670 (patch)
treef42cc3ac4dfd9b7d45b57c3126b19755e604ec62 /sql/sql_class.cc
parent7ed6530a066ab1e1659c39ee614e503462d8d403 (diff)
downloadmariadb-git-57b6cb39aa268a49ad05f86025386ddde6516670.tar.gz
Further review points and simplify Windows implementation
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index fc1c05c236f..8b8d07a47eb 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -3918,6 +3918,7 @@ extern "C" bool thd_sqlcom_can_generate_row_events(const MYSQL_THD thd)
SYNOPSIS
thd_wait_begin()
thd Thread object
+ Can be NULL, in this case current THD is used.
wait_type Type of wait
1 -- short wait (e.g. for mutex)
2 -- medium wait (e.g. for disk io)
@@ -3945,6 +3946,7 @@ extern "C" void thd_wait_begin(MYSQL_THD thd, int wait_type)
when they waking up from a sleep/stall.
@param thd Thread handle
+ Can be NULL, in this case current THD is used.
*/
extern "C" void thd_wait_end(MYSQL_THD thd)
{