diff options
author | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2009-12-11 19:40:58 +0300 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2009-12-11 19:40:58 +0300 |
commit | ebdef570e552b93b693398f42c229cf77ab85965 (patch) | |
tree | ad3ff84791c35c7d8b2d47a60f0ea4cb409a0a31 /sql/sql_base.cc | |
parent | 567671368723c704d60902b4d0ccff951b414552 (diff) | |
parent | 684c7aba09583e54c5272cc3b0eec207afc87a39 (diff) | |
download | mariadb-git-ebdef570e552b93b693398f42c229cf77ab85965.tar.gz |
Manual merge of mysql-5.1-bugteam into mysql-trunk-merge.
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index a285f63dcb7..56535f8c325 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -5693,7 +5693,8 @@ find_field_in_view(THD *thd, TABLE_LIST *table_list, if (!my_strcasecmp(system_charset_info, field_it.name(), name)) { // in PS use own arena or data will be freed after prepare - if (register_tree_change && thd->stmt_arena->is_stmt_prepare_or_first_sp_execute()) + if (register_tree_change && + thd->stmt_arena->is_stmt_prepare_or_first_stmt_execute()) arena= thd->activate_stmt_arena_if_needed(&backup); /* create_item() may, or may not create a new Item, depending on |