Bug #19082 ./mysql-test-run.pl incompatible --ddd version
Submitted: 13 Apr 2006 18:53 Modified: 9 May 2006 9:14
Reporter: Oleksandr Byelkin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0 OS:Linux (linux)
Assigned to: Magnus Blåudd CPU Architecture:Any

[13 Apr 2006 18:53] Oleksandr Byelkin
Description:
./mysql-test-run.pl with ---ddd set "single use" breakpoint mysql_parse() run mysqld when ./mysql-test-run do not run mysql and do not set breakpoints.

I always waswonder why --gdb run mysqld, because it frequently too late to set breakpoint on mysql_parse()

How to repeat:
cd mysql-test
./mysql-test-run.pl --ddd alias

Suggested fix:
repeat shell version behaviour
[18 Apr 2006 15:15] Magnus Blåudd
Sanja, what do you expect it to do when using --ddd?
[18 Apr 2006 16:07] Oleksandr Byelkin
Exactly the same what shell do:
load mysql and stop (do not run)
but have everything ready for run (issuing just run starts mysql with all needed parameters)
[21 Apr 2006 10:14] Magnus Blåudd
Looking at the code in the shell version it shure looks like the intention is to set breakpoints and run mysqld also when using ddd. But I can agree that why not let the user set breakpoints and press run. That is not the hard part of starting mysqld in the debugger.