Skip to content

Commit 6eb6c61

Browse files
author
Tor Didriksen
committed
Bug#32115887: MYSQLD ERROR DURING SERVER STARTUP: TABLE 'MYSQL.SERVER_COST' DOESN'T EXIST
Post-push fix for broken build on Sun Studio: >> Assertion: (../lnk/foldconst.cc, line 3131) while processing sql/mysqld.cc at line 0. Change-Id: I53e86a57db2c4675872b07695d599ea70d43f5bc
1 parent e8bdd92 commit 6eb6c61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/mysqld.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -6008,7 +6008,8 @@ static int init_server_components() {
60086008
*/
60096009
init_optimizer_cost_module(true);
60106010
{ // New scope in which the error handler hook is modified.
6011-
auto restore_ehh = create_scope_guard([ehh_val = error_handler_hook]() {
6011+
auto ehh_val = error_handler_hook;
6012+
auto restore_ehh = create_scope_guard([ehh_val]() {
60126013
DBUG_ASSERT(ehh_val == my_message_stderr);
60136014
error_handler_hook = ehh_val;
60146015
});

0 commit comments

Comments
 (0)