Compare commits
	
		
			No commits in common. "c8-beta-stream-10.11" and "c8-stream-10.3" have entirely different histories.
		
	
	
		
			c8-beta-st
			...
			c8-stream-
		
	
		
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1,2 +1 @@ | ||||
| SOURCES/8.0.1.zip | ||||
| SOURCES/mariadb-10.11.6.tar.gz | ||||
| SOURCES/mariadb-10.3.39.tar.gz | ||||
|  | ||||
| @ -1,2 +1 @@ | ||||
| 0e71402cb82eb84981ede3dc4d9be0b5924dc318 SOURCES/8.0.1.zip | ||||
| 4be66f91b577a1663832459ab881f6ac541d2775 SOURCES/mariadb-10.11.6.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 | ||||
| 
 | ||||
							
								
								
									
										13
									
								
								SOURCES/mariadb-annocheck.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								SOURCES/mariadb-annocheck.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| Harden the "hardened" flags even more to comply with RHEL8 security rules | ||||
| 
 | ||||
| --- mariadb-10.3.25/CMakeLists.txt	2020-10-05 18:19:45.000000000 +0200
 | ||||
| +++ mariadb-10.3.25/CMakeLists.txt_patched	2020-11-03 01:29:52.369426705 +0100
 | ||||
| @@ -247,7 +247,7 @@ IF(NOT WITH_TSAN)
 | ||||
|      # security-enhancing flags | ||||
|      MY_CHECK_AND_SET_COMPILER_FLAG("-pie -fPIC") | ||||
|      MY_CHECK_AND_SET_LINKER_FLAG("-Wl,-z,relro,-z,now") | ||||
| -    MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector --param=ssp-buffer-size=4")
 | ||||
| +    MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector-strong --param=ssp-buffer-size=4")
 | ||||
|      MY_CHECK_AND_SET_COMPILER_FLAG("-D_FORTIFY_SOURCE=2" RELEASE RELWITHDEBINFO) | ||||
|    ENDIF() | ||||
|  ENDIF() | ||||
| @ -1,29 +0,0 @@ | ||||
| This scirpt is ran by the systemd service. | ||||
| In Fedora the service has priviledges dropped to the mysql user. | ||||
| Thus "chown 0" will always fail | ||||
| 
 | ||||
| Never parse 'ls' output! | ||||
| http://mywiki.wooledge.org/BashFAQ/087 | ||||
| 
 | ||||
| --- mariadb-10.4.12/scripts/mysql_install_db.sh	2020-01-26 21:43:53.000000000 +0100
 | ||||
| +++ mariadb-10.4.12/scripts/mysql_install_db.sh_patched	2020-01-29 11:11:09.448812331 +0100
 | ||||
| @@ -482,13 +482,16 @@ if test -n "$user"
 | ||||
|  then | ||||
|    if test -z "$srcdir" -a "$in_rpm" -eq 0 -a -d "$pamtooldir/auth_pam_tool_dir" | ||||
|    then | ||||
| -    chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
 | ||||
| -    chmod 04755 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
 | ||||
| -    if test $? -ne 0
 | ||||
| +    if [ `stat "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" -c %u` -ne 0 ]
 | ||||
|      then | ||||
| +      chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
 | ||||
| +      chmod 04755 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
 | ||||
| +      if test $? -ne 0
 | ||||
| +      then
 | ||||
|          echo "Couldn't set an owner to '$pamtooldir/auth_pam_tool_dir/auth_pam_tool'." | ||||
|          echo "It must be root, the PAM authentication plugin doesn't work otherwise.." | ||||
|          echo | ||||
| +      fi
 | ||||
|      fi | ||||
|      chown $user "$pamtooldir/auth_pam_tool_dir" && \ | ||||
|      chmod 0700 "$pamtooldir/auth_pam_tool_dir" | ||||
| @ -1,16 +0,0 @@ | ||||
| Currently, the CMAKE script is able to aither use the system library, or download a bundle. | ||||
| We don't have FMT as a system library in RHEL, and we can't *download* a bundle during build time. | ||||
| So we download the bundle ourselves, add it as additional package sources, and redirect the CMAKE | ||||
| so it would search for it on the correct - local - location. | ||||
| 
 | ||||
| --- mariadb-10.11.6/cmake/libfmt.cmake	2023-11-08 16:51:39.000000000 +0100
 | ||||
| +++ mariadb-10.11.6/cmake/libfmt.cmake_patched	2024-01-10 17:29:18.004421343 +0100
 | ||||
| @@ -15,7 +15,7 @@ MACRO(BUNDLE_LIBFMT)
 | ||||
|    ExternalProject_Add( | ||||
|      libfmt | ||||
|      PREFIX   "${dir}" | ||||
| -    URL      "https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip"
 | ||||
| +    URL      "${CMAKE_BINARY_DIR}/bundles/8.0.1.zip"
 | ||||
|      URL_MD5  e77873199e897ca9f780479ad68e25b1 | ||||
|      INSTALL_COMMAND "" | ||||
|      CONFIGURE_COMMAND "" | ||||
| @ -1,32 +1,79 @@ | ||||
| Adjust the 'mariadb.logrotate.sh' script in several ways: | ||||
| Adjust the mysql-log-rotate script in several ways: | ||||
| 
 | ||||
| * Use the correct log file pathname for Red Hat installations. | ||||
| * Enable creation of the log file by logrotate (needed since | ||||
|   /var/log/ isn't writable by mysql user); and set the same 640 | ||||
|   permissions we normally use. | ||||
| * Comment out the actual rotation commands, so that user must edit | ||||
|   the file to enable rotation.  This is unfortunate, but the fact | ||||
|   that the script will probably fail without manual configuration | ||||
|   (to set a root password) means that we can't really have it turned | ||||
|   on by default.  Fortunately, in most configurations the log file | ||||
|   is low-volume and so rotation is not critical functionality. | ||||
| 
 | ||||
| * Remove Debian specific code | ||||
|   for the very unlikely, but possible scenario | ||||
|   in which the debian config file would exist. | ||||
| See discussions at RH bugs 799735, 547007 | ||||
| * Note they are from Fedora 15 / 16 | ||||
| 
 | ||||
| --- mariadb-10.11.6/support-files/mariadb.logrotate.sh	2023-11-08 16:51:43.000000000 +0100
 | ||||
| +++ mariadb-10.11.6/support-files/mariadb.logrotate.sh_patched	2023-12-17 18:03:36.955861025 +0100
 | ||||
| @@ -6,7 +6,7 @@
 | ||||
|  # Read https://mariadb.com/kb/en/error-log/ to learn more about logging and | ||||
|  # https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux/ about rotating logs. | ||||
| Update 3/2017 | ||||
| * it would be big unexpected change for anyone upgrading, if we start shipping it now. | ||||
|   Maybe it is good candidate for shipping with MariaDB 10.2 ? | ||||
| * the 'mysqladmin flush logs' doesn´t guarantee, no entries are lost | ||||
|   during flushing, the operation is not atomic. | ||||
|   We should not ship it in that state | ||||
| 
 | ||||
| Update 6/2018 | ||||
| * the SIGHUP causes server to flush all logs. No password admin needed, the only constraint is | ||||
|   beeing able to send the SIGHUP to the process and read the mysqld pid file, which root can. | ||||
| * Submited as PR: https://github.com/MariaDB/server/pull/807 | ||||
| 
 | ||||
| Update 01/2022 | ||||
| * added delaycompress option | ||||
| * see https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux | ||||
| 
 | ||||
| --- mariadb-10.3.32/support-files/mysql-log-rotate.sh	2022-01-14 17:03:27.000000000 +0100
 | ||||
| +++ mariadb-10.3.32/support-files/mysql-log-rotate.sh_patched	2022-01-17 15:07:54.205379672 +0100
 | ||||
| @@ -3,36 +3,22 @@
 | ||||
|  # in the [mysqld] section as follows: | ||||
|  # | ||||
|  # [mysqld] | ||||
| -# log-error=@localstatedir@/mysqld.log
 | ||||
| -#
 | ||||
| -# If the root user has a password you have to create a
 | ||||
| -# /root/.my.cnf configuration file with the following
 | ||||
| -# content:
 | ||||
| -#
 | ||||
| -# [mysqladmin]
 | ||||
| -# password = <secret> 
 | ||||
| -# user= root
 | ||||
| -#
 | ||||
| -# where "<secret>" is the password. 
 | ||||
| -#
 | ||||
| -# ATTENTION: This /root/.my.cnf should be readable ONLY
 | ||||
| -# for root !
 | ||||
| +# log-error=@LOG_LOCATION@
 | ||||
|   | ||||
| -@localstatedir@/mysqld.log @localstatedir@/mariadb.log @logdir@/*.log {
 | ||||
| -@localstatedir@/mysqld.log {
 | ||||
| -        # create 600 mysql mysql
 | ||||
| +@LOG_LOCATION@ {
 | ||||
|   | ||||
|    # Depends on a mysql@localhost unix_socket authenticated user with RELOAD privilege | ||||
|    @su_user@ | ||||
| @@ -45,11 +45,6 @@
 | ||||
|    # has thanks to the default use of Unix socket authentication for the 'mysql' | ||||
|    # (or root on Debian) account used everywhere since MariaDB 10.4. | ||||
|    postrotate | ||||
| -    if test -r /etc/mysql/debian.cnf
 | ||||
| -    then
 | ||||
| -      EXTRAPARAM='--defaults-file=/etc/mysql/debian.cnf'
 | ||||
| -    fi
 | ||||
| -
 | ||||
|      if test -x @bindir@/mariadb-admin | ||||
|      then | ||||
|        @bindir@/mariadb-admin $EXTRAPARAM --local flush-error-log \ | ||||
| 
 | ||||
| +        create 600 mysql mysql
 | ||||
|          su mysql mysql | ||||
|          notifempty | ||||
|          daily | ||||
|          rotate 3 | ||||
|          missingok | ||||
|          compress | ||||
| +        delaycompress
 | ||||
|      postrotate | ||||
|  	# just if mysqld is really running | ||||
| -	if test -x @bindir@/mysqladmin && \
 | ||||
| -	   @bindir@/mysqladmin ping &>/dev/null
 | ||||
| -	then
 | ||||
| -	   @bindir@/mysqladmin --local flush-error-log \
 | ||||
| -              flush-engine-log flush-general-log flush-slow-log
 | ||||
| -	fi
 | ||||
| +        if [ -e @PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid ]
 | ||||
| +        then
 | ||||
| +           kill -1 $(<@PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid)
 | ||||
| +        fi
 | ||||
|      endscript | ||||
|  } | ||||
|  | ||||
							
								
								
									
										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 | ||||
| @ -1,14 +1,16 @@ | ||||
| --- mariadb-10.4.14/support-files/CMakeLists.txt	2020-08-06 17:28:28.000000000 +0200
 | ||||
| +++ mariadb-10.4.14/support-files/CMakeLists.txt_patched	2020-09-03 13:21:07.826658279 +0200
 | ||||
| @@ -187,6 +187,7 @@ IF(UNIX)
 | ||||
|                COMPONENT SharedLibraries) | ||||
|        INSTALL(FILES rpm/mysql-clients.cnf DESTINATION ${INSTALL_SYSCONF2DIR} | ||||
|                COMPONENT Client) | ||||
| +      CONFIGURE_FILE(rpm/server.cnf ${CMAKE_CURRENT_SOURCE_DIR}/rpm/server.cnf @ONLY)
 | ||||
|        INSTALL(FILES rpm/server.cnf DESTINATION ${INSTALL_SYSCONF2DIR} | ||||
|                COMPONENT IniFiles) | ||||
|        INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR} | ||||
| 
 | ||||
| diff -up mariadb-10.1.8/support-files/CMakeLists.txt.p9 mariadb-10.1.8/support-files/CMakeLists.txt
 | ||||
| --- mariadb-10.2.32/support-files/CMakeLists.txt	2020-05-08 13:45:27.000000000 +0200
 | ||||
| +++ mariadb-10.2.32/support-files/CMakeLists.txt_pacthed	2020-05-13 10:11:30.884190396 +0200
 | ||||
| @@ -100,7 +100,8 @@ IF(UNIX)
 | ||||
|    ENDIF() | ||||
|   | ||||
|    CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY) | ||||
| -  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
 | ||||
| +  CONFIGURE_FILE(rpm/server.cnf ${CMAKE_CURRENT_BINARY_DIR}/rpm/server.cnf @ONLY)
 | ||||
| +  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_SHAREDIR}/pkgconfig COMPONENT Development)
 | ||||
|   | ||||
|    INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) | ||||
|     | ||||
| diff -up mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup mariadb-10.0.15/support-files/rpm/server.cnf
 | ||||
| --- mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup	2015-01-24 23:55:55.110063592 +0100
 | ||||
| +++ mariadb-10.0.15/support-files/rpm/server.cnf	2015-01-24 23:57:42.308114387 +0100
 | ||||
|  | ||||
							
								
								
									
										20
									
								
								SOURCES/mariadb-pcdir.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								SOURCES/mariadb-pcdir.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| Use PCDIR CMake option, if configured | ||||
| 
 | ||||
| Upstream install the server pkgconfig file into arch-independent directory | ||||
| Reported to upstream as: https://jira.mariadb.org/browse/MDEV-14340 | ||||
| 
 | ||||
| --- mariadb-10.3.12/support-files/CMakeLists.txt	2019-03-20 15:25:53.423283135 +0100
 | ||||
| +++ mariadb-10.3.12/support-files/CMakeLists.txt_patched	2019-03-20 15:38:56.372819958 +0100
 | ||||
| @@ -82,7 +82,12 @@ IF(UNIX)
 | ||||
|   | ||||
|    CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY) | ||||
|    CONFIGURE_FILE(rpm/server.cnf ${CMAKE_CURRENT_BINARY_DIR}/rpm/server.cnf @ONLY) | ||||
| +IF(INSTALL_PCDIR)
 | ||||
| +  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_PCDIR} COMPONENT Development)
 | ||||
| +ELSE()
 | ||||
|    INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_SHAREDIR}/pkgconfig COMPONENT Development) | ||||
| +ENDIF()
 | ||||
| +
 | ||||
|   | ||||
|    INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) | ||||
|     | ||||
| @ -1,12 +1,11 @@ | ||||
| We have some downstream patches and other scripts that include variables to | ||||
| be expanded by cmake. Cmake needs to know about them, so adding them manually. | ||||
| 
 | ||||
|  # Install libgcc as  mylibgcc.a | ||||
| --- mariadb-10.5.5/scripts/CMakeLists.txt.old	2020-09-24 10:13:35.272589689 +0200
 | ||||
| +++ mariadb-10.5.5/scripts/CMakeLists.txt	2020-09-24 10:17:31.428985798 +0200
 | ||||
| @@ -377,6 +377,34 @@
 | ||||
|        INSTALL_LINK(${file} ${binname} ${INSTALL_BINDIR} ${${file}_COMPONENT}) | ||||
|      ENDIF() | ||||
| --- mariadb-10.3.8/scripts/CMakeLists.txt	2018-07-02 09:34:11.000000000 +0200
 | ||||
| +++ mariadb-10.3.8/scripts/CMakeLists.txt_patched	2018-07-03 10:58:15.954670153 +0200
 | ||||
| @@ -361,6 +361,34 @@ ELSE()
 | ||||
|        COMPONENT ${${file}_COMPONENT} | ||||
|       ) | ||||
|    ENDFOREACH() | ||||
| +
 | ||||
| +  # files for systemd
 | ||||
|  | ||||
| @ -1,13 +0,0 @@ | ||||
| diff -up mariadb-10.3.9/mysql-test/main/ssl_cipher.test.fixtest mariadb-10.3.9/mysql-test/main/ssl_cipher.test
 | ||||
| --- mariadb-10.3.13/mysql-test/main/ssl_cipher.test	2019-02-20 08:59:09.000000000 +0100
 | ||||
| +++ mariadb-10.3.13/mysql-test/main/ssl_cipher.test_patched	2019-02-22 11:22:01.250256060 +0100
 | ||||
| @@ -97,7 +97,9 @@ drop user mysqltest_1@localhost;
 | ||||
|  let $restart_parameters=--ssl-cipher=AES128-SHA; | ||||
|  source include/restart_mysqld.inc; | ||||
|  connect (ssl_con,localhost,root,,,,,SSL); | ||||
| +--replace_regex /TLS_AES_.*/AES128-SHA/
 | ||||
|  SHOW STATUS LIKE 'Ssl_cipher'; | ||||
| +--replace_regex /TLS_AES_.*/AES128-SHA/
 | ||||
|  SHOW STATUS LIKE 'Ssl_cipher_list'; | ||||
|  disconnect ssl_con; | ||||
|  connection default; | ||||
| @ -0,0 +1,3 @@ | ||||
| # Fails on aarch64 | ||||
| innodb.innodb_buffer_pool_resize : | ||||
| innodb.innodb_buffer_pool_resize_with_chunks : | ||||
| @ -1,85 +1,27 @@ | ||||
| # The SSL test are failing correctly. Fro more explanation, see: | ||||
| # https://jira.mariadb.org/browse/MDEV-8404?focusedCommentId=84275&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-84275 | ||||
| main.ssl_7937                                : #1399847 | ||||
| main.ssl_8k_key                              : | ||||
| main.ssl_crl                                 : #1399847 | ||||
| # Fails everywhere | ||||
| innodb.innodb_defrag_binlog : | ||||
| 
 | ||||
| # ------------------------------ | ||||
| # Tests that fails because of 'Self Signed Certificate in the Certificate Chain' | ||||
| perfschema.cnf_option                        : | ||||
| main.ssl_7937 : | ||||
| main.ssl_8k_key : | ||||
| main.ssl_crl : | ||||
| main.ssl_system_ca : | ||||
| main.userstat : | ||||
| 
 | ||||
| rpl.rpl_row_img_blobs                        : | ||||
| rpl.rpl_row_img_eng_min                      : | ||||
| rpl.rpl_row_img_eng_noblob                   : | ||||
| 
 | ||||
| sys_vars.slave_parallel_threads_basic        : | ||||
| 
 | ||||
| # ------------------------------ | ||||
| # Expected to fail, the plugin is not build with server, but 'mariadb-connector-c' instead | ||||
| plugins.auth_ed25519                         : | ||||
| plugins.multiauth                            : | ||||
| 
 | ||||
| # ------------------------------ | ||||
| perfschema.nesting                           : #1399847 | ||||
| perfschema.socket_summary_by_instance_func   : #1399847 | ||||
| perfschema.cnf_option : | ||||
| perfschema.nesting : | ||||
| perfschema.socket_summary_by_event_name_func : | ||||
| perfschema.socket_summary_by_instance_func : | ||||
| 
 | ||||
| # ------------------------------ | ||||
| # Fails since 10.1.12 | ||||
| innodb.innodb_defrag_binlog                  : | ||||
| plugins.feedback_plugin_load : | ||||
| 
 | ||||
| # Fails everywhere since 10.2.15 | ||||
| main.userstat                                : | ||||
| rpl.rpl_row_img_blobs : | ||||
| rpl.rpl_row_img_eng_min : | ||||
| rpl.rpl_row_img_eng_noblob : | ||||
| 
 | ||||
| # Fails everywhere since 10.4.11 | ||||
| sys_vars.tcp_nodelay                         : | ||||
| sys_vars.slave_parallel_threads_basic : | ||||
| 
 | ||||
| # Fails since 10.5.2 | ||||
| disks.disks                                  : | ||||
| disks.disks_notembedded                      : | ||||
| # Fails only on i686 | ||||
| main.myisampack : | ||||
| 
 | ||||
| # Fails since 10.5.3 | ||||
| main.mysqld--help-aria                       : | ||||
| 
 | ||||
| # Fails since 10.5.7 | ||||
| plugins.feedback_plugin_load                 : | ||||
| 
 | ||||
| # Fails on all architectures since 10.5.18 | ||||
| main.information_schema                      : | ||||
| main.loadxml                                 : | ||||
| main.lock_kill                               : | ||||
| 
 | ||||
| # Fails since 10.5.20 | ||||
| binlog_encryption.rpl_cant_read_event_incident : | ||||
| rpl.rpl_report_port                         : | ||||
| rpl.rpl_reset_slave_fail                    : | ||||
| rpl.rpl_xa_survive_disconnect_lsu_off       : | ||||
| rpl.rpl_heartbeat_basic                     : | ||||
| rpl.rpl_xa_survive_disconnect               : | ||||
| rpl.rpl_err_ignoredtable                    : | ||||
| 
 | ||||
| # ------------------------------ | ||||
| # Fails on 10.11.6 | ||||
| binlog_encryption.rpl_gtid_basic             : | ||||
| main.mysqld--help-aria                       : | ||||
| main.plugin_auth                             : | ||||
| mariabackup.encrypted_page_corruption        : | ||||
| multi_source.info_logs                       : | ||||
| oqgraph.regression_mdev6345                  : | ||||
| perfschema.threads_mysql                     : | ||||
| type_test.type_test_double                   : | ||||
| 
 | ||||
| rpl.rpl_cant_read_event_incident             : | ||||
| rpl.rpl_change_master_demote                 : | ||||
| rpl.rpl_domain_id_filter_restart             : | ||||
| rpl.rpl_gtid_basic                           : | ||||
| rpl.rpl_mdev6020                             : | ||||
| rpl.rpl_old_master                           : | ||||
| rpl.rpl_perfschema_applier_status_by_coordinator :   | ||||
| rpl.rpl_rewrite_db_sys_vars                  : | ||||
| rpl.rpl_semi_sync_wait_point                 : | ||||
| rpl.rpl_trigger                              : | ||||
| rpl.rpl_upgrade_master_info                  : | ||||
| 
 | ||||
| # Unstable on 10.11.6 | ||||
| rpl.rpl_slave_shutdown_mdev20821             : | ||||
| # We don't build the plugin in server; we build it in mariadb-connector-c instead | ||||
| plugins.auth_ed25519 : | ||||
| @ -0,0 +1,30 @@ | ||||
| # Fails on ppc64le | ||||
| parts.partition_alter1_1_innodb : | ||||
| parts.partition_alter1_2_innodb :  | ||||
| parts.partition_alter1_1_2_innodb : | ||||
| parts.partition_alter1_2_1_innodb : | ||||
| parts.partition_alter2_1_1_innodb :  | ||||
| parts.partition_alter1_2_2_innodb :  | ||||
| parts.partition_alter2_1_2_innodb :  | ||||
| parts.partition_alter2_2_1_innodb :  | ||||
| parts.partition_alter2_2_2_innodb :  | ||||
| parts.partition_alter4_innodb :  | ||||
| parts.partition_basic_innodb : | ||||
| parts.part_supported_sql_func_innodb : | ||||
| 
 | ||||
| rpl.rpl_loaddata_m : | ||||
| 
 | ||||
| # | ||||
| stress.ddl_innodb : | ||||
| 
 | ||||
| innodb.innodb_buffer_pool_resize : | ||||
| innodb.innodb_buffer_pool_resize_with_chunks : | ||||
| innodb.innodb_bulk_create_index : | ||||
| innodb.innodb_defrag_binlog : | ||||
| innodb.innodb_defrag_concurrent : | ||||
| innodb_gis.kill_server : | ||||
| gcol.innodb_virtual_basic : | ||||
| 
 | ||||
| # Unstable (randomly failing) tests | ||||
| innodb_gis.rtree_search : | ||||
| main.type_ranges : | ||||
| @ -1,5 +1,8 @@ | ||||
| # Fails on 10.11.6 | ||||
| main.func_json_notembedded : | ||||
| mariabackup.huge_lsn : | ||||
| mariabackup.xb_file_key_management : | ||||
| main.column_compression_parts : | ||||
| # Fails on s390x | ||||
| disks.disks : | ||||
| disks.disks_notembedded : | ||||
| 
 | ||||
| # related to MDEV-20194 | ||||
| # first check of `undefined` table causes warning, | ||||
| # instead INSERT and ALTER should cause it | ||||
| innodb.row_size_error_log_warnings_3 : | ||||
|  | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1167
									
								
								SPECS/mariadb.spec
									
									
									
									
									
								
							
							
						
						
									
										1167
									
								
								SPECS/mariadb.spec
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user