Update to MySQL 5.6.15

This commit is contained in:
Honza Horák 2013-12-10 13:28:18 +01:00
parent 458c978869
commit 1d21d16ef4
7 changed files with 161 additions and 332 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/mysql-5.5.32-nodocs.tar.xz /mysql-5.5.32-nodocs.tar.xz
/mysql-5.5.33-nodocs.tar.xz /mysql-5.5.33-nodocs.tar.xz
/mysql-5.6.14-nodocs.tar.xz /mysql-5.6.14-nodocs.tar.xz
/mysql-5.6.15.tar.gz

View File

@ -1,115 +0,0 @@
------------------------------------------------------------
revno: 5459
committer: horst.hunger@oracle.com
branch nick: mysql-trunk
timestamp: Tue 2013-04-02 11:24:05 +0200
message:
Changes concerning secure-file-prev.
diff:
=== added file 'mysql-test/suite/parts/t/partition_max_parts_hash_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_hash_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_hash_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_hash_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_hash_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_hash_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_inv_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_inv_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_inv_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_inv_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_inv_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_inv_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_key_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_key_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_key_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_key_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_key_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_key_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_list_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_list_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_list_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_list_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_list_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_list_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_range_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_range_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_range_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_parts_range_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_parts_range_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_parts_range_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_key_list_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_key_list_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_key_list_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_key_list_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_key_list_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_key_list_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_key_range_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_key_range_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_key_range_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_key_range_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_key_range_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_key_range_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_list_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_list_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_list_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_list_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_list_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_list_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_range_innodb-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_range_innodb-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_range_innodb-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR
=== added file 'mysql-test/suite/parts/t/partition_max_sub_parts_range_myisam-master.opt'
--- mysql-test/suite/parts/t/partition_max_sub_parts_range_myisam-master.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/parts/t/partition_max_sub_parts_range_myisam-master.opt revid:horst.hunger@oracle.com-20130402092405-rqh6m9smqjwozxh4
@@ -0,0 +1,1 @@
+--secure-file-priv=$MYSQL_TMP_DIR

View File

@ -1,26 +1,17 @@
Upstream chooses to install INFO_SRC and INFO_BIN into the docs dir, which diff -up mysql-5.6.15/mysql-test/t/file_contents.test.p19 mysql-5.6.15/mysql-test/t/file_contents.test
breaks at least two packaging commandments, so we put them into $libdir --- mysql-5.6.15/mysql-test/t/file_contents.test.p19 2013-12-09 18:44:48.425892516 +0100
instead. That means we have to hack the file_contents regression test +++ mysql-5.6.15/mysql-test/t/file_contents.test 2013-12-09 18:48:02.247150032 +0100
to know about this. @@ -39,6 +39,14 @@ if ($dir_bin =~ m|/usr/|) {
# If not it might be ULN so try that
Recommendation they change is at http://bugs.mysql.com/bug.php?id=61425 $dir_docs = glob "$dir_bin/share/doc/mysql-community-server*";
}
diff -Naur mysql-5.5.21.orig/mysql-test/t/file_contents.test mysql-5.5.21/mysql-test/t/file_contents.test
--- mysql-5.5.21.orig/mysql-test/t/file_contents.test 2012-01-31 06:28:15.000000000 -0500
+++ mysql-5.5.21/mysql-test/t/file_contents.test 2012-02-27 17:18:57.716087918 -0500
@@ -31,6 +31,15 @@
} else {
# RedHat: version number in directory name
$dir_docs = glob "$dir_docs/MySQL-server*";
+
+ # All the above is entirely wacko, because these files are not docs; + # All the above is entirely wacko, because these files are not docs;
+ # they should be kept in libdir instead. mtr does not provide a nice + # they should be kept in libdir instead. mtr does not provide a nice
+ # way to find libdir though, so we have to kluge it like this: + # way to find libdir though, so we have to kluge it like this:
+ if (-d "/usr/lib64/mysql") { + if (-d "/usr/lib64/mysql") {
+ $dir_docs = "/usr/lib64/mysql"; + $dir_docs = "/usr/lib64/mysql";
+ } else { + } else {
+ $dir_docs = "/usr/lib/mysql"; + $dir_docs = "/usr/lib/mysql";
+ } + }
} }
} else { } else {

View File

@ -1,21 +1,23 @@
Upstream bug: http://bugs.mysql.com/bug.php?id=69342
# Amalgamation of patches to various mysql man pages # Amalgamation of patches to various mysql man pages
# ===== mysqladmin manual page ===== # ===== mysqladmin manual page =====
diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1 diff -up mysql-5.6.15/man/mysql.1.p24 mysql-5.6.15/man/mysql.1
--- mysql-5.6.14/man/mysql.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysql.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysql.1 2013-10-10 07:40:19.743113287 +0200 +++ mysql-5.6.15/man/mysql.1 2013-12-10 12:28:29.055463911 +0100
@@ -137,7 +137,8 @@ Section\ \&4.2.3.4, \(lqCommand-Line Opt @@ -135,7 +135,8 @@ Section\ \&4.2.3.4, \(lqCommand-Line Opt
.\" mysql: help option .IP \(bu 2.3
.\" help option: mysql .\}
\fB\-\-help\fR, .\" mysql: help option.\" help option: mysql\fB\-\-help\fR,
-\fB\-?\fR -\fB\-?\fR
+\fB\-?\fR, +\fB\-?\fR,
+\fB\-I\fR +\fB\-I\fR
.sp .sp
Display a help message and exit\&. Display a help message and exit\&.
.RE .RE
@@ -370,6 +371,21 @@ Section\ \&6.3.6, \(lqPassword Expiratio @@ -346,6 +347,21 @@ Section\ \&6.3.6, \(lqPassword Expiratio
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -34,10 +36,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: database option .\" mysql: database option.\" database option: mysql\fB\-\-database=\fR\fB\fIdb_name\fR\fR,
.\" database option: mysql \fB\-D \fR\fB\fIdb_name\fR\fR
\fB\-\-database=\fR\fB\fIdb_name\fR\fR, .sp
@@ -481,6 +497,37 @@ Section\ \&10.5, \(lqCharacter Set Confi @@ -445,6 +461,37 @@ Section\ \&10.5, \(lqCharacter Set Confi
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -72,10 +74,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: delimiter option .\" mysql: delimiter option.\" delimiter option: mysql\fB\-\-delimiter=\fR\fB\fIstr\fR\fR
.\" delimiter option: mysql .sp
\fB\-\-delimiter=\fR\fB\fIstr\fR\fR Set the statement delimiter\&. The default is the semicolon character (\(lq;\(rq)\&.
@@ -696,6 +743,36 @@ has no effect if the server does not als @@ -636,6 +683,36 @@ has no effect if the server does not als
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -109,10 +111,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: named-commands option .\" mysql: named-commands option.\" named-commands option: mysql\fB\-\-named\-commands\fR,
.\" named-commands option: mysql \fB\-G\fR
\fB\-\-named\-commands\fR, .sp
@@ -721,13 +798,28 @@ the section called \(lqMYSQL COMMANDS\(r @@ -659,11 +736,26 @@ the section called \(lqMYSQL COMMANDS\(r
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -131,9 +133,7 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: no-auto-rehash option .\" mysql: no-auto-rehash option.\" no-auto-rehash option: mysql\fB\-\-no\-auto\-rehash\fR,
.\" no-auto-rehash option: mysql
\fB\-\-no\-auto\-rehash\fR,
\fB\-A\fR \fB\-A\fR
.sp .sp
This has the same effect as This has the same effect as
@ -142,7 +142,7 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
\fB\-\-auto\-rehash\fR\&. \fB\-\-auto\-rehash\fR\&.
.RE .RE
.sp .sp
@@ -755,6 +847,21 @@ Do not beep when errors occur\&. @@ -689,6 +781,21 @@ Do not beep when errors occur\&.
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -161,10 +161,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: one-database option .\" mysql: one-database option.\" one-database option: mysql\fB\-\-one\-database\fR,
.\" one-database option: mysql \fB\-o\fR
\fB\-\-one\-database\fR, .sp
@@ -963,6 +1070,21 @@ The TCP/IP port number to use for the co @@ -884,6 +991,21 @@ The TCP/IP port number to use for the co
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -183,10 +183,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: prompt option .\" mysql: prompt option.\" prompt option: mysql\fB\-\-prompt=\fR\fB\fIformat_str\fR\fR
.\" prompt option: mysql .sp
\fB\-\-prompt=\fR\fB\fIformat_str\fR\fR Set the prompt to the specified format\&. The default is
@@ -1172,6 +1294,36 @@ and renamed in 5\&.6\&.7 to @@ -1075,6 +1197,36 @@ and renamed in 5\&.6\&.7 to
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -220,10 +220,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: show-warnings option .\" mysql: show-warnings option.\" show-warnings option: mysql\fB\-\-show\-warnings\fR
.\" show-warnings option: mysql .sp
\fB\-\-show\-warnings\fR Cause warnings to be shown after each statement if there are any\&. This option applies to interactive and batch mode\&.
@@ -1225,6 +1377,21 @@ option\&. @@ -1122,6 +1274,21 @@ option\&.
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -242,11 +242,11 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql: skip-column-names option .\" mysql: skip-column-names option.\" skip-column-names option: mysql\fB\-\-skip\-column\-names\fR,
.\" skip-column-names option: mysql \fB\-N\fR
\fB\-\-skip\-column\-names\fR, .sp
@@ -1279,7 +1446,7 @@ localhost, the Unix socket file to use, @@ -1168,7 +1335,7 @@ localhost, the Unix socket file to use,
\fB\-\-ssl*\fR .\" mysql: SSL options.\" SSL options: mysql\fB\-\-ssl*\fR
.sp .sp
Options that begin with Options that begin with
-\fB\-\-ssl\fR -\fB\-\-ssl\fR
@ -254,7 +254,7 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
specify whether to connect to the server using SSL and indicate where to find SSL keys and certificates\&. See specify whether to connect to the server using SSL and indicate where to find SSL keys and certificates\&. See
Section\ \&6.3.9.4, \(lqSSL Command Options\(rq\&. Section\ \&6.3.9.4, \(lqSSL Command Options\(rq\&.
.RE .RE
@@ -1455,7 +1622,7 @@ The XML output also uses an XML namespac @@ -1326,7 +1493,7 @@ The XML output also uses an XML namespac
.RS 4 .RS 4
.\} .\}
.nf .nf
@ -263,7 +263,7 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
<?xml version="1\&.0"?> <?xml version="1\&.0"?>
<resultset statement="SHOW VARIABLES LIKE \*(Aqversion%\*(Aq" xmlns:xsi="http://www\&.w3\&.org/2001/XMLSchema\-instance"> <resultset statement="SHOW VARIABLES LIKE \*(Aqversion%\*(Aq" xmlns:xsi="http://www\&.w3\&.org/2001/XMLSchema\-instance">
<row> <row>
@@ -3369,16 +3536,16 @@ statements that probably need to examine @@ -3188,16 +3355,16 @@ statements that probably need to examine
.RE .RE
.PP .PP
To specify limits different from 1,000 and 1,000,000, you can override the defaults by using the To specify limits different from 1,000 and 1,000,000, you can override the defaults by using the
@ -283,10 +283,10 @@ diff -up mysql-5.6.14/man/mysql.1.manpages mysql-5.6.14/man/mysql.1
.fi .fi
.if n \{\ .if n \{\
.RE .RE
diff -up mysql-5.6.14/man/mysqladmin.1.manpages mysql-5.6.14/man/mysqladmin.1 diff -up mysql-5.6.15/man/mysqladmin.1.p24 mysql-5.6.15/man/mysqladmin.1
--- mysql-5.6.14/man/mysqladmin.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqladmin.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqladmin.1 2013-10-10 07:40:19.739113363 +0200 +++ mysql-5.6.15/man/mysqladmin.1 2013-12-10 13:05:23.105401084 +0100
@@ -655,6 +655,21 @@ Compress all information sent between th @@ -639,6 +639,21 @@ Compress all information sent between th
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -305,10 +305,10 @@ diff -up mysql-5.6.14/man/mysqladmin.1.manpages mysql-5.6.14/man/mysqladmin.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqladmin: count option .\" mysqladmin: count option.\" count option: mysqladmin\fB\-\-count=\fR\fB\fIN\fR\fR,
.\" count option: mysqladmin \fB\-c \fR\fB\fIN\fR\fR
\fB\-\-count=\fR\fB\fIN\fR\fR, .sp
@@ -757,6 +772,37 @@ Section\ \&10.5, \(lqCharacter Set Confi @@ -729,6 +744,37 @@ Section\ \&10.5, \(lqCharacter Set Confi
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -343,10 +343,10 @@ diff -up mysql-5.6.14/man/mysqladmin.1.manpages mysql-5.6.14/man/mysqladmin.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqladmin: enable-cleartext-plugin option .\" mysqladmin: enable-cleartext-plugin option.\" enable-cleartext-plugin option: mysqladmin\fB\-\-enable\-cleartext\-plugin\fR
.\" enable-cleartext-plugin option: mysqladmin .sp
\fB\-\-enable\-cleartext\-plugin\fR Enable the
@@ -825,6 +871,21 @@ Suppress the warning beep that is emitte @@ -789,6 +835,21 @@ Suppress the warning beep that is emitte
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -365,10 +365,10 @@ diff -up mysql-5.6.14/man/mysqladmin.1.manpages mysql-5.6.14/man/mysqladmin.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqladmin: password option .\" mysqladmin: password option.\" password option: mysqladmin\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR,
.\" password option: mysqladmin \fB\-p[\fR\fB\fIpassword\fR\fR\fB]\fR
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR, .sp
@@ -906,6 +967,21 @@ The TCP/IP port number to use for the co @@ -862,6 +923,21 @@ The TCP/IP port number to use for the co
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -387,10 +387,10 @@ diff -up mysql-5.6.14/man/mysqladmin.1.manpages mysql-5.6.14/man/mysqladmin.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqladmin: protocol option .\" mysqladmin: protocol option.\" protocol option: mysqladmin\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.\" protocol option: mysqladmin .sp
\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 would cause a protocol to be used other than the one you want\&. For details on the permissible values, see
@@ -935,6 +1011,21 @@ command\&. @@ -938,6 +1014,21 @@ localhost, the Unix socket file to use,
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -412,10 +412,10 @@ diff -up mysql-5.6.14/man/mysqladmin.1.manpages mysql-5.6.14/man/mysqladmin.1
.ie n \{\ .ie n \{\
\h'-04'\(bu\h'+03'\c \h'-04'\(bu\h'+03'\c
.\} .\}
diff -up mysql-5.6.14/man/mysqlbinlog.1.manpages mysql-5.6.14/man/mysqlbinlog.1 diff -up mysql-5.6.15/man/mysqlbinlog.1.p24 mysql-5.6.15/man/mysqlbinlog.1
--- mysql-5.6.14/man/mysqlbinlog.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqlbinlog.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqlbinlog.1 2013-10-10 07:40:19.740113344 +0200 +++ mysql-5.6.15/man/mysqlbinlog.1 2013-12-09 19:08:52.750074832 +0100
@@ -629,6 +629,7 @@ Do not display any of the groups listed @@ -602,6 +602,7 @@ Do not display any of the groups listed
\fB\-F\fR \fB\-F\fR
.sp .sp
Read binary log files even if they are open or were not closed properly\&. Read binary log files even if they are open or were not closed properly\&.
@ -423,7 +423,7 @@ diff -up mysql-5.6.14/man/mysqlbinlog.1.manpages mysql-5.6.14/man/mysqlbinlog.1
.RE .RE
.sp .sp
.RS 4 .RS 4
@@ -736,6 +737,22 @@ or any other MySQL program\&. @@ -715,6 +716,22 @@ entries in the log\&.
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -446,10 +446,10 @@ diff -up mysql-5.6.14/man/mysqlbinlog.1.manpages mysql-5.6.14/man/mysqlbinlog.1
.ie n \{\ .ie n \{\
\h'-04'\(bu\h'+03'\c \h'-04'\(bu\h'+03'\c
.\} .\}
diff -up mysql-5.6.14/man/mysqlcheck.1.manpages mysql-5.6.14/man/mysqlcheck.1 diff -up mysql-5.6.15/man/mysqlcheck.1.p24 mysql-5.6.15/man/mysqlcheck.1
--- mysql-5.6.14/man/mysqlcheck.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqlcheck.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqlcheck.1 2013-10-10 07:40:19.741113325 +0200 +++ mysql-5.6.15/man/mysqlcheck.1 2013-12-10 13:02:43.841276619 +0100
@@ -488,6 +488,38 @@ Section\ \&10.5, \(lqCharacter Set Confi @@ -456,6 +456,38 @@ Section\ \&10.5, \(lqCharacter Set Confi
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -485,10 +485,10 @@ diff -up mysql-5.6.14/man/mysqlcheck.1.manpages mysql-5.6.14/man/mysqlcheck.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlcheck: extended option .\" mysqlcheck: extended option.\" extended option: mysqlcheck\fB\-\-extended\fR,
.\" extended option: mysqlcheck \fB\-e\fR
\fB\-\-extended\fR, .sp
@@ -620,6 +652,21 @@ operation\&. This finds only 99\&.99% of @@ -572,6 +604,21 @@ operation\&. This finds only 99\&.99% of
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -507,10 +507,10 @@ diff -up mysql-5.6.14/man/mysqlcheck.1.manpages mysql-5.6.14/man/mysqlcheck.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlcheck: optimize option .\" mysqlcheck: optimize option.\" optimize option: mysqlcheck\fB\-\-optimize\fR,
.\" optimize option: mysqlcheck \fB\-o\fR
\fB\-\-optimize\fR, .sp
@@ -712,6 +759,22 @@ The TCP/IP port number to use for the co @@ -712,6 +759,22 @@ Silent mode\&. Print only error messages
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -533,10 +533,10 @@ diff -up mysql-5.6.14/man/mysqlcheck.1.manpages mysql-5.6.14/man/mysqlcheck.1
.ie n \{\ .ie n \{\
\h'-04'\(bu\h'+03'\c \h'-04'\(bu\h'+03'\c
.\} .\}
diff -up mysql-5.6.14/man/mysql_config.1.manpages mysql-5.6.14/man/mysql_config.1 diff -up mysql-5.6.15/man/mysql_config.1.p24 mysql-5.6.15/man/mysql_config.1
--- mysql-5.6.14/man/mysql_config.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysql_config.1.p24 2013-12-09 19:08:52.751074834 +0100
+++ mysql-5.6.14/man/mysql_config.1 2013-10-10 07:40:19.740113344 +0200 +++ mysql-5.6.15/man/mysql_config.1 2013-12-10 13:09:46.944577176 +0100
@@ -195,6 +195,22 @@ The default Unix socket file, defined wh @@ -174,6 +174,22 @@ The default Unix socket file, defined wh
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -556,23 +556,23 @@ diff -up mysql-5.6.14/man/mysql_config.1.manpages mysql-5.6.14/man/mysql_config.
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysql_config: version option .\" mysql_config: version option.\" version option: mysql_config\fB\-\-version\fR
.\" version option: mysql_config .sp
\fB\-\-version\fR Version number for the MySQL distribution\&.
diff -up mysql-5.6.14/man/mysqldump.1.manpages mysql-5.6.14/man/mysqldump.1 diff -up mysql-5.6.15/man/mysqldump.1.p24 mysql-5.6.15/man/mysqldump.1
--- mysql-5.6.14/man/mysqldump.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqldump.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqldump.1 2013-10-10 07:40:19.741113325 +0200 +++ mysql-5.6.15/man/mysqldump.1 2013-12-10 13:00:43.204169470 +0100
@@ -1237,7 +1237,8 @@ statements that include column names\&. @@ -1154,7 +1154,8 @@ statements that include column names\&.
.sp -1
.IP \(bu 2.3
.\} .\}
.\" mysqldump: create-options option -.\" mysqldump: create-options option.\" create-options option: mysqldump\fB\-\-create\-options\fR
.\" create-options option: mysqldump +.\" mysqldump: create-options option.\" create-options option: mysqldump\fB\-\-create\-options\fR,
-\fB\-\-create\-options\fR
+\fB\-\-create\-options\fR,
+\fB\-a\fR +\fB\-a\fR
.sp .sp
Include all MySQL\-specific table options in the Include all MySQL\-specific table options in the
CREATE TABLE CREATE TABLE
@@ -1789,6 +1790,38 @@ transactional options, primarily for the @@ -1666,6 +1667,38 @@ transactional options, primarily for the
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -608,10 +608,10 @@ diff -up mysql-5.6.14/man/mysqldump.1.manpages mysql-5.6.14/man/mysqldump.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqldump: delayed-insert option .\" mysqldump: delayed-insert option.\" delayed-insert option: mysqldump\fB\-\-delayed\-insert\fR
.\" delayed-insert option: mysqldump .sp
\fB\-\-delayed\-insert\fR For those nontransactional tables that support the
@@ -2071,6 +2104,36 @@ at the end of the option list\&. @@ -1917,6 +1950,36 @@ at the end of the option list\&.
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -645,10 +645,10 @@ diff -up mysql-5.6.14/man/mysqldump.1.manpages mysql-5.6.14/man/mysqldump.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqldump: no-autocommit option .\" mysqldump: no-autocommit option.\" no-autocommit option: mysqldump\fB\-\-no\-autocommit\fR
.\" no-autocommit option: mysqldump .sp
\fB\-\-no\-autocommit\fR Enclose the
@@ -2171,6 +2234,21 @@ is on by default\&. Thus you rarely if e @@ -2012,6 +2075,21 @@ is on by default\&. Thus you rarely if e
.el \{\ .el \{\
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
@ -670,7 +670,7 @@ diff -up mysql-5.6.14/man/mysqldump.1.manpages mysql-5.6.14/man/mysqldump.1
.\} .\}
The The
\fB\-\-compact\fR \fB\-\-compact\fR
@@ -2348,6 +2426,21 @@ is on by default\&.) @@ -2184,6 +2262,21 @@ is on by default\&.)
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -692,10 +692,10 @@ diff -up mysql-5.6.14/man/mysqldump.1.manpages mysql-5.6.14/man/mysqldump.1
.ie n \{\ .ie n \{\
\h'-04'\(bu\h'+03'\c \h'-04'\(bu\h'+03'\c
.\} .\}
diff -up mysql-5.6.14/man/mysqlimport.1.manpages mysql-5.6.14/man/mysqlimport.1 diff -up mysql-5.6.15/man/mysqlimport.1.p24 mysql-5.6.15/man/mysqlimport.1
--- mysql-5.6.14/man/mysqlimport.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqlimport.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqlimport.1 2013-10-10 07:40:19.742113306 +0200 +++ mysql-5.6.15/man/mysqlimport.1 2013-12-10 12:55:58.039851937 +0100
@@ -258,10 +258,42 @@ This option was added in MySQL 5\&.6\&.2 @@ -238,8 +238,40 @@ This option was added in MySQL 5\&.6\&.2
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -731,15 +731,13 @@ diff -up mysql-5.6.14/man/mysqlimport.1.manpages mysql-5.6.14/man/mysqlimport.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlimport: delete option .\" mysqlimport: delete option.\" delete option: mysqlimport\fB\-\-delete\fR,
.\" delete option: mysqlimport
\fB\-\-delete\fR,
-\fB\-D\fR -\fB\-D\fR
+\fB\-d\fR +\fB\-d\fR
.sp .sp
Empty the table before importing the text file\&. Empty the table before importing the text file\&.
.RE .RE
@@ -443,6 +475,22 @@ MERGE)\&. @@ -397,6 +429,22 @@ MERGE)\&.
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -759,10 +757,10 @@ diff -up mysql-5.6.14/man/mysqlimport.1.manpages mysql-5.6.14/man/mysqlimport.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlimport: password option .\" mysqlimport: password option.\" password option: mysqlimport\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR,
.\" password option: mysqlimport \fB\-p[\fR\fB\fIpassword\fR\fR\fB]\fR
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR, .sp
@@ -519,6 +567,22 @@ The TCP/IP port number to use for the co @@ -513,6 +561,22 @@ Silent mode\&. Produce output only when
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -785,20 +783,20 @@ diff -up mysql-5.6.14/man/mysqlimport.1.manpages mysql-5.6.14/man/mysqlimport.1
.ie n \{\ .ie n \{\
\h'-04'\(bu\h'+03'\c \h'-04'\(bu\h'+03'\c
.\} .\}
diff -up mysql-5.6.14/man/mysqlshow.1.manpages mysql-5.6.14/man/mysqlshow.1 diff -up mysql-5.6.15/man/mysqlshow.1.p24 mysql-5.6.15/man/mysqlshow.1
--- mysql-5.6.14/man/mysqlshow.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqlshow.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqlshow.1 2013-10-10 07:40:19.743113287 +0200 +++ mysql-5.6.15/man/mysqlshow.1 2013-12-10 13:08:16.657520289 +0100
@@ -173,7 +173,8 @@ This option is supported beginning with @@ -167,7 +167,8 @@ This option is supported beginning with
.sp -1
.IP \(bu 2.3
.\} .\}
.\" mysqlshow: character-sets-dir option -.\" mysqlshow: character-sets-dir option.\" character-sets-dir option: mysqlshow\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.\" character-sets-dir option: mysqlshow +.\" mysqlshow: character-sets-dir option.\" character-sets-dir option: mysqlshow\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR,
-\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
+\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR,
+\fB\-c\fR +\fB\-c\fR
.sp .sp
The directory where character sets are installed\&. See The directory where character sets are installed\&. See
Section\ \&10.5, \(lqCharacter Set Configuration\(rq\&. Section\ \&10.5, \(lqCharacter Set Configuration\(rq\&.
@@ -305,6 +306,38 @@ This option was added in MySQL 5\&.6\&.2 @@ -285,6 +286,38 @@ This option was added in MySQL 5\&.6\&.2
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -834,10 +832,10 @@ diff -up mysql-5.6.14/man/mysqlshow.1.manpages mysql-5.6.14/man/mysqlshow.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlshow: host option .\" mysqlshow: host option.\" host option: mysqlshow\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
.\" host option: mysqlshow \fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-\-host=\fR\fB\fIhost_name\fR\fR, .sp
@@ -337,6 +370,22 @@ Show table indexes\&. @@ -313,6 +346,22 @@ Show table indexes\&.
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -857,10 +855,10 @@ diff -up mysql-5.6.14/man/mysqlshow.1.manpages mysql-5.6.14/man/mysqlshow.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlshow: password option .\" mysqlshow: password option.\" password option: mysqlshow\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR,
.\" password option: mysqlshow \fB\-p[\fR\fB\fIpassword\fR\fR\fB]\fR
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR, .sp
@@ -413,6 +462,22 @@ The TCP/IP port number to use for the co @@ -413,6 +462,22 @@ VIEW\&.
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -883,10 +881,10 @@ diff -up mysql-5.6.14/man/mysqlshow.1.manpages mysql-5.6.14/man/mysqlshow.1
.ie n \{\ .ie n \{\
\h'-04'\(bu\h'+03'\c \h'-04'\(bu\h'+03'\c
.\} .\}
diff -up mysql-5.6.14/man/mysqlslap.1.manpages mysql-5.6.14/man/mysqlslap.1 diff -up mysql-5.6.15/man/mysqlslap.1.p24 mysql-5.6.15/man/mysqlslap.1
--- mysql-5.6.14/man/mysqlslap.1.manpages 2013-09-10 09:38:36.000000000 +0200 --- mysql-5.6.15/man/mysqlslap.1.p24 2013-11-17 19:03:04.000000000 +0100
+++ mysql-5.6.14/man/mysqlslap.1 2013-10-10 07:40:19.744113269 +0200 +++ mysql-5.6.15/man/mysqlslap.1 2013-12-10 13:11:04.721623937 +0100
@@ -526,6 +526,38 @@ This option was added in MySQL 5\&.6\&.2 @@ -531,6 +531,38 @@ Section\ \&6.3.7.7, \(lqThe Cleartext Cl
.el \{\ .el \{\
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
@ -923,9 +921,9 @@ diff -up mysql-5.6.14/man/mysqlslap.1.manpages mysql-5.6.14/man/mysqlslap.1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\} .\}
.\" mysqlslap: delimiter option .\" mysqlslap: engine option.\" engine option: mysqlslap\fB\-\-engine=\fR\fB\fIengine_name\fR\fR,
.\" delimiter option: mysqlslap \fB\-e \fR\fB\fIengine_name\fR\fR
@@ -643,6 +675,37 @@ from dropping any schema it creates duri @@ -589,6 +621,37 @@ from dropping any schema it creates duri
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
@ -960,10 +958,10 @@ diff -up mysql-5.6.14/man/mysqlslap.1.manpages mysql-5.6.14/man/mysqlslap.1
+.sp -1 +.sp -1
+.IP \(bu 2.3 +.IP \(bu 2.3
+.\} +.\}
.\" mysqlslap: number-char-cols option .\" mysqlslap: number-char-cols option.\" number-char-cols option: mysqlslap\fB\-\-number\-char\-cols=\fR\fB\fIN\fR\fR,
.\" number-char-cols option: mysqlslap \fB\-x \fR\fB\fIN\fR\fR
\fB\-\-number\-char\-cols=\fR\fB\fIN\fR\fR, .sp
@@ -821,6 +884,22 @@ The file or string containing the statem @@ -819,6 +882,22 @@ Section\ \&4.2.2, \(lqConnecting to the
.RE .RE
.sp .sp
.RS 4 .RS 4

View File

@ -1,38 +0,0 @@
These issues were found by Coverity static analysis tool, for more info
see messages by particular fixes (messages belong to 5.1.61).
Filed upstream at http://bugs.mysql.com/bug.php?id=64631
Error: BUFFER_SIZE_WARNING:
/builddir/build/BUILD/mysql-5.1.61/sql/sql_prepare.cc:2749: buffer_size_warning: Calling strncpy with a maximum size argument of 512 bytes on destination array "this->stmt->last_error" of size 512 bytes might leave the destination string unterminated.
diff -up mysql-5.6.10/sql/sql_prepare.cc.orig mysql-5.6.10/sql/sql_prepare.cc
--- mysql-5.6.10/sql/sql_prepare.cc.orig 2013-01-22 17:54:50.000000000 +0100
+++ mysql-5.6.10/sql/sql_prepare.cc 2013-02-19 15:50:53.257150632 +0100
@@ -2956,7 +2956,7 @@ void mysql_stmt_get_longdata(THD *thd, c
{
stmt->state= Query_arena::STMT_ERROR;
stmt->last_errno= thd->get_stmt_da()->sql_errno();
- strncpy(stmt->last_error, thd->get_stmt_da()->message(), MYSQL_ERRMSG_SIZE);
+ strncpy(stmt->last_error, thd->get_stmt_da()->message(), sizeof(stmt->last_error)-1);
}
thd->set_stmt_da(save_stmt_da);
Error: STRING_OVERFLOW:
/builddir/build/BUILD/mysql-5.1.61/sql/sql_trigger.cc:2194: fixed_size_dest: You might overrun the 512 byte fixed-size string "this->m_parse_error_message" by copying "error_message" without checking the length.
/builddir/build/BUILD/mysql-5.1.61/sql/sql_trigger.cc:2194: parameter_as_source: Note: This defect has an elevated risk because the source argument is a parameter of the current function.
diff -up mysql-5.6.10/sql/sql_trigger.cc.orig mysql-5.6.10/sql/sql_trigger.cc
--- mysql-5.6.10/sql/sql_trigger.cc.orig 2013-01-22 17:54:50.000000000 +0100
+++ mysql-5.6.10/sql/sql_trigger.cc 2013-02-19 16:01:10.605885117 +0100
@@ -2303,7 +2303,7 @@ void Table_triggers_list::mark_fields_us
void Table_triggers_list::set_parse_error_message(char *error_message)
{
m_has_unparseable_trigger= true;
- strcpy(m_parse_error_message, error_message);
+ strncpy(m_parse_error_message, error_message, sizeof(m_parse_error_message)-1);
}

View File

@ -13,8 +13,8 @@
%global _default_patch_flags --no-backup-if-mismatch %global _default_patch_flags --no-backup-if-mismatch
Name: community-mysql Name: community-mysql
Version: 5.6.14 Version: 5.6.15
Release: 2%{?dist} Release: 1%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
Group: Applications/Databases Group: Applications/Databases
URL: http://www.mysql.com URL: http://www.mysql.com
@ -23,13 +23,7 @@ URL: http://www.mysql.com
# not only GPL code. See README.mysql-license # not only GPL code. See README.mysql-license
License: GPLv2 with exceptions and LGPLv2 and BSD License: GPLv2 with exceptions and LGPLv2 and BSD
# mysql.info from upstream tarball must be removed, create tarball by: Source0: https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-%{version}.tar.gz
# wget https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-%{version}.tar.gz
# tar xvf mysql-%{version}.tar.gz
# rm mysql-%{version}/Docs/mysql.info
# tar cJvf mysql-%{version}-nodocs.tar.xz mysql-%{version}
Source0: mysql-%{version}-nodocs.tar.xz
Source2: generate-tarball.sh
Source3: my.cnf Source3: my.cnf
Source4: mysql_config.sh Source4: mysql_config.sh
Source5: my_config.h Source5: my_config.h
@ -51,18 +45,15 @@ Patch3: community-mysql-install-test.patch
Patch4: community-mysql-expired-certs.patch Patch4: community-mysql-expired-certs.patch
Patch6: community-mysql-chain-certs.patch Patch6: community-mysql-chain-certs.patch
Patch11: community-mysql-s390-tsc.patch Patch11: community-mysql-s390-tsc.patch
Patch15: community-mysql-netdevname.patch
Patch16: community-mysql-logrotate.patch Patch16: community-mysql-logrotate.patch
Patch18: community-mysql-5.6.11-cipherspec.patch Patch18: community-mysql-5.6.11-cipherspec.patch
Patch19: community-mysql-file-contents.patch Patch19: community-mysql-file-contents.patch
Patch20: community-mysql-string-overflow.patch
Patch21: community-mysql-dh1024.patch Patch21: community-mysql-dh1024.patch
Patch22: community-mysql-sharedir.patch Patch22: community-mysql-sharedir.patch
Patch23: community-mysql-5.6.10-libmysql-version.patch Patch23: community-mysql-5.6.10-libmysql-version.patch
Patch24: community-mysql-man-pages.patch Patch24: community-mysql-man-pages.patch
Patch25: community-mysql-5.6.14-mysql-install.patch Patch25: community-mysql-5.6.14-mysql-install.patch
Patch26: community-mysql-5.6.13-major.patch Patch26: community-mysql-5.6.13-major.patch
Patch27: community-mysql-5.6.13-mtr-secure-file.patch
Patch28: community-mysql-5.6.13-truncate-file.patch Patch28: community-mysql-5.6.13-truncate-file.patch
Patch29: community-mysql-tmpdir.patch Patch29: community-mysql-tmpdir.patch
Patch30: community-mysql-cve-2013-1861.patch Patch30: community-mysql-cve-2013-1861.patch
@ -249,11 +240,9 @@ the MySQL sources.
%patch4 -p1 %patch4 -p1
%patch6 -p1 %patch6 -p1
%patch11 -p1 %patch11 -p1
%patch15 -p1
%patch16 -p1 %patch16 -p1
%patch18 -p1 %patch18 -p1
%patch19 -p1 %patch19 -p1
%patch20 -p1
%patch21 -p1 %patch21 -p1
%patch22 -p1 %patch22 -p1
%patch23 -p1 %patch23 -p1
@ -262,7 +251,6 @@ the MySQL sources.
%if %{with_shared_lib_major_hack} %if %{with_shared_lib_major_hack}
%patch26 -p1 %patch26 -p1
%endif %endif
%patch27 -p0
%patch28 -p0 %patch28 -p0
%patch29 -p1 %patch29 -p1
%patch30 -p1 %patch30 -p1
@ -753,6 +741,10 @@ fi
%{_mandir}/man1/mysql_client_test.1* %{_mandir}/man1/mysql_client_test.1*
%changelog %changelog
* Mon Dec 9 2013 Honza Horak <hhorak@redhat.com> 5.6.15-1
- Update to MySQL 5.6.15, for various fixes described at
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-15.html
* Fri Oct 11 2013 Honza Horak <hhorak@redhat.com> 5.6.14-2 * Fri Oct 11 2013 Honza Horak <hhorak@redhat.com> 5.6.14-2
- Fix my.cnf to not conflict with mariadb - Fix my.cnf to not conflict with mariadb
Resolves: #1003115 Resolves: #1003115

View File

@ -1 +1 @@
7da75f4e0a3e1fdc62bfe7f12b85a6d0 mysql-5.6.14-nodocs.tar.xz 8c0ee8aa58258df1e1395d7c68b96647 mysql-5.6.15.tar.gz