summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@gleb.loc>2007-05-30 16:39:25 +0500
committerunknown <gshchepa/uchum@gleb.loc>2007-05-30 16:39:25 +0500
commit01f205049bcc43d4fd24b9c121d71a23df62d1b2 (patch)
tree07dfa9e2528452f0cb037504688ebd99baa1f7bc /sql/sql_update.cc
parenta5c232a0e0f991ab5af536f38ecdeb1ff1dfedbc (diff)
downloadmariadb-git-01f205049bcc43d4fd24b9c121d71a23df62d1b2.tar.gz
sql_update.cc:
Fixed bug #28716: additional patch to eliminate compilation error under Windows. sql/sql_update.cc: Fixed bug #28716: additional patch to eliminate compilation error under Windows.
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 5e62200f847..314f67c79c5 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -1529,8 +1529,9 @@ int multi_update::do_updates(bool from_send_error)
uint field_num= 0;
do
{
- if((local_error= tbl->file->rnd_pos(tbl->record[0],
- tmp_table->field[field_num]->ptr)))
+ if((local_error=
+ tbl->file->rnd_pos(tbl->record[0],
+ (byte *) tmp_table->field[field_num]->ptr)))
goto err;
field_num++;
} while((tbl= check_opt_it++));