Commit 9e8ba276 authored by marko's avatar marko

branches/zip: row_sel_store_mysql_rec(): Add missing pointer cast.

Do not do arithmetics on void pointers.
parent 4a447cde
...@@ -2782,7 +2782,8 @@ row_sel_store_mysql_rec( ...@@ -2782,7 +2782,8 @@ row_sel_store_mysql_rec(
mysql_rec[templ->mysql_null_byte_offset] mysql_rec[templ->mysql_null_byte_offset]
|= (byte) templ->mysql_null_bit_mask; |= (byte) templ->mysql_null_bit_mask;
memcpy(mysql_rec + templ->mysql_col_offset, memcpy(mysql_rec + templ->mysql_col_offset,
prebuilt->default_rec + templ->mysql_col_offset, (const byte*) prebuilt->default_rec
+ templ->mysql_col_offset,
templ->mysql_col_len); templ->mysql_col_len);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment