~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

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{