Merge lp:~vkolesnikov/pbxt/pbxt-bug-309424 into lp:pbxt

Proposed by Vladimir Kolesnikov
Status: Merged
Merged at revision: not available
Proposed branch: lp:~vkolesnikov/pbxt/pbxt-bug-309424
Merge into: lp:pbxt
Diff against target: None lines
To merge this branch: bzr merge lp:~vkolesnikov/pbxt/pbxt-bug-309424
Reviewer Review Type Date Requested Status
PBXT Core Pending
Review via email: mp+9054@code.launchpad.net
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 'ChangeLog'
--- ChangeLog 2009-07-13 12:15:15 +0000
+++ ChangeLog 2009-06-30 21:16:57 +0000
@@ -3,6 +3,8 @@
33
4------- 1.0.09 RC2 - Not released yet4------- 1.0.09 RC2 - Not released yet
55
6RN259: Fixed bug #309424: xtstat doesn't use my.cnf
7
6RN258: updated xt_p_join implementation for Windows to check if a thread has already exited or has not yet started8RN258: updated xt_p_join implementation for Windows to check if a thread has already exited or has not yet started
79
8RN257: Removed false assertion that could fail during restore if a transaction log page was zero-filled10RN257: Removed false assertion that could fail during restore if a transaction log page was zero-filled
911
=== modified file 'bin/xtstat_xt.cc'
--- bin/xtstat_xt.cc 2008-12-22 14:29:21 +0000
+++ bin/xtstat_xt.cc 2009-06-30 21:16:57 +0000
@@ -75,9 +75,9 @@
75 { OPT_HELP, '?', "help", 0,75 { OPT_HELP, '?', "help", 0,
76 "Prints help text", NULL, 0, false },76 "Prints help text", NULL, 0, false },
77 { OPT_HOST, 'h', "host", OPT_HAS_VALUE,77 { OPT_HOST, 'h', "host", OPT_HAS_VALUE,
78 "Connect to host", "localhost", 0, false },78 "Connect to host", NULL, 0, false },
79 { OPT_USER, 'u', "user", OPT_HAS_VALUE,79 { OPT_USER, 'u', "user", OPT_HAS_VALUE,
80 "User for login if not current user", "root", 0, false },80 "User for login if not current user", NULL, 0, false },
81 { OPT_PASSWORD, 'p', "password", OPT_HAS_VALUE | OPT_OPTIONAL,81 { OPT_PASSWORD, 'p', "password", OPT_HAS_VALUE | OPT_OPTIONAL,
82 "Password to use when connecting to server. If password is not given it's asked from the tty", NULL, 0, false },82 "Password to use when connecting to server. If password is not given it's asked from the tty", NULL, 0, false },
83 { OPT_DATABASE, 'd', "database", OPT_HAS_VALUE,83 { OPT_DATABASE, 'd', "database", OPT_HAS_VALUE,
@@ -85,7 +85,7 @@
85 { OPT_PORT, 'P', "port", OPT_HAS_VALUE | OPT_INTEGER,85 { OPT_PORT, 'P', "port", OPT_HAS_VALUE | OPT_INTEGER,
86 "Port number to use for connection", NULL, 3306, false },86 "Port number to use for connection", NULL, 3306, false },
87 { OPT_SOCKET, 'S', "socket", OPT_HAS_VALUE,87 { OPT_SOCKET, 'S', "socket", OPT_HAS_VALUE,
88 "Socket file to use for connection", "/tmp/mysql.sock", 0, false },88 "Socket file to use for connection", NULL, 0, false },
89 { OPT_DELAY, 'D', "delay", OPT_HAS_VALUE | OPT_INTEGER,89 { OPT_DELAY, 'D', "delay", OPT_HAS_VALUE | OPT_INTEGER,
90 "Delay in seconds between polls of the database", NULL, 1, false },90 "Delay in seconds between polls of the database", NULL, 1, false },
91 { OPT_PROTOCOL, 0, "protocol", OPT_HAS_VALUE,91 { OPT_PROTOCOL, 0, "protocol", OPT_HAS_VALUE,
@@ -586,6 +586,9 @@
586 if (mysql_options(conn, MYSQL_OPT_PROTOCOL, (char *) &type))586 if (mysql_options(conn, MYSQL_OPT_PROTOCOL, (char *) &type))
587 return false;587 return false;
588588
589 if (mysql_options(conn, MYSQL_READ_DEFAULT_GROUP, "xtstat"))
590 return false;
591
589 /* Connect to database */592 /* Connect to database */
590 if (!mysql_real_connect(conn,593 if (!mysql_real_connect(conn,
591 options[OPT_HOST].opt_value_str,594 options[OPT_HOST].opt_value_str,

Subscribers

People subscribed via source and target branches