import CS mariadb-10.3.39-1.module_el8+652+dd7ee08c
This commit is contained in:
		
							parent
							
								
									f24404ff36
								
							
						
					
					
						commit
						a02d19b863
					
				
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1 @@ | |||||||
| SOURCES/mariadb-10.3.35.tar.gz | SOURCES/mariadb-10.3.39.tar.gz | ||||||
|  | |||||||
| @ -1 +1 @@ | |||||||
| ea904f8e036c72f0b1db78cf2d350c1dd8250375 SOURCES/mariadb-10.3.35.tar.gz | 25972d22ed05249782141392f0893e71c7d549a9 SOURCES/mariadb-10.3.39.tar.gz | ||||||
|  | |||||||
							
								
								
									
										101
									
								
								SOURCES/mariadb-10.3.39-tests.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										101
									
								
								SOURCES/mariadb-10.3.39-tests.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,101 @@ | |||||||
|  | --- mariadb-10.3.39/mysql-test/include/default_mysqld.cnf	2023-05-03 06:32:44.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/mysql-test/include/default_mysqld.cnf	2023-07-07 13:58:40.255283041 +0200
 | ||||||
|  | @@ -127,3 +127,8 @@ local-infile
 | ||||||
|  |  # tables.  Let's enable it in the [server] group, because this group | ||||||
|  |  # is read after [mysqld] and [embedded] | ||||||
|  |  loose-aria | ||||||
|  | +
 | ||||||
|  | +[mysqltest]
 | ||||||
|  | +loose-ssl-ca=@ENV.MYSQL_TEST_DIR/std_data/cacert.pem
 | ||||||
|  | +loose-ssl-cert=@ENV.MYSQL_TEST_DIR/std_data/server-cert.pem
 | ||||||
|  | +loose-ssl-key=@ENV.MYSQL_TEST_DIR/std_data/server-key.pem
 | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/mysql-test/include/wait_until_connected_again.inc	2023-05-03 06:32:44.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/mysql-test/include/wait_until_connected_again.inc	2023-07-07 13:55:30.424368106 +0200
 | ||||||
|  | @@ -11,7 +11,7 @@ let $counter= 5000;
 | ||||||
|  |  let $mysql_errno= 9999; | ||||||
|  |  while ($mysql_errno) | ||||||
|  |  { | ||||||
|  | -  --error 0,ER_SERVER_SHUTDOWN,ER_CONNECTION_KILLED,ER_LOCK_WAIT_TIMEOUT,2002,2006,2013
 | ||||||
|  | +  --error 0,ER_SERVER_SHUTDOWN,ER_CONNECTION_KILLED,ER_LOCK_WAIT_TIMEOUT,2002,2006,2013,2026
 | ||||||
|  |    show status; | ||||||
|  |   | ||||||
|  |    dec $counter; | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/mysql-test/suite/rpl/t/rpl_err_ignoredtable.test	2023-05-03 06:32:45.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/mysql-test/suite/rpl/t/rpl_err_ignoredtable.test	2023-07-07 13:54:31.152082427 +0200
 | ||||||
|  | @@ -53,7 +53,7 @@ insert into t4 values (3),(4);
 | ||||||
|  |  connection master; | ||||||
|  |  # The get_lock function causes warning for unsafe statement. | ||||||
|  |  --disable_warnings | ||||||
|  | ---error 0,1317,2013
 | ||||||
|  | +--error 0,1317,2013,2026
 | ||||||
|  |  reap; | ||||||
|  |  --enable_warnings | ||||||
|  |  connection master1; | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/mysql-test/suite/innodb/t/innodb_bug51920.test	2023-05-03 06:32:44.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/mysql-test/suite/innodb/t/innodb_bug51920.test	2023-07-07 15:11:39.000404508 +0200
 | ||||||
|  | @@ -36,7 +36,7 @@ let $wait_condition =
 | ||||||
|  |  # depending on platform. | ||||||
|  |  # | ||||||
|  |  connection con1; | ||||||
|  | --- error 1317, 2006, 2013, ER_CONNECTION_KILLED
 | ||||||
|  | +-- error 1317, 2006, 2013, 2026, ER_CONNECTION_KILLED
 | ||||||
|  |  reap; | ||||||
|  |  connection default; | ||||||
|  |  DROP TABLE bug51920; | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/mysql-test/main/lock_kill.test	2023-05-03 06:32:44.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/mysql-test/main/lock_kill.test	2023-07-07 15:13:54.335086789 +0200
 | ||||||
|  | @@ -17,7 +17,7 @@ LOCK TABLE t1 WRITE;
 | ||||||
|  |  eval KILL $conid; | ||||||
|  |  --enable_query_log | ||||||
|  |  --connection con1 | ||||||
|  | ---error 0,2006,2013,ER_CONNECTION_KILLED
 | ||||||
|  | +--error 0,2006,2013,2026,ER_CONNECTION_KILLED
 | ||||||
|  |  reap; | ||||||
|  |  --connection default | ||||||
|  |  --disconnect con1 | ||||||
|  | @@ -35,7 +35,7 @@ LOCK TABLE t1 WRITE, t2 WRITE;
 | ||||||
|  |  eval KILL $conid; | ||||||
|  |  --enable_query_log | ||||||
|  |  --connection con1 | ||||||
|  | ---error 0,2006,2013,ER_CONNECTION_KILLED
 | ||||||
|  | +--error 0,2006,2013,2026,ER_CONNECTION_KILLED
 | ||||||
|  |  reap; | ||||||
|  |  --connection default | ||||||
|  |  --disconnect con1 | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/mysql-test/main/loadxml.test	2023-05-03 06:32:44.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/mysql-test/main/loadxml.test	2023-07-07 15:15:14.862492763 +0200
 | ||||||
|  | @@ -83,7 +83,7 @@ connection default;
 | ||||||
|  |  connection addconroot; | ||||||
|  |  # Read response from connection to avoid packets out-of-order when disconnecting | ||||||
|  |  # Note, that connection can already be dead due to previously issued kill | ||||||
|  | ---error 0,2013
 | ||||||
|  | +--error 0,2013,2026
 | ||||||
|  |  --reap | ||||||
|  |  disconnect addconroot; | ||||||
|  |  connection default; | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/plugin/disks/mysql-test/disks/disks.test	2023-05-03 06:32:45.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/plugin/disks/mysql-test/disks/disks.test	2023-07-10 11:48:28.859497746 +0200
 | ||||||
|  | @@ -1,3 +1,3 @@
 | ||||||
|  |  --replace_regex /varchar\([0-9]+\)/varchar(pathlen)/ | ||||||
|  |  show create table information_schema.disks; | ||||||
|  | -select sum(Total) > sum(Available), sum(Total)>sum(Used) from information_schema.disks;
 | ||||||
|  | +select sum(Total) >= sum(Available), sum(Total) >= sum(Used) from information_schema.disks;
 | ||||||
|  | 
 | ||||||
|  | --- mariadb-10.3.39/plugin/disks/mysql-test/disks/disks.result	2023-05-03 06:32:45.000000000 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/plugin/disks/mysql-test/disks/disks.result	2023-07-10 12:47:10.460233056 +0200
 | ||||||
|  | @@ -7,6 +7,6 @@ DISKS	CREATE TEMPORARY TABLE `DISKS` (
 | ||||||
|  |    `Used` bigint(32) NOT NULL, | ||||||
|  |    `Available` bigint(32) NOT NULL | ||||||
|  |  ) ENGINE=MEMORY DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci | ||||||
|  | -select sum(Total) > sum(Available), sum(Total)>sum(Used) from information_schema.disks;
 | ||||||
|  | -sum(Total) > sum(Available)	sum(Total)>sum(Used)
 | ||||||
|  | +select sum(Total) >= sum(Available), sum(Total) >= sum(Used) from information_schema.disks;
 | ||||||
|  | +sum(Total) >= sum(Available)	sum(Total) >= sum(Used)
 | ||||||
|  |  1	1 | ||||||
|  | 
 | ||||||
							
								
								
									
										12
									
								
								SOURCES/mariadb-mdev-30402.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								SOURCES/mariadb-mdev-30402.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | |||||||
|  | --- mariadb-10.3.39/scripts/wsrep_sst_mariabackup.sh	2023-08-11 11:31:40.415022889 +0200
 | ||||||
|  | +++ ../../mariadb-10.3.39/scripts/wsrep_sst_mariabackup.sh	2023-08-11 11:32:01.924161077 +0200
 | ||||||
|  | @@ -340,6 +340,9 @@ get_transfer()
 | ||||||
|  |                          "Use workaround for socat $SOCAT_VERSION bug" | ||||||
|  |                  fi | ||||||
|  |              fi | ||||||
|  | +            if check_for_version "$SOCAT_VERSION" '1.7.4'; then
 | ||||||
|  | +                tcmd="$tcmd,no-sni=1"
 | ||||||
|  | +            fi
 | ||||||
|  |          fi | ||||||
|  |   | ||||||
|  |          if [ "${sockopt#*,dhparam=}" = "$sockopt" ]; then | ||||||
| @ -142,7 +142,7 @@ | |||||||
| %global sameevr   %{epoch}:%{version}-%{release} | %global sameevr   %{epoch}:%{version}-%{release} | ||||||
| 
 | 
 | ||||||
| Name:             mariadb | Name:             mariadb | ||||||
| Version:          10.3.35 | Version:          10.3.39 | ||||||
| Release:          1%{?with_debug:.debug}%{?dist} | Release:          1%{?with_debug:.debug}%{?dist} | ||||||
| Epoch:            3 | Epoch:            3 | ||||||
| 
 | 
 | ||||||
| @ -190,7 +190,10 @@ Patch9:           %{pkgnamepatch}-ownsetup.patch | |||||||
| Patch10:          %{pkgnamepatch}-annocheck.patch | Patch10:          %{pkgnamepatch}-annocheck.patch | ||||||
| #   Patch12: Downstream fix for a correct pkgconfig file location | #   Patch12: Downstream fix for a correct pkgconfig file location | ||||||
| Patch12:          %{pkgnamepatch}-pcdir.patch | Patch12:          %{pkgnamepatch}-pcdir.patch | ||||||
| 
 | #   Patch13: Fix failing 10.3.39 ssl and disks tests | ||||||
|  | Patch13:          %{pkgnamepatch}-10.3.39-tests.patch | ||||||
|  | #   Patch14: Backport MDEV-30402 socat patch | ||||||
|  | Patch14:          %{pkgnamepatch}-mdev-30402.patch | ||||||
| 
 | 
 | ||||||
| BuildRequires:    cmake gcc-c++ | BuildRequires:    cmake gcc-c++ | ||||||
| BuildRequires:    multilib-rpm-config | BuildRequires:    multilib-rpm-config | ||||||
| @ -695,6 +698,8 @@ find . -name "*.jar" -type f -exec rm --verbose -f {} \; | |||||||
| %patch9 -p1 | %patch9 -p1 | ||||||
| %patch10 -p1 | %patch10 -p1 | ||||||
| %patch12 -p1 | %patch12 -p1 | ||||||
|  | %patch13 -p1 | ||||||
|  | %patch14 -p1 | ||||||
| 
 | 
 | ||||||
| # workaround for upstream bug #56342 | # workaround for upstream bug #56342 | ||||||
| #rm mysql-test/t/ssl_8k_key-master.opt | #rm mysql-test/t/ssl_8k_key-master.opt | ||||||
| @ -1584,6 +1589,11 @@ fi | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Thu Jun 22 2023 Anton Bobrov <abobrov@redhat.com> - 3:10.3.39-1 | ||||||
|  | - Rebase to 10.3.39 | ||||||
|  | - CVEs fixed: | ||||||
|  |   CVE-2022-47015, CVE-2018-25032, CVE-2022-32091, CVE-2022-32084 | ||||||
|  | 
 | ||||||
| * Thu Jun 30 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3:10.3.35-1 | * Thu Jun 30 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3:10.3.35-1 | ||||||
| - Rebase to 10.3.35 | - Rebase to 10.3.35 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user