summaryrefslogtreecommitdiff
path: root/storage/innobase/include/usr0sess.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/usr0sess.h')
-rw-r--r--storage/innobase/include/usr0sess.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/storage/innobase/include/usr0sess.h b/storage/innobase/include/usr0sess.h
index 7638a0c69e2..2c288f7d455 100644
--- a/storage/innobase/include/usr0sess.h
+++ b/storage/innobase/include/usr0sess.h
@@ -44,14 +44,12 @@ sess_t*
sess_open(void);
/*============*/
/*********************************************************************//**
-Closes a session, freeing the memory occupied by it, if it is in a state
-where it should be closed.
-@return TRUE if closed */
+Closes a session, freeing the memory occupied by it. */
UNIV_INTERN
-ibool
-sess_try_close(
-/*===========*/
- sess_t* sess); /*!< in, own: session object */
+void
+sess_close(
+/*=======*/
+ sess_t* sess); /* in, own: session object */
/* The session handle. All fields are protected by the kernel mutex */
struct sess_struct{