MySQL 9.1.0
Source Code Documentation
statement.h File Reference
#include <cstddef>
#include <forward_list>
#include <new>
#include <string>
#include <string_view>
#include "lex_string.h"
#include "my_alloc.h"
#include "my_inttypes.h"
#include "mysql_time.h"
#include "sql/current_thd.h"
#include "sql/sql_class.h"
#include "sql/sql_cursor.h"
#include "sql/sql_prepare.h"
#include "sql/statement/protocol_local_v2.h"
#include "sql/statement/statement_runnable.h"
#include "utils.h"

Go to the source code of this file.

Classes

class  Statement_handle
 Statement_handle is similar to Ed_connection. More...
 
class  Regular_statement_handle
 Regular_statement_handle enables execution of all SQL statements except for prepared statements. More...
 
class  Prepared_statement_handle
 Prepared_statement_handle enables support for prepared statement execution. More...
 

Macros

#define STMT_HANDLE_PSI_STATEMENT_INFO_COUNT   6
 Number of PSI_statement_info instruments for Statement handles. More...
 

Functions

int dummy_function_to_ensure_we_are_linked_into_the_server ()
 There must be one function of this kind in order for the symbols in the server's dynamic library to be visible to components. More...
 
void init_statement_handle_interface_psi_keys ()
 Initializes Statement Handles PFS statement instrumentation information instances. More...
 

Variables

static constexpr unsigned short MAX_REGULAR_STATEMENT_HANDLES_LIMIT {1024}
 Max limit for Regular Statement Handles in use. More...
 

Macro Definition Documentation

◆ STMT_HANDLE_PSI_STATEMENT_INFO_COUNT

#define STMT_HANDLE_PSI_STATEMENT_INFO_COUNT   6

Number of PSI_statement_info instruments for Statement handles.

Function Documentation

◆ dummy_function_to_ensure_we_are_linked_into_the_server()

int dummy_function_to_ensure_we_are_linked_into_the_server ( )

There must be one function of this kind in order for the symbols in the server's dynamic library to be visible to components.

◆ init_statement_handle_interface_psi_keys()

void init_statement_handle_interface_psi_keys ( )

Initializes Statement Handles PFS statement instrumentation information instances.

Variable Documentation

◆ MAX_REGULAR_STATEMENT_HANDLES_LIMIT

constexpr unsigned short MAX_REGULAR_STATEMENT_HANDLES_LIMIT {1024}
staticconstexpr

Max limit for Regular Statement Handles in use.