mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge
sql/item.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_yacc.yy: SCCS merged
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