diff options
author | unknown <acurtis/antony@ltamd64.xiphis.org> | 2007-05-04 23:35:14 -0700 |
---|---|---|
committer | unknown <acurtis/antony@ltamd64.xiphis.org> | 2007-05-04 23:35:14 -0700 |
commit | 72e0d8b40bcc9f7969eaf937bfcb4b34d114916c (patch) | |
tree | 56b4a36694de3fd3fdb494ae00d38cd3f38d7c3d /sql/sql_lex.h | |
parent | 70d440ace34f3897c8930975069cc960df47fc6e (diff) | |
parent | cd3ced79e9670f3dead8d4613d697f8c01db3d48 (diff) | |
download | mariadb-git-72e0d8b40bcc9f7969eaf937bfcb4b34d114916c.tar.gz |
Merge xiphis.org:/home/antony/work2/mysql-5.1-engines
into xiphis.org:/home/antony/work2/mysql-5.1-engines.merge
include/my_global.h:
Auto merged
mysql-test/mysql-test-run.pl:
Auto merged
scripts/mysql_install_db.sh:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/item_sum.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/table.cc:
Auto merged
sql/table.h:
Auto merged
storage/innobase/handler/ha_innodb.cc:
manual change to new api
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 5a0e6bfdd0c..cc77bfe131a 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1026,6 +1026,11 @@ typedef struct st_lex : public Query_tables_list XID *xid; gptr yacc_yyss,yacc_yyvs; THD *thd; + + /* maintain a list of used plugins for this LEX */ + DYNAMIC_ARRAY plugins; + plugin_ref plugins_static_buffer[INITIAL_LEX_PLUGIN_LIST_SIZE]; + CHARSET_INFO *charset, *underscore_charset; /* store original leaf_tables for INSERT SELECT and PS/SP */ TABLE_LIST *leaf_tables_insert; @@ -1224,6 +1229,8 @@ typedef struct st_lex : public Query_tables_list virtual ~st_lex() { destroy_query_tables_list(); + plugin_unlock_list(NULL, (plugin_ref *)plugins.buffer, plugins.elements); + delete_dynamic(&plugins); } inline void uncacheable(uint8 cause) |