Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS-7200: Merge MySQL 5.6.50 part 1 (up to e453966634c2834c0886e0e3866e6e13c6cee00e) #4096

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MYSQL_VERSION_MAJOR=5
MYSQL_VERSION_MINOR=6
MYSQL_VERSION_PATCH=49
MYSQL_VERSION_EXTRA=-89.0
MYSQL_VERSION_PATCH=50
MYSQL_VERSION_EXTRA=-90.0
5 changes: 3 additions & 2 deletions include/my_base.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
Expand Down Expand Up @@ -496,7 +496,8 @@ is the global server default. */
#define HA_ERR_INNODB_FORCED_RECOVERY 190 /* Innodb is in force recovery mode */
#define HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE 191 /* Too many words in a phrase */
#define HA_ERR_DEST_SCHEMA_NOT_EXIST 192 /* Destination schema does not exist */
#define HA_ERR_LAST 192 /* Copy of last error nr */
#define HA_ERR_FTS_TOO_MANY_NESTED_EXP 193 /* Too many sub-expression in search string */
#define HA_ERR_LAST 193 /* Copy of last error nr */

/* Number of different errors */
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
Expand Down
4 changes: 2 additions & 2 deletions man/comp_err.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBcomp_err\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBCOMP_ERR\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBCOMP_ERR\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/innochecksum.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBinnochecksum\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBINNOCHECKSUM\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBINNOCHECKSUM\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/msql2mysql.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmsql2mysql\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMSQL2MYSQL\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMSQL2MYSQL\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/my_print_defaults.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmy_print_defaults\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMY_PRINT_DEFAULTS\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMY_PRINT_DEFAULTS\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/myisam_ftdump.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmyisam_ftdump\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYISAM_FTDUMP\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYISAM_FTDUMP\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions man/myisamchk.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmyisamchk\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYISAMCHK\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYISAMCHK\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -2050,7 +2050,8 @@ Key: 2: Keyblocks used: 99% Packed: 97% Max levels: 3
\- check data record references index: 3
Key: 3: Keyblocks used: 98% Packed: \-14% Max levels: 3
Total: Keyblocks used: 98% Packed: 89%
\- check records and index references\fI*** LOTS OF ROW NUMBERS DELETED ***\fR
\- check records and index references
\fI*** LOTS OF ROW NUMBERS DELETED ***\fR
Records: 306688 M\&.recordlength: 25 Packed: 83%
Recordspace used: 97% Empty space: 2% Blocks/Record: 1\&.00
Record blocks: 306688 Delete blocks: 0
Expand Down
4 changes: 2 additions & 2 deletions man/myisamlog.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmyisamlog\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYISAMLOG\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYISAMLOG\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/myisampack.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmyisampack\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYISAMPACK\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYISAMPACK\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
39 changes: 29 additions & 10 deletions man/mysql.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -262,7 +262,7 @@ mysql> \fBSELECT CHAR(0x41), UNHEX(\*(Aq41\*(Aq);\fR
.IP \(bu 2.3
.\}
\fB\-\-binary\-as\-hex\fR
disabled:
enabled:
.sp
.if n \{\
.RS 4
Expand Down Expand Up @@ -427,7 +427,10 @@ Write column names in results\&.
.IP \(bu 2.3
.\}
\fB\-\-column\-type\-info\fR
Display result set metadata\&.
Display result set metadata\&. This information corresponds to the contents of C API
MYSQL_FIELD
data structures\&. See
\m[blue]\fBC API Data Structures\fR\m[]\&\s-2\u[1]\d\s+2\&.
.RE
.sp
.RS 4
Expand Down Expand Up @@ -458,7 +461,7 @@ Whether to strip or preserve comments in statements sent to the server\&. The de
\fB\-\-compress\fR,
\fB\-C\fR
Compress all information sent between the client and the server if possible\&. See
Section\ \&4.2.5, \(lqConnection Compression Control\(rq\&.
Section\ \&4.2.6, \(lqConnection Compression Control\(rq\&.
.RE
.sp
.RS 4
Expand Down Expand Up @@ -1223,8 +1226,8 @@ the section called \(lqMYSQL CLIENT COMMANDS\(rq\&.
.IP \(bu 2.3
.\}
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally result in use of a protocol other than the one you want\&. For details on the permissible values, see
Section\ \&4.2.4, \(lqConnecting to the MySQL Server Using Command Options\(rq\&.
The transport protocol to use for connecting to the server\&. It is useful when the other connection parameters normally result in use of a protocol other than the one you want\&. For details on the permissible values, see
Section\ \&4.2.5, \(lqConnection Transport Protocols\(rq\&.
.RE
.sp
.RS 4
Expand Down Expand Up @@ -1891,7 +1894,7 @@ is set to something other than the default of
;, instances of that character are sent to the server without interpretation\&. However, the server itself still interprets
;
as a statement delimiter and processes statements accordingly\&. This behavior on the server side comes into play for multiple\-statement execution (see
Section\ \&23.7.15, \(lqC API Multiple Statement Execution Support\(rq), and for parsing the body of stored procedures and functions, triggers, and events (see
\m[blue]\fBC API Multiple Statement Execution Support\fR\m[]\&\s-2\u[2]\d\s+2), and for parsing the body of stored procedures and functions, triggers, and events (see
Section\ \&20.1, \(lqDefining Stored Programs\(rq)\&.
.RE
.sp
Expand Down Expand Up @@ -3585,7 +3588,7 @@ Section\ \&8.3.1, \(lqHow MySQL Uses Indexes\(rq)\&. Suppose that an indexed str
c1
is compared to a numeric value using
WHERE c1 = 2222\&. For such comparisons, the string value is converted to a number and the operands are compared numerically (see
Section\ \&12.2, \(lqType Conversion in Expression Evaluation\(rq), preventing use of the index\&. If safe\-updates mode is enabled, an error occurs\&.
Section\ \&12.3, \(lqType Conversion in Expression Evaluation\(rq), preventing use of the index\&. If safe\-updates mode is enabled, an error occurs\&.
Disabling mysql Auto\-Reconnect
.PP
If the
Expand Down Expand Up @@ -3629,7 +3632,7 @@ client with the
option\&.
.PP
For more information about auto\-reconnect and its effect on state information when a reconnection occurs, see
Section\ \&23.7.19, \(lqC API Automatic Reconnection Control\(rq\&.
\m[blue]\fBC API Automatic Reconnection Control\fR\m[]\&\s-2\u[3]\d\s+2\&.
mysql Client Parser Versus Server Parser
.PP
The
Expand Down Expand Up @@ -3708,6 +3711,22 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
.PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "NOTES"
.IP " 1." 4
C API Data Structures
.RS 4
\%https://dev.mysql.com/doc/c-api/5.6/en/c-api-data-structures.html
.RE
.IP " 2." 4
C API Multiple Statement Execution Support
.RS 4
\%https://dev.mysql.com/doc/c-api/5.6/en/c-api-multiple-queries.html
.RE
.IP " 3." 4
C API Automatic Reconnection Control
.RS 4
\%https://dev.mysql.com/doc/c-api/5.6/en/c-api-auto-reconnect.html
.RE
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available
Expand Down
12 changes: 6 additions & 6 deletions man/mysql.server.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql.server\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL\&.SERVER\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL\&.SERVER\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -282,10 +282,10 @@ T}:T{
Type
T}
.T&
l l l
l l l
l l l
l l l.
lB l l
lB l l
lB l l
lB l l.
T{
basedir
T}:T{
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_config.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_config\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_CONFIG\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_CONFIG\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_config_editor.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_config_editor\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_CONFIG_EDITOR\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_CONFIG_EDITOR\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_convert_table_format.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_convert_table_format\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_CONVERT_TABLE_FORMAT\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_CONVERT_TABLE_FORMAT\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_find_rows.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_find_rows\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_FIND_ROWS\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_FIND_ROWS\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_fix_extensions.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_fix_extensions\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_FIX_EXTENSIONS\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_FIX_EXTENSIONS\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_install_db.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_install_db\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_INSTALL_DB\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_INSTALL_DB\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions man/mysql_plugin.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: \fBmysql_plugin\fR
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 06/02/2020
.\" Date: 09/22/2020
.\" Manual: MySQL Database System
.\" Source: MySQL 5.6
.\" Language: English
.\"
.TH "\FBMYSQL_PLUGIN\FR" "1" "06/02/2020" "MySQL 5\&.6" "MySQL Database System"
.TH "\FBMYSQL_PLUGIN\FR" "1" "09/22/2020" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
Loading