Merge lp:~linuxjedi/drizzle/trunk-bug-672312 into lp:drizzle/7.0

Proposed by Andrew Hutchings
Status: Merged
Approved by: Brian Aker
Approved revision: 1922
Merged at revision: 1925
Proposed branch: lp:~linuxjedi/drizzle/trunk-bug-672312
Merge into: lp:drizzle/7.0
Diff against target: 34 lines (+5/-5)
2 files modified
client/drizzle.cc (+4/-4)
tests/lib/dtr_process.pl (+1/-1)
To merge this branch: bzr merge lp:~linuxjedi/drizzle/trunk-bug-672312
Reviewer Review Type Date Requested Status
Drizzle Developers Pending
Review via email: mp+40552@code.launchpad.net

Description of the change

4 of the drizzle client options still used '_' instead of '-'. This fixes these

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'client/drizzle.cc'
--- client/drizzle.cc 2010-11-07 12:27:27 +0000
+++ client/drizzle.cc 2010-11-10 16:46:09 +0000
@@ -1363,13 +1363,13 @@
1363 N_("Append everything into outfile. See interactive help (\\h) also. Does not work in batch mode. Disable with --disable-tee. This option is disabled by default."))1363 N_("Append everything into outfile. See interactive help (\\h) also. Does not work in batch mode. Disable with --disable-tee. This option is disabled by default."))
1364 ("disable-tee", po::value<bool>()->default_value(false)->zero_tokens(), 1364 ("disable-tee", po::value<bool>()->default_value(false)->zero_tokens(),
1365 N_("Disable outfile. See interactive help (\\h) also."))1365 N_("Disable outfile. See interactive help (\\h) also."))
1366 ("connect_timeout", po::value<uint32_t>(&opt_connect_timeout)->default_value(0)->notifier(&check_timeout_value),1366 ("connect-timeout", po::value<uint32_t>(&opt_connect_timeout)->default_value(0)->notifier(&check_timeout_value),
1367 N_("Number of seconds before connection timeout."))1367 N_("Number of seconds before connection timeout."))
1368 ("max_input_line", po::value<uint32_t>(&opt_max_input_line)->default_value(16*1024L*1024L)->notifier(&check_max_input_line),1368 ("max-input-line", po::value<uint32_t>(&opt_max_input_line)->default_value(16*1024L*1024L)->notifier(&check_max_input_line),
1369 N_("Max length of input line"))1369 N_("Max length of input line"))
1370 ("select_limit", po::value<uint32_t>(&select_limit)->default_value(1000L),1370 ("select-limit", po::value<uint32_t>(&select_limit)->default_value(1000L),
1371 N_("Automatic limit for SELECT when using --safe-updates"))1371 N_("Automatic limit for SELECT when using --safe-updates"))
1372 ("max_join_size", po::value<uint32_t>(&max_join_size)->default_value(1000000L),1372 ("max-join-size", po::value<uint32_t>(&max_join_size)->default_value(1000000L),
1373 N_("Automatic limit for rows in a join when using --safe-updates"))1373 N_("Automatic limit for rows in a join when using --safe-updates"))
1374 ;1374 ;
13751375
13761376
=== modified file 'tests/lib/dtr_process.pl'
--- tests/lib/dtr_process.pl 2010-10-07 19:35:15 +0000
+++ tests/lib/dtr_process.pl 2010-11-10 16:46:09 +0000
@@ -692,7 +692,7 @@
692 dtr_add_arg($args, "--port=%s", $srv->{'port'});692 dtr_add_arg($args, "--port=%s", $srv->{'port'});
693 }693 }
694694
695 dtr_add_arg($args, "--connect_timeout=5");695 dtr_add_arg($args, "--connect-timeout=5");
696696
697 my $pid= dtr_spawn($::exe_drizzle, $args,697 my $pid= dtr_spawn($::exe_drizzle, $args,
698 "", "", "", "", { append_log_file => 1 });698 "", "", "", "", { append_log_file => 1 });

Subscribers

People subscribed via source and target branches