mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge
This commit is contained in:
@ -594,6 +594,12 @@ public:
|
||||
struct system_variables variables; // Changeable local variables
|
||||
pthread_mutex_t LOCK_delete; // Locked before thd is deleted
|
||||
|
||||
/*
|
||||
statement_name -> (Statement*) map of statements prepared using SQL syntax.
|
||||
Hash element is SQL_PREP_STMT_ENTRY.
|
||||
*/
|
||||
HASH sql_prepared_stmts;
|
||||
|
||||
/* all prepared statements and cursors of this connection */
|
||||
Statement_map stmt_map;
|
||||
/*
|
||||
@ -1270,6 +1276,14 @@ class user_var_entry
|
||||
DTCollation collation;
|
||||
};
|
||||
|
||||
class Prepared_statement;
|
||||
/* Needed by THD::sql_prepared_stmts */
|
||||
typedef struct st_sql_prep_stmt_entry
|
||||
{
|
||||
public:
|
||||
LEX_STRING name;
|
||||
Prepared_statement *stmt;
|
||||
}SQL_PREP_STMT_ENTRY;
|
||||
|
||||
/* Class for unique (removing of duplicates) */
|
||||
|
||||
|
Reference in New Issue
Block a user