summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-06-03 00:02:47 +0400
committerunknown <konstantin@mysql.com>2005-06-03 00:02:47 +0400
commit892032a2c2db6ecbe983578132f34ce8dc596048 (patch)
treefc14b1c1768a454bb3c2e61001bce454073be9ae /sql/item.cc
parent198550e39b8741cccca0e936f608ca6b1c8dd70a (diff)
downloadmariadb-git-892032a2c2db6ecbe983578132f34ce8dc596048.tar.gz
Give Item_arena::is_stmt_prepare a more descriptive name (it marks
the code that is active for SP as well in 5.0) sql/item.cc: Rename of an Item_arena method. sql/item_subselect.cc: Rename of an Item_arena method. sql/sql_class.h: Rename of an Item_arena method. sql/sql_parse.cc: Rename of an Item_arena method. sql/sql_union.cc: Rename of an Item_arena method.
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 0db9a56055f..a9c1ef7198e 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1027,7 +1027,7 @@ Item_field::Item_field(THD *thd, Field *f)
structure can go away and pop up again between subsequent executions
of a prepared statement).
*/
- if (thd->current_arena->is_stmt_prepare())
+ if (thd->current_arena->is_stmt_prepare_or_first_sp_execute())
{
if (db_name)
orig_db_name= thd->strdup(db_name);