~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-06 18:16:00 UTC
  • mto: (1818.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: brian@tangent.org-20101006181600-q7zuzw31zlq030ra
Convert sql_string to use size_t (this should clean up ICC warnings).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1996, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
44
44
sess_open(void);
45
45
/*============*/
46
46
/*********************************************************************//**
47
 
Closes a session, freeing the memory occupied by it. */
 
47
Closes a session, freeing the memory occupied by it, if it is in a state
 
48
where it should be closed.
 
49
@return TRUE if closed */
48
50
UNIV_INTERN
49
 
void
50
 
sess_close(
51
 
/*=======*/
52
 
        sess_t*         sess);          /* in, own: session object */
 
51
ibool
 
52
sess_try_close(
 
53
/*===========*/
 
54
        sess_t*         sess);  /*!< in, own: session object */
53
55
 
54
56
/* The session handle. All fields are protected by the kernel mutex */
55
57
struct sess_struct{