#At file:///home/msvensson/mysql/5.1-rpl/
2658 Magnus Svensson 2008-08-25
Bug#33337, silently convert --gdb(etc.) to --client-gdb in embedded mode
modified:
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2008-08-11 08:41:12 +0000
+++ b/mysql-test/mysql-test-run.pl 2008-08-25 08:27:24 +0000
@@ -1048,6 +1048,28 @@ sub command_line_setup {
mtr_error("Can't use --extern with --embedded-server");
}
+
+ if ($opt_gdb)
+ {
+ mtr_warning("Silently converting --gdb to --client-gdb in embedded mode");
+ $opt_client_gdb= $opt_gdb;
+ $opt_gdb= undef;
+ }
+
+ if ($opt_ddd)
+ {
+ mtr_warning("Silently converting --ddd to --client-ddd in embedded mode");
+ $opt_client_ddd= $opt_ddd;
+ $opt_ddd= undef;
+ }
+
+ if ($opt_debugger)
+ {
+ mtr_warning("Silently converting --debugger to --client-debugger in embedded mode");
+ $opt_client_debugger= $opt_debugger;
+ $opt_debugger= undef;
+ }
+
if ( $opt_gdb || $opt_ddd || $opt_manual_gdb || $opt_manual_ddd ||
$opt_manual_debug || $opt_debugger )
{
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (msvensson:2658) Bug#33337 | Magnus Svensson | 26 Aug |