PT-1851 Formatting escape chars as code. Other fixes for Sphinx warnings.

This commit is contained in:
Paul Jacobs
2020-05-29 15:03:43 +03:00
parent b230a9da96
commit c9836d5962
8 changed files with 22 additions and 18 deletions

View File

@@ -7696,8 +7696,8 @@ Example:
The file's contents are in the same format used by SELECT INTO OUTFILE, as
documented in the MySQL manual: rows terminated by newlines, columns
terminated by tabs, NULL characters are represented by \N, and special
characters are escaped by \. This lets you reload a file with LOAD DATA
terminated by tabs, NULL characters are represented by C<\N>, and special
characters are escaped by C<\>. This lets you reload a file with LOAD DATA
INFILE's default settings.
If you want a column header at the top of the file, see L<"--header">. The file
@@ -7856,8 +7856,10 @@ type: string
Used with L<"--file"> to specify the output format.
Valid formats are:
dump: MySQL dump format using tabs as field separator (default)
csv : Dump rows using ',' as separator and optionally enclosing fields by '"'.
- dump: MySQL dump format using tabs as field separator (default)
- csv : Dump rows using ',' as separator and optionally enclosing fields by '"'.
This format is equivalent to FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'.
=item --password
@@ -7887,10 +7889,10 @@ Specify the Perl module name of a general-purpose plugin. It is currently used
only for statistics (see L<"--statistics">) and must have C<new()> and a
C<statistics()> method.
The C<new( src => $src, dst => $dst, opts => $o )> method gets the source
The C<new( src =E<gt> $src, dst =E<gt> $dst, opts =E<gt> $o )> method gets the source
and destination DSNs, and their database connections, just like the
connection-specific plugins do. It also gets an OptionParser object (C<$o>) for
accessing command-line options (example: C<$o->get('purge');>).
accessing command-line options (example: C<$o-E<gt>get('purge');>).
The C<statistics(\%stats, $time)> method gets a hashref of the statistics
collected by the archiving job, and the time the whole job started.

View File

@@ -1993,7 +1993,7 @@ then compared to L<"--threshold"> as usual. The C<$EXT_ARGV> variable
contains the MySQL options mentioned in the L<"SYNOPSIS"> above.
The file should not alter the tool's existing global variables. Prefix any
file-specific global variables with "PLUGIN_" or make them local.
file-specific global variables with C<PLUGIN_> or make them local.
=item --help

View File

@@ -13324,7 +13324,8 @@ first option on the command line.
See the L<"--help"> output for a list of default config files.
=item --[no]create-replicate-table
=item --create-replicate-table
=item --no-create-replicate-table
default: yes
@@ -13687,7 +13688,7 @@ structure (MAGIC_create_replicate):
Note: lower_boundary and upper_boundary data type can be BLOB. See L<"--binary-index">.
By default, L<"--[no]create-replicate-table"> is true, so the database and
By default, L<"--create-replicate-table"> is true, so the database and
the table specified by this option are created automatically if they do not
exist.

View File

@@ -59,6 +59,8 @@ Miscellaneous
:maxdepth: 2
bugs
ipv6_support
special_option_types
authors
copyright_license_and_warranty
version

View File

@@ -110,8 +110,7 @@ New features
* :jirabug:`PT-1571`: Improved hostname recognition in ``pt-secure-collect``
* :jirabug:`PT-1569`: Disabled ``--alter-foreign-keys-method=drop_swap`` in ``pt-online-schema-change``
* :jirabug:`PT-242`: (``pt-stalk``) Include ``SHOW SLAVE STATUS`` on MySQL 5.7 (Thanks `Marcelo Altmann <https://www.p
ercona.com/blog/author/marcelo-altmann/>`_)
* :jirabug:`PT-242`: (``pt-stalk``) Include ``SHOW SLAVE STATUS`` on MySQL 5.7 (Thanks `Marcelo Altmann <https://www.percona.com/blog/author/marcelo-altmann/>`_)
Fixed bugs