[MDEV-6461] mysqld should not trap SIGTSTP if running with --gdb/--debug-gdb Created: 2014-07-18  Updated: 2014-10-05  Resolved: 2014-10-05

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: 5.5.40, 10.0.15

Type: Task Priority: Trivial
Reporter: Kolbe Kegel (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

I sometimes run mysqld directly in the console for debugging purposes and it would be very convenient if I could use Ctrl-Z in my shell to stop mysqld and engage my shell's job management after mysqld is started.

Are there any objections to or problems with incorporating sigaddset(&set,SIGTSTP) in mysqld.cc into the tests for TEST_SIGINT so that SIGTSTP isn't trapped by mysqld?



 Comments   
Comment by Sergei Golubchik [ 2014-08-05 ]

I don't see any problems with that. Do you want it in 5.5 or 10.0?

Comment by Kolbe Kegel (Inactive) [ 2014-08-05 ]

Either/both would be great!

Generated at Thu Feb 08 07:12:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.