diff options
author | unknown <sergefp@mysql.com> | 2004-04-05 19:52:10 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-04-05 19:52:10 +0400 |
commit | fbfdff7fb0b0e508db55151480c0135376b2bcd2 (patch) | |
tree | 407b4365ecfe2d3c7bbae1190bc79ebb9fc9ba5c /sql/sql_class.h | |
parent | 66de313563a74099d416767fec884ab590530d31 (diff) | |
parent | ef8a5401f146e0aa17d9cc342c52a82e16e7c6ef (diff) | |
download | mariadb-git-fbfdff7fb0b0e508db55151480c0135376b2bcd2.tar.gz |
Post-merge fixes
sql/item.cc:
Auto merged
sql/item.h:
Auto merged
sql/lex.h:
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
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 20983074eed..31e9dd494cd 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -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; /* @@ -1276,6 +1282,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) */ |