~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/usr0sess.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-24 15:33:01 UTC
  • mto: (968.2.18 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: osullivan.padraig@gmail.com-20090324153301-90gw63j1lsie1k9j
Removing a very mis-leading comment from sql_locale.cc

The comment was totally wrong and read "This file is build from
my_locale.pl"

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
19
 
/**************************************************//**
20
 
@file include/usr0sess.h
 
19
/******************************************************
21
20
Sessions
22
21
 
23
22
Created 6/25/1996 Heikki Tuuri
36
35
#include "data0data.h"
37
36
#include "rem0rec.h"
38
37
 
39
 
/*********************************************************************//**
40
 
Opens a session.
41
 
@return own: session object */
 
38
/*************************************************************************
 
39
Opens a session. */
42
40
UNIV_INTERN
43
41
sess_t*
44
42
sess_open(void);
45
43
/*============*/
46
 
/*********************************************************************//**
47
 
Closes a session, freeing the memory occupied by it. */
 
44
                                        /* out, own: session object */
 
45
/*************************************************************************
 
46
Closes a session, freeing the memory occupied by it, if it is in a state
 
47
where it should be closed. */
48
48
UNIV_INTERN
49
 
void
50
 
sess_close(
51
 
/*=======*/
52
 
        sess_t*         sess);          /* in, own: session object */
 
49
ibool
 
50
sess_try_close(
 
51
/*===========*/
 
52
                                /* out: TRUE if closed */
 
53
        sess_t*         sess);  /* in, own: session object */
53
54
 
54
55
/* The session handle. All fields are protected by the kernel mutex */
55
56
struct sess_struct{
56
 
        ulint           state;          /*!< state of the session */
57
 
        trx_t*          trx;            /*!< transaction object permanently
 
57
        ulint           state;          /* state of the session */
 
58
        trx_t*          trx;            /* transaction object permanently
58
59
                                        assigned for the session: the
59
60
                                        transaction instance designated by the
60
61
                                        trx id changes, but the memory
61
62
                                        structure is preserved */
62
63
        UT_LIST_BASE_NODE_T(que_t)
63
 
                        graphs;         /*!< query graphs belonging to this
 
64
                        graphs;         /* query graphs belonging to this
64
65
                                        session */
65
66
};
66
67