summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-08-22 17:13:42 +0200
committerunknown <joerg@trift2.>2007-08-22 17:13:42 +0200
commitaf602784f6dec735ec41a1a4c2ff5096655938be (patch)
tree558b8d71a70fb5e5e31a5e1f7f67bf92449b1cd0 /sql/item_func.cc
parent7dd4e789586bef5141e1a1d4da4b7efc271708aa (diff)
parent9c872904c8b56e35307356aad870ad64563ae748 (diff)
downloadmariadb-git-af602784f6dec735ec41a1a4c2ff5096655938be.tar.gz
Manual merge of parallel development in separate team trees.
client/mysqldump.c: Auto merged sql/event_db_repository.cc: Auto merged sql/event_queue.cc: Auto merged sql/field.cc: Auto merged sql/item.cc: Auto merged sql/item_subselect.cc: Auto merged sql/log_event.h: Auto merged sql/sp.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_db.cc: Auto merged sql/sql_handler.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_plugin.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_show.cc: Auto merged sql/table.h: Auto merged sql/sql_yacc.yy: Manual merge.
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index f016aa6cd05..efc42c1b73f 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -4376,11 +4376,11 @@ int Item_func_set_user_var::save_in_field(Field *field, bool no_conversions,
else if (result_type() == DECIMAL_RESULT)
{
my_decimal decimal_value;
- my_decimal *value= entry->val_decimal(&null_value, &decimal_value);
+ my_decimal *val= entry->val_decimal(&null_value, &decimal_value);
if (null_value)
return set_field_to_null(field);
field->set_notnull();
- error=field->store_decimal(value);
+ error=field->store_decimal(val);
}
else
{