Tags: mancha1/mysql-server
Tags
Merge tag 'mysql-5.7.6' into mysql-5.7.7-rc-release. This is a null merge to include commits previously cherry-picked into 5.7.6 in the history of 5.7.7.
Bug #20730155: BACKPORT BUG#19699237 TO 5.1 Backport from mysql-5.5 to mysql-5.1 Bug# 19699237: UNINITIALIZED VARIABLE IN ITEM_FIELD::STR_RESULT LEADS TO INCORRECT BEHAVIOR ISSUE: ------ When the following conditions are satisfied in a query, a server crash occurs: a) Two rows are compared using a NULL-safe equal-to operator. b) Each of these rows belong to different charsets. SOLUTION: --------- When one charset is converted to another for comparision, the constructor of "Item_func_conv_charset" is called. This will attempt to use the Item_cache if the string is a constant. This check succeeds because the "used_table_map" of the Item_cache class is never set to the correct value. Since it is mistakenly assumed to be a constant, it tries to fetch the relevant null value related fields which are yet to be initialized. This results in valgrind issues and wrong results. The fix is to update the "used_table_map" of "Item_cache". This will allow "Item_func_conv_charset" to realise that this is not a constant.
Revert accidental bump of server version back to 5.6.23
BUG#19811871 VERSION NUMBR NOT SHOWN IN LOG WHEN [RE]STARTING 5.6.21 … …SERVICE WITH SLES11 REPO Log file directory had too strict access rights, server not able to write to log file. Signed-off-by: Terje Røsten <[email protected]>
Bug#20518217 M_I_DB SHOULD RUN WITH -V OPTION WITH DEPLOYMENT SCRIPTS… … TO GET ROOT PASSWORD Switch to new init mechanism offered by mysqld option --initialize, change align all rpm based installs. Signed-off-by: Terje Røsten <[email protected]> (cherry picked from commit 08592c3cfe370f5a9154f8a04515e2b709b75d15)
PreviousNext