MySQL 8.0.40
Source Code Documentation
usr0sess.h File Reference

Sessions. More...

#include "data0data.h"
#include "que0types.h"
#include "rem0rec.h"
#include "srv0srv.h"
#include "trx0types.h"
#include "univ.i"
#include "usr0types.h"
#include "ut0byte.h"

Go to the source code of this file.

Classes

struct  sess_t
 

Functions

sess_tsess_open (void)
 Opens a session. More...
 
void sess_close (sess_t *sess)
 Closes a session, freeing the memory occupied by it. More...
 

Variables

constexpr uint32_t SESS_ACTIVE = 1
 
constexpr uint32_t SESS_ERROR = 2
 session contains an error message which has not yet been communicated to the client More...
 

Detailed Description

Sessions.

Created 6/25/1996 Heikki Tuuri

Function Documentation

◆ sess_close()

void sess_close ( sess_t sess)

Closes a session, freeing the memory occupied by it.

Parameters
sessin, own: session object

◆ sess_open()

sess_t * sess_open ( void  )

Opens a session.

Returns
own: session object

Variable Documentation

◆ SESS_ACTIVE

constexpr uint32_t SESS_ACTIVE = 1
constexpr

◆ SESS_ERROR

constexpr uint32_t SESS_ERROR = 2
constexpr

session contains an error message which has not yet been communicated to the client