summaryrefslogtreecommitdiff
path: root/tests/index_corrupt.pl
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-12-07 13:05:34 +0100
committerSergei Golubchik <serg@mariadb.org>2018-12-12 00:31:04 +0100
commit07e9b1389857a8c0fee1dfda443ae257982fd2c9 (patch)
tree879bfa4336527aabf9d1ce259a898df2a42fd1da /tests/index_corrupt.pl
parent97dbb3562b0b230e01605f00e441e8a70d10b6a8 (diff)
downloadmariadb-git-07e9b1389857a8c0fee1dfda443ae257982fd2c9.tar.gz
mysqld: ignore SIGHUP sent by the kernel
SIGHUP causes debug info in the error log and reload of logs/privileges/tables/etc. The server should only do it when a user intentionally sends SUGHUP, not when a parent terminal gets disconnected or something. In particular, not ignoring kernel SIGHUP causes FLUSH PRIVILEGES at some random point during non-systemd Debian upgrades (Debian restarts mysqld, debian-start script runs mysql_upgrade in the background, postinit script ends and kernel sends SIGHUP to all background processes it has started). And during mysql_upgrade privilege tables aren't necessarily ready to be reloaded.
Diffstat (limited to 'tests/index_corrupt.pl')
0 files changed, 0 insertions, 0 deletions