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
commit8c3afee9b702461017a15638c0ef267d74a285eb (patch)
tree07dfa9e2528452f0cb037504688ebd99baa1f7bc /sql/sql_update.cc
parent5d9f833cb54ac8081227202487605092049cf533 (diff)
downloadmariadb-git-8c3afee9b702461017a15638c0ef267d74a285eb.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++));