diff options
author | gshchepa/uchum@gleb.loc <> | 2007-05-30 16:39:25 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-05-30 16:39:25 +0500 |
commit | 64ff9e4d6fb8a2229a59b854ae75e568d8c654a6 (patch) | |
tree | 07dfa9e2528452f0cb037504688ebd99baa1f7bc /sql/sql_update.cc | |
parent | 0362400f317c387b09b00eed83e7976bdc5ddc35 (diff) | |
download | mariadb-git-64ff9e4d6fb8a2229a59b854ae75e568d8c654a6.tar.gz |
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.cc | 5 |
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++)); |