diff options
author | heikki@hundin.mysql.fi <> | 2004-06-17 11:57:45 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2004-06-17 11:57:45 +0300 |
commit | bfb0e28499a72761af2f41a5e0448dfca9d0ec6c (patch) | |
tree | ba9a44c75175f84c171bb8f340978de12ae2db1b /innobase/include/usr0sess.h | |
parent | 46d0e6777c45e750be4927a3998582a375ee341d (diff) | |
download | mariadb-git-bfb0e28499a72761af2f41a5e0448dfca9d0ec6c.tar.gz |
Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040525171209|56870
Diffstat (limited to 'innobase/include/usr0sess.h')
-rw-r--r-- | innobase/include/usr0sess.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/include/usr0sess.h b/innobase/include/usr0sess.h index aeff7191e68..c7bcfb20fed 100644 --- a/innobase/include/usr0sess.h +++ b/innobase/include/usr0sess.h @@ -38,6 +38,7 @@ sess_try_close( /* The session handle. All fields are protected by the kernel mutex */ struct sess_struct{ + ulint state; /* state of the session */ trx_t* trx; /* transaction object permanently assigned for the session: the transaction instance designated by the @@ -48,6 +49,11 @@ struct sess_struct{ session */ }; +/* Session states */ +#define SESS_ACTIVE 1 +#define SESS_ERROR 2 /* session contains an error message + which has not yet been communicated + to the client */ #ifndef UNIV_NONINL #include "usr0sess.ic" #endif |