Fix for 1008796: Several tools lack --database

This commit is contained in:
Brian Fraser
2013-03-06 12:11:54 -03:00
parent 50e978ee76
commit 188fe79ef1
9 changed files with 54 additions and 0 deletions

View File

@@ -6826,6 +6826,12 @@ type: Array
Read this comma-separated list of config files; if specified, this must be the Read this comma-separated list of config files; if specified, this must be the
first option on the command line. first option on the command line.
=item --database
short form: -D; type: string
Connect to this database.
=item --delayed-insert =item --delayed-insert
Add the DELAYED modifier to INSERT statements. Add the DELAYED modifier to INSERT statements.

View File

@@ -5348,6 +5348,12 @@ Read this comma-separated list of config files; if specified, this must be the
first option on the command line. (This option does not specify a CONFIG; first option on the command line. (This option does not specify a CONFIG;
it's equivalent to C<--defaults-file>.) it's equivalent to C<--defaults-file>.)
=item --database
short form: -D; type: string
Connect to this database.
=item --defaults-file =item --defaults-file
short form: -F; type: string short form: -F; type: string

View File

@@ -5077,6 +5077,12 @@ Normally the L<"--dest"> table is expected to exist already. This option
causes pt-deadlock-logger to create the table automatically using the suggested causes pt-deadlock-logger to create the table automatically using the suggested
table structure. table structure.
=item --database
short form: -D; type: string
Connect to this database.
=item --daemonize =item --daemonize
Fork to the background and detach from the shell. POSIX operating systems only. Fork to the background and detach from the shell. POSIX operating systems only.

View File

@@ -4285,6 +4285,12 @@ type: Array
Read this comma-separated list of config files; if specified, this must be the Read this comma-separated list of config files; if specified, this must be the
first option on the command line. first option on the command line.
=item --database
short form: -D; type: string
Connect to this database.
=item --day-start =item --day-start
Measure times (for L<"--mmin">, etc) from the beginning of today rather than Measure times (for L<"--mmin">, etc) from the beginning of today rather than

View File

@@ -4114,6 +4114,12 @@ type: Array
Read this comma-separated list of config files; if specified, this must be the Read this comma-separated list of config files; if specified, this must be the
first option on the command line. first option on the command line.
=item --database
short form: -D; type: string
Connect to this database.
=item --daemonize =item --daemonize
Fork to the background and detach from the shell. POSIX operating systems only. Fork to the background and detach from the shell. POSIX operating systems only.

View File

@@ -10669,6 +10669,12 @@ single value of Threads_running that is wrong for every server, but a default of
50 seems likely to be unacceptably high for most servers, indicating that the 50 seems likely to be unacceptably high for most servers, indicating that the
operation should be canceled immediately. operation should be canceled immediately.
=item --database
short form: -D; type: string
Connect to this database.
=item --default-engine =item --default-engine
Remove C<ENGINE> from the new table. Remove C<ENGINE> from the new table.

View File

@@ -14694,6 +14694,12 @@ This option causes the tables specified by L<"--review-table"> and
L<"--history-table"> to be created with the default structures shown L<"--history-table"> to be created with the default structures shown
in the documentation for L<"--review">. in the documentation for L<"--review">.
=item --database
short form: -D; type: string
Connect to this database.
=item --daemonize =item --daemonize
Fork to the background and detach from the shell. POSIX Fork to the background and detach from the shell. POSIX

View File

@@ -13429,6 +13429,12 @@ to SELECT statements, executed and compared.
For example, C<DELETE col FROM tbl WHERE id=1> is converted to For example, C<DELETE col FROM tbl WHERE id=1> is converted to
C<SELECT col FROM tbl WHERE id=1>. C<SELECT col FROM tbl WHERE id=1>.
=item --database
short form: -D; type: string
Connect to this database.
=item --daemonize =item --daemonize
Fork to the background and detach from the shell. POSIX Fork to the background and detach from the shell. POSIX

View File

@@ -5790,6 +5790,12 @@ runs SET NAMES UTF8 after connecting to MySQL. Any other value sets
binmode on STDOUT without the utf8 layer, and runs SET NAMES after binmode on STDOUT without the utf8 layer, and runs SET NAMES after
connecting to MySQL. connecting to MySQL.
=item --database
short form: -D; type: string
Connect to this database.
=item --config =item --config
type: Array type: Array