mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02:00
Additional Fix for BUG#40565 - Update Query Results in "1 Row Affected"
But Should Be "Zero Rows" After applying the innodb snapshot 5.0-ss5406 for bug#40565, the windows push build tests failed because of the missing cast of void * pointer in row0sel.c file Informed the innodb developers and received patch by email. innobase/row/row0sel.c: Cast the default_rec which is a void * pointer
This commit is contained in:
parent
498614a0a6
commit
729648c4b7
1 changed files with 2 additions and 1 deletions
|
|
@ -2527,7 +2527,8 @@ row_sel_store_mysql_rec(
|
|||
mysql_rec[templ->mysql_null_byte_offset] |=
|
||||
(byte) (templ->mysql_null_bit_mask);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue