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
1=== modified file 'client/drizzle.cc'
2--- client/drizzle.cc 2010-11-07 12:27:27 +0000
3+++ client/drizzle.cc 2010-11-10 16:46:09 +0000
4@@ -1363,13 +1363,13 @@
5 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."))
6 ("disable-tee", po::value<bool>()->default_value(false)->zero_tokens(),
7 N_("Disable outfile. See interactive help (\\h) also."))
8- ("connect_timeout", po::value<uint32_t>(&opt_connect_timeout)->default_value(0)->notifier(&check_timeout_value),
9+ ("connect-timeout", po::value<uint32_t>(&opt_connect_timeout)->default_value(0)->notifier(&check_timeout_value),
10 N_("Number of seconds before connection timeout."))
11- ("max_input_line", po::value<uint32_t>(&opt_max_input_line)->default_value(16*1024L*1024L)->notifier(&check_max_input_line),
12+ ("max-input-line", po::value<uint32_t>(&opt_max_input_line)->default_value(16*1024L*1024L)->notifier(&check_max_input_line),
13 N_("Max length of input line"))
14- ("select_limit", po::value<uint32_t>(&select_limit)->default_value(1000L),
15+ ("select-limit", po::value<uint32_t>(&select_limit)->default_value(1000L),
16 N_("Automatic limit for SELECT when using --safe-updates"))
17- ("max_join_size", po::value<uint32_t>(&max_join_size)->default_value(1000000L),
18+ ("max-join-size", po::value<uint32_t>(&max_join_size)->default_value(1000000L),
19 N_("Automatic limit for rows in a join when using --safe-updates"))
20 ;
21
22
23=== modified file 'tests/lib/dtr_process.pl'
24--- tests/lib/dtr_process.pl 2010-10-07 19:35:15 +0000
25+++ tests/lib/dtr_process.pl 2010-11-10 16:46:09 +0000
26@@ -692,7 +692,7 @@
27 dtr_add_arg($args, "--port=%s", $srv->{'port'});
28 }
29
30- dtr_add_arg($args, "--connect_timeout=5");
31+ dtr_add_arg($args, "--connect-timeout=5");
32
33 my $pid= dtr_spawn($::exe_drizzle, $args,
34 "", "", "", "", { append_log_file => 1 });

Subscribers

People subscribed via source and target branches