summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-03-18 15:21:06 +0200
committerbell@sanja.is.com.ua <>2004-03-18 15:21:06 +0200
commit613104ad2591e8958869b85172794cfb33eb2595 (patch)
tree55a6329f97a0caf55caa7c27ba9a689a9859565e /sql/sql_update.cc
parent1e0ccbd9b07f62051f8f5910c500932f0caae147 (diff)
parent2b45b53066da7181c9cd7551331c2439c03d8793 (diff)
downloadmariadb-git-613104ad2591e8958869b85172794cfb33eb2595.tar.gz
merge
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index ef953eb734d..42dd0895132 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -713,7 +713,7 @@ multi_update::initialize_tables(JOIN *join)
/* ok to be on stack as this is not referenced outside of this func */
Field_string offset(table->file->ref_length, 0, "offset",
table, &my_charset_bin);
- if (!(If=new Item_field(((Field *) &offset))))
+ if (!(If= new Item_field(((Field *) &offset), 1)))
DBUG_RETURN(1);
If->maybe_null=0;
if (temp_fields.push_front(If))