Skip to content

Commit cb756cb

Browse files
author
Sven Sandberg
committed
Post-push fix: BUG#27619165: MTR UTILITY TO CRASH SERVER AND GET STACK TRACE
Use 'const' in one place.
1 parent 17a8482 commit cb756cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_parse.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3282,7 +3282,7 @@ int mysql_execute_command(THD *thd, bool first_level) {
32823282
Makes server crash when executing SET SESSION debug = 'd,crash_now';
32833283
See mysql-test/include/dbug_crash[_all].inc
32843284
*/
3285-
bool force_server_crash_dbug = false;
3285+
const bool force_server_crash_dbug = false;
32863286
DBUG_EXECUTE_IF("crash_now", DBUG_ASSERT(force_server_crash_dbug););
32873287
#endif
32883288

0 commit comments

Comments
 (0)