1
/******************************************************
6
Created 6/25/1996 Heikki Tuuri
7
*******************************************************/
14
#include "trx0types.h"
16
#include "trx0types.h"
17
#include "usr0types.h"
18
#include "que0types.h"
19
#include "data0data.h"
22
/*************************************************************************
28
/* out, own: session object */
29
/*************************************************************************
30
Closes a session, freeing the memory occupied by it, if it is in a state
31
where it should be closed. */
36
/* out: TRUE if closed */
37
sess_t* sess); /* in, own: session object */
39
/* The session handle. All fields are protected by the kernel mutex */
41
ulint state; /* state of the session */
42
trx_t* trx; /* transaction object permanently
43
assigned for the session: the
44
transaction instance designated by the
45
trx id changes, but the memory
46
structure is preserved */
47
UT_LIST_BASE_NODE_T(que_t)
48
graphs; /* query graphs belonging to this
54
#define SESS_ERROR 2 /* session contains an error message
55
which has not yet been communicated
58
#include "usr0sess.ic"