Rebase to 8.0.23
This commit is contained in:
parent
fbe2f63222
commit
0959988c36
13
community-mysql-fix-includes-robin-hood.patch
Normal file
13
community-mysql-fix-includes-robin-hood.patch
Normal file
@ -0,0 +1,13 @@
|
||||
# Prevents fails when compiling with gcc11 (Fedora 34)
|
||||
# Upstream PR: https://github.com/mysql/mysql-server/pull/323
|
||||
|
||||
--- mysql-8.0.23/extra/robin-hood-hashing/robin_hood.h.old 2021-02-04 17:15:31.034997221 +0100
|
||||
+++ mysql-8.0.23/extra/robin-hood-hashing/robin_hood.h 2021-02-04 17:15:50.781372066 +0100
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
+#include <limits>
|
||||
#if __cplusplus >= 201703L
|
||||
# include <string_view>
|
||||
#endif
|
48
community-mysql-main-cast.patch
Normal file
48
community-mysql-main-cast.patch
Normal file
@ -0,0 +1,48 @@
|
||||
commit 68730acd9ae7ae8b2fcd25b5ccd18d47038d00b9
|
||||
Author: Catalin Besleaga <catalin.besleaga@oracle.com>
|
||||
Date: Mon Jan 4 14:32:05 2021 +0100
|
||||
|
||||
WL#14015: Follow-up: fixed unstable test
|
||||
|
||||
Change-Id: I11f352168902c6689981131cfda3a87ba924941c
|
||||
|
||||
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result
|
||||
index af82329a9c5..4d81ef111cb 100644
|
||||
--- a/mysql-test/r/cast.result
|
||||
+++ b/mysql-test/r/cast.result
|
||||
@@ -1747,6 +1747,7 @@ CAST("2020extra" AS YEAR)
|
||||
2020
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect YEAR value: '2020extra'
|
||||
+SET timestamp = UNIX_TIMESTAMP('2020-12-22 03:30:00');
|
||||
SELECT CAST(TIMESTAMP'2010-01-01 00:00' AS YEAR);
|
||||
CAST(TIMESTAMP'2010-01-01 00:00' AS YEAR)
|
||||
2010
|
||||
@@ -1764,6 +1765,7 @@ CAST(TIME'08:09:10' AS YEAR)
|
||||
SELECT CAST(TIME'00:00:00' AS YEAR);
|
||||
CAST(TIME'00:00:00' AS YEAR)
|
||||
2020
|
||||
+SET timestamp = DEFAULT;
|
||||
SELECT CAST(ST_PointFromText('POINT(10 10)') AS YEAR);
|
||||
ERROR HY000: Incorrect arguments to cast_as_year
|
||||
CREATE TABLE t AS SELECT CAST("2010" AS YEAR);
|
||||
diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test
|
||||
index 1a1f512fca7..a74d79ad91f 100644
|
||||
--- a/mysql-test/t/cast.test
|
||||
+++ b/mysql-test/t/cast.test
|
||||
@@ -799,6 +799,7 @@ SELECT CAST("extra" AS YEAR);
|
||||
SELECT CAST("22extra" AS YEAR);
|
||||
SELECT CAST("2020extra" AS YEAR);
|
||||
|
||||
+SET timestamp = UNIX_TIMESTAMP('2020-12-22 03:30:00');
|
||||
#date[time] values
|
||||
SELECT CAST(TIMESTAMP'2010-01-01 00:00' AS YEAR);
|
||||
SET SQL_MODE = "";
|
||||
@@ -807,6 +808,7 @@ SET SQL_MODE = default;
|
||||
SELECT CAST(TIMESTAMP'2010-01-01 08:09:10' AS YEAR);
|
||||
SELECT CAST(TIME'08:09:10' AS YEAR);
|
||||
SELECT CAST(TIME'00:00:00' AS YEAR);
|
||||
+SET timestamp = DEFAULT;
|
||||
|
||||
#geometry values
|
||||
--error ER_WRONG_ARGUMENTS
|
@ -72,8 +72,8 @@
|
||||
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
Name: community-mysql
|
||||
Version: 8.0.22
|
||||
Release: 3%{?with_debug:.debug}%{?dist}
|
||||
Version: 8.0.23
|
||||
Release: 1%{?with_debug:.debug}%{?dist}
|
||||
Summary: MySQL client programs and shared libraries
|
||||
URL: http://www.mysql.com
|
||||
|
||||
@ -111,7 +111,9 @@ Patch51: %{pkgnamepatch}-chain-certs.patch
|
||||
Patch52: %{pkgnamepatch}-sharedir.patch
|
||||
Patch55: %{pkgnamepatch}-rpath.patch
|
||||
Patch75: %{pkgnamepatch}-arm32-timer.patch
|
||||
Patch78: %{pkgnamepatch}-gcc11.patch
|
||||
Patch78: %{pkgnamepatch}-gcc11.patch
|
||||
Patch79: %{pkgnamepatch}-main-cast.patch
|
||||
Patch80: %{pkgnamepatch}-fix-includes-robin-hood.patch
|
||||
|
||||
# Patches taken from boost 1.59
|
||||
Patch115: boost-1.58.0-pool.patch
|
||||
@ -128,6 +130,7 @@ BuildRequires: lz4-devel
|
||||
BuildRequires: mecab-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: libcurl-devel
|
||||
%ifnarch aarch64 %{arm} s390 s390x
|
||||
BuildRequires: numactl-devel
|
||||
%endif
|
||||
@ -188,16 +191,13 @@ BuildRequires: perl(Time::HiRes)
|
||||
BuildRequires: perl(Time::localtime)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: systemd
|
||||
BuildRequires: make
|
||||
|
||||
|
||||
BuildRequires: make
|
||||
|
||||
Requires: bash coreutils grep
|
||||
Requires: %{name}-common%{?_isa} = %{sameevr}
|
||||
|
||||
Provides: bundled(boost) = %{boost_bundled_version}
|
||||
|
||||
|
||||
%if %{with mysql_names}
|
||||
Provides: mysql = %{sameevr}
|
||||
Provides: mysql%{?_isa} = %{sameevr}
|
||||
@ -380,6 +380,8 @@ the MySQL sources.
|
||||
%patch55 -p1
|
||||
%patch75 -p1
|
||||
%patch78 -p1
|
||||
%patch79 -p1
|
||||
%patch80 -p1
|
||||
|
||||
# Patch Boost
|
||||
pushd boost/boost_$(echo %{boost_bundled_version}| tr . _)
|
||||
@ -466,6 +468,10 @@ add_test perfschema.processlist_acl
|
||||
add_test innodb.innodb_bug-13628249
|
||||
|
||||
|
||||
%ifarch ppc64le
|
||||
add_test sys_vars.innodb_buffer_pool_size_basic
|
||||
%endif
|
||||
|
||||
# mysql-test
|
||||
popd
|
||||
|
||||
@ -820,6 +826,8 @@ fi
|
||||
%{_libdir}/mysql/plugin/component_log_sink_json.so
|
||||
%{_libdir}/mysql/plugin/component_log_sink_syseventlog.so
|
||||
%{_libdir}/mysql/plugin/component_mysqlbackup.so
|
||||
%{_libdir}/mysql/plugin/component_query_attributes.so
|
||||
%{_libdir}/mysql/plugin/component_reference_cache.so
|
||||
%{_libdir}/mysql/plugin/component_validate_password.so
|
||||
%{_libdir}/mysql/plugin/connection_control.so
|
||||
%{_libdir}/mysql/plugin/daemon_example.ini
|
||||
@ -964,6 +972,7 @@ fi
|
||||
%{_libdir}/mysql/plugin/libtest_sql_replication.so
|
||||
%{_libdir}/mysql/plugin/libtest_sql_reset_connection.so
|
||||
%{_libdir}/mysql/plugin/libtest_sql_shutdown.so
|
||||
%{_libdir}/mysql/plugin/libtest_sql_sleep_is_connected.so
|
||||
%{_libdir}/mysql/plugin/libtest_sql_sqlmode.so
|
||||
%{_libdir}/mysql/plugin/libtest_sql_stmt.so
|
||||
%{_libdir}/mysql/plugin/libtest_sql_stored_procedures_functions.so
|
||||
@ -983,6 +992,10 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Feb 04 2021 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.23-1
|
||||
- Update to MySQL 8.0.23
|
||||
- Created community-mysql-fix-includes-robin-hood.patch
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.22-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mysql-boost-8.0.22.tar.gz) = 792f2ada93ec67a4679228478c6b798e81d9e9f6d13c7f4977cb7682738a4aae3cb483294edc6b2fde16c3960e51af8786216c063ab500840afd39a609e4b612
|
||||
SHA512 (mysql-boost-8.0.23.tar.gz) = b8c2e2ac772b7b730f8b3bac7a5afb205da173b3639500606e7d1fac74832a0134027951855a2dc81af015e6158c924927ad63b9e1f2e7c823d45d4c4961c3f8
|
||||
|
Loading…
Reference in New Issue
Block a user