head 1.6; access; symbols pkgsrc-2026Q3:1.6.0.4 pkgsrc-2026Q3-base:1.6 pkgsrc-2026Q2:1.6.0.2 pkgsrc-2026Q2-base:1.6 pkgsrc-2026Q1:1.5.0.4 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.2 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.4.0.6 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.4 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.2 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.3.0.22 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.20 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.18 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.16 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.14 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.12 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.10 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.8 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.6 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.4 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.2 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.2.0.4 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.2 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2026.06.09.16.36.05; author nia; state Exp; branches; next 1.5; commitid FAQiwKwsoBv1W8JG; 1.5 date 2025.10.27.20.51.00; author nia; state Exp; branches; next 1.4; commitid MdfEOXxIvhxOzfgG; 1.4 date 2025.02.16.23.28.13; author nia; state Exp; branches; next 1.3; commitid mtctoY6lVPyNzKJF; 1.3 date 2022.05.21.09.36.02; author nia; state Exp; branches; next 1.2; commitid BHZBCDILFwUkbUED; 1.2 date 2021.11.27.23.40.28; author nia; state Exp; branches 1.2.4.1; next 1.1; commitid RVVl9uUMUUrQtuiD; 1.1 date 2021.08.04.15.47.24; author nia; state Exp; branches 1.1.2.1; next ; commitid QaEwDXHuQW7vyF3D; 1.2.4.1 date 2022.06.05.10.11.03; author spz; state Exp; branches; next ; commitid 2GP9mlk0iVwzTPGD; 1.1.2.1 date 2021.12.14.08.59.19; author tm; state Exp; branches; next ; commitid imCRyuNjGLVJ3BkD; desc @@ 1.6 log @mariadb106: Update to 10.6.27 This update fixes various stability and security issues. Verified to build on NetBSD, FreeBSD, macOS, Linux. @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2024/08/21 21:08:34 nia Exp $ Allow building a server-only configuration. --- CMakeLists.txt.orig 2025-01-29 10:22:18.000000000 +0000 +++ CMakeLists.txt @@@@ -454,8 +454,6 @@@@ ENDIF() UNSET (MYSQLD_STATIC_PLUGIN_LIBS CACHE) -INCLUDE(mariadb_connector_c) # this does ADD_SUBDIRECTORY(libmariadb) - INCLUDE(cpack_tgz) INCLUDE(cpack_rpm) INCLUDE(cpack_deb) @@@@ -466,19 +464,16 @@@@ MARK_AS_ADVANCED(PYTHON_SHEBANG) # Add storage engines and plugins. CONFIGURE_PLUGINS() -ADD_SUBDIRECTORY(include) ADD_SUBDIRECTORY(dbug) ADD_SUBDIRECTORY(strings) ADD_SUBDIRECTORY(vio) ADD_SUBDIRECTORY(mysys) ADD_SUBDIRECTORY(mysys_ssl) -ADD_SUBDIRECTORY(client) ADD_SUBDIRECTORY(extra) ADD_SUBDIRECTORY(libservices) ADD_SUBDIRECTORY(sql/share) IF(NOT WITHOUT_SERVER) - ADD_SUBDIRECTORY(tests) ADD_SUBDIRECTORY(sql) OPTION (WITH_EMBEDDED_SERVER "Compile MariaDB with embedded server" OFF) IF(WITH_EMBEDDED_SERVER) @@@@ -497,10 +492,12 @@@@ IF(NOT WITHOUT_SERVER) ADD_SUBDIRECTORY(win/upgrade_wizard) ADD_SUBDIRECTORY(win/packaging) ENDIF() -ENDIF() - -IF(UNIX) +ELSE() + INCLUDE(mariadb_connector_c) # this does ADD_SUBDIRECTORY(libmariadb) + ADD_SUBDIRECTORY(client) + ADD_SUBDIRECTORY(include) ADD_SUBDIRECTORY(man) + ADD_SUBDIRECTORY(support-files) ENDIF() IF (NOT WITHOUT_ABI_CHECK) @@@@ -509,13 +506,14 @@@@ ENDIF() INCLUDE(cmake/tags.cmake) INCLUDE(for_clients) ADD_SUBDIRECTORY(scripts) -ADD_SUBDIRECTORY(support-files) ADD_SUBDIRECTORY(extra/aws_sdk) IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR) - SET(EXPORTED comp_err comp_sql factorial) + SET(EXPORTED comp_err factorial) IF(NOT WITHOUT_SERVER) SET(EXPORTED ${EXPORTED} gen_lex_hash gen_lex_token) + ELSE() + SET(EXPORTED ${EXPORTED} comp_sql) ENDIF() # minimal target to build only binaries for export ADD_CUSTOM_TARGET(import_executables DEPENDS ${EXPORTED}) @@@@ -587,7 +585,7 @@@@ IF(WIN32 AND SIGNCODE) INSTALL(SCRIPT ${PROJECT_BINARY_DIR}/sign.cmake) ENDIF() -FEATURE_SUMMARY(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES VAR MARIADB_FEATURE_SUMMARY) +FEATURE_SUMMARY(WHAT ALL VAR MARIADB_FEATURE_SUMMARY) OPTION(FEATURE_SUMMARY "Print feature summary at the end of configure step" ON) IF (FEATURE_SUMMARY) @@@@ -599,41 +597,3 @@@@ IF(NON_DISTRIBUTABLE_WARNING) MESSAGE(WARNING " You have linked MariaDB with ${NON_DISTRIBUTABLE_WARNING} libraries! You may not distribute the resulting binary. If you do, you will put yourself into a legal problem with the Free Software Foundation.") ENDIF() - -IF(NOT WITHOUT_SERVER) - # Define target for minimal mtr-testable build - ADD_CUSTOM_TARGET(minbuild) - ADD_DEPENDENCIES(minbuild - aria_chk - aria_pack - mariadb - mariadb-admin - mariadb-binlog - mariadb-check - mariadb-client-test - mariadb-conv - mariadb-dump - mariadb-import - mariadb-plugin - mariadb-show - mariadb-slap - mariadb-test - mariadb-tzinfo-to-sql - mariadb-upgrade - mariadbd - my_print_defaults - my_safe_process - myisam_ftdump - myisamchk - myisamlog - myisampack - perror - replace) - IF(WIN32) - ADD_DEPENDENCIES(minbuild echo mariadb-install-db my_safe_kill) - ENDIF() - ADD_CUSTOM_TARGET(smoketest - COMMAND perl ./mysql-test-run.pl main.1st - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/mysql-test) - ADD_DEPENDENCIES(smoketest minbuild) -ENDIF() @ 1.5 log @mariadb106-client: Update to 10.6.23 The usual bundle of reliability fixes. @ text @@ 1.4 log @mariadb: Update packages to latest minor version of LTS releases. While here, delint (mainly fixing whitespace issues in options.mk). Builds on: FreeBSD NetBSD OmniOS macOS @ text @@ 1.3 log @mariadb106: update to 10.6.8 MariaDB 10.6.8 Release Notes Notable Items InnoDB * innodb_disallow_writes removed (MDEV-25975) * InnoDB gap locking fixes (MDEV-20605, MDEV-28422) * InnoDB performance improvements (MDEV-27557, MDEV-28185, MDEV-27767, MDEV-28313, MDEV-28137, MDEV-28465, MDEV-26789) * Backup regression fixes (MDEV-27919) * InnoDB portability: FreeBSD futexes (MDEV-26476), POWER and s390x transactional memory (MDEV-27956) * ALTER TABLE: Fixed bogus duplicate key errors (MDEV-15250) * DDL and crash recovery fixes (MDEV-27274, MDEV-27234, MDEV-27817) * Requests to recalculate persistent statistics were sometimes lost (MDEV-27805) Replication * Semisync-slave server recovery is refined to correctly rollback prepared transaction (MDEV-28461) * Circular semisync setup endless event circulation is handled (MDEV-27760) * Semisync-slave server recovery is extended to work on new server_id server (MDEV-27342) * Server initialization time gtid_slave_pos purge related reason of crashing in binlog background thread is removed (MDEV-26473) * Shutdown of the semisync master can't produce inconsistent state anymore (MDEV-11853) * Binlogs disappear after rsync IST (MDEV-28583) * autocommit=0 slave hang is eliminated (DBAAS-7828) * master crash is eliminated in compressed semisync replication protocol with packet counting amendment (MDEV-25580) * OPTIMIZE on a sequence does not cause counterfactual ER_BINLOG_UNSAFE_STATEMENT anymore (MDEV-24617) * Automatically generated Gtid_log_list_event is made to recognize within replication event group as a formal member (MDEV-28550) * Replication unsafe INSERT .. ON DUPLICATE KEY UPDATE using two or more unique key values at a time with MIXED format binlogging is corrected (MDEV-28310) * Replication unsafe INSERT .. ON DUPLICATE KEY UPDATE stops issuing unnessary "Unsafe statement" with MIXED binlog format (MDEV-21810) * Incomplete replication event groups are detected to error out by the slave IO thread (MDEV-27697) * mysqlbinlog --stop-never --raw now flushes the result file to disk after each processed event so the file can be listed with the actual bytes (MDEV-14608) Backup * Incorrect binlogs after Galera SST using rsync and mariabackup (MDEV-27524) * mariabackup does not detect multi-source replication slave (MDEV-21037) * Useless warning "InnoDB: Allocated tablespace ID for , old maximum was 0" during backup stage (MDEV-27343) * mariabackup prepare fails for incrementals if a new schema is created after full backup is taken (MDEV-28446) Optimizer * Query performance degradation in newer MariaDB versions when using many tables (MDEV-28073) * A SEGV in Item_field::used_tables/update_depend_map_for_order... (MDEV-26402) * ANALYZE FORMAT=JSON fields are incorrect for UNION ALL queries (MDEV-27699) * Subquery in an UPDATE query uses full scan instead of range (MDEV-22377) * Assertion `item1->type() == Item::FIELD_ITEM ... (MDEV-19398) * Server crashes in Expression_cache_tracker::fetch_current_stats (MDEV-28268) * MariaDB server crash at Item_subselect::init_expr_cache_tracker (MDEV-26164, MDEV-26047) * Crash with union of my_decimal type in ORDER BY clause (MDEV-25994) * SIGSEGV in st_join_table::cleanup (MDEV-24560) * Assertion `!eliminated' failed in Item_subselect::exec (MDEV-28437) General * Server error messages are now available in Chinese (MDEV-28227) * For RHEL/CentOS 7, non x86_64 architectures are no longer supported upstream and so our support will also be dropped with this release * Packages for Ubuntu 22.04 LTS "Jammy" and Fedora 36 are not yet available pending the resolution of MDEV-28133: Backport OpenSSL-3.0 compatibility to 10.6 branch Security * Fixes for the following security vulnerabilities: * CVE-2022-27376 * CVE-2022-27377 * CVE-2022-27378 * CVE-2022-27379 * CVE-2022-27380 * CVE-2022-27381 * CVE-2022-27382 * CVE-2022-27383 * CVE-2022-27384 * CVE-2022-27386 * CVE-2022-27387 * CVE-2022-27444 * CVE-2022-27445 * CVE-2022-27446 * CVE-2022-27447 * CVE-2022-27448 * CVE-2022-27449 * CVE-2022-27451 * CVE-2022-27452 * CVE-2022-27455 * CVE-2022-27456 * CVE-2022-27457 * CVE-2022-27458 @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2021/11/27 23:40:28 nia Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2022-05-18 08:34:14.000000000 +0000 d7 1 a7 1 @@@@ -421,8 +421,6 @@@@ ENDIF() d16 1 a16 1 @@@@ -433,19 +431,16 @@@@ MARK_AS_ADVANCED(PYTHON_SHEBANG) d36 1 a36 1 @@@@ -464,23 +459,26 @@@@ IF(NOT WITHOUT_SERVER) d51 2 a52 1 INCLUDE(cmake/abi_check.cmake) d65 1 a65 1 + SET(EXPORTED ${EXPORTED} comp_sql) d69 10 a78 1 @@@@ -561,41 +559,3 @@@@ IF(NON_DISTRIBUTABLE_WARNING) @ 1.2 log @mariadb106*: Update to 10.6.5 Release notes: https://mariadb.com/kb/en/mariadb-1065-release-notes/ @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2021/08/04 15:47:24 nia Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2021-11-05 20:03:29.000000000 +0000 d7 1 a7 1 @@@@ -418,8 +418,6 @@@@ ENDIF() d13 1 d16 1 a16 2 @@@@ -429,19 +427,16 @@@@ MARK_AS_ADVANCED(PYTHON_SHEBANG) d36 1 a36 1 @@@@ -460,23 +455,26 @@@@ IF(NOT WITHOUT_SERVER) d68 1 a68 1 @@@@ -557,41 +555,3 @@@@ IF(NON_DISTRIBUTABLE_WARNING) @ 1.2.4.1 log @Pullup ticket #6640 - requested by nia databases/mariadb106-client: security update databases/mariadb106-server: security update Revisions pulled up: - databases/mariadb106-client/Makefile.common 1.8 - databases/mariadb106-client/distinfo 1.9 - databases/mariadb106-client/patches/patch-CMakeLists.txt 1.3 - databases/mariadb106-client/patches/patch-storage_innobase_include_transactional__lock__guard.h 1.3 - databases/mariadb106-server/Makefile 1.15 - databases/mariadb106-server/PLIST 1.7 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: nia Date: Sat May 21 09:36:03 UTC 2022 Modified Files: pkgsrc/databases/mariadb106-client: Makefile.common distinfo pkgsrc/databases/mariadb106-client/patches: patch-CMakeLists.txt patch-storage_innobase_include_transactional__lock__guard.h pkgsrc/databases/mariadb106-server: Makefile PLIST Log Message: mariadb106: update to 10.6.8 MariaDB 10.6.8 Release Notes Notable Items InnoDB * innodb_disallow_writes removed (MDEV-25975) * InnoDB gap locking fixes (MDEV-20605, MDEV-28422) * InnoDB performance improvements (MDEV-27557, MDEV-28185, MDEV-27767, MDEV-28313, MDEV-28137, MDEV-28465, MDEV-26789) * Backup regression fixes (MDEV-27919) * InnoDB portability: FreeBSD futexes (MDEV-26476), POWER and s390x transactional memory (MDEV-27956) * ALTER TABLE: Fixed bogus duplicate key errors (MDEV-15250) * DDL and crash recovery fixes (MDEV-27274, MDEV-27234, MDEV-27817) * Requests to recalculate persistent statistics were sometimes lost (MDEV-27805) Replication * Semisync-slave server recovery is refined to correctly rollback prepared transaction (MDEV-28461) * Circular semisync setup endless event circulation is handled (MDEV-27760) * Semisync-slave server recovery is extended to work on new server_id server (MDEV-27342) * Server initialization time gtid_slave_pos purge related reason of crashing in binlog background thread is removed (MDEV-26473) * Shutdown of the semisync master can't produce inconsistent state anymore (MDEV-11853) * Binlogs disappear after rsync IST (MDEV-28583) * autocommit=0 slave hang is eliminated (DBAAS-7828) * master crash is eliminated in compressed semisync replication protocol with packet counting amendment (MDEV-25580) * OPTIMIZE on a sequence does not cause counterfactual ER_BINLOG_UNSAFE_STATEMENT anymore (MDEV-24617) * Automatically generated Gtid_log_list_event is made to recognize within replication event group as a formal member (MDEV-28550) * Replication unsafe INSERT .. ON DUPLICATE KEY UPDATE using two or more unique key values at a time with MIXED format binlogging is corrected (MDEV-28310) * Replication unsafe INSERT .. ON DUPLICATE KEY UPDATE stops issuing unnessary "Unsafe statement" with MIXED binlog format (MDEV-21810) * Incomplete replication event groups are detected to error out by the slave IO thread (MDEV-27697) * mysqlbinlog --stop-never --raw now flushes the result file to disk after each processed event so the file can be listed with the actual bytes (MDEV-14608) Backup * Incorrect binlogs after Galera SST using rsync and mariabackup (MDEV-27524) * mariabackup does not detect multi-source replication slave (MDEV-21037) * Useless warning "InnoDB: Allocated tablespace ID for , old maximum was 0" during backup stage (MDEV-27343) * mariabackup prepare fails for incrementals if a new schema is created after full backup is taken (MDEV-28446) Optimizer * Query performance degradation in newer MariaDB versions when using many tables (MDEV-28073) * A SEGV in Item_field::used_tables/update_depend_map_for_order... (MDEV-26402) * ANALYZE FORMAT=JSON fields are incorrect for UNION ALL queries (MDEV-27699) * Subquery in an UPDATE query uses full scan instead of range (MDEV-22377) * Assertion `item1->type() = Item::FIELD_ITEM ... (MDEV-19398) * Server crashes in Expression_cache_tracker::fetch_current_stats (MDEV-28268) * MariaDB server crash at Item_subselect::init_expr_cache_tracker (MDEV-26164, MDEV-26047) * Crash with union of my_decimal type in ORDER BY clause (MDEV-25994) * SIGSEGV in st_join_table::cleanup (MDEV-24560) * Assertion `!eliminated' failed in Item_subselect::exec (MDEV-28437) General * Server error messages are now available in Chinese (MDEV-28227) * For RHEL/CentOS 7, non x86_64 architectures are no longer supported upstream and so our support will also be dropped with this release * Packages for Ubuntu 22.04 LTS "Jammy" and Fedora 36 are not yet available pending the resolution of MDEV-28133: Backport OpenSSL-3.0 compatibility to 10.6 branch Security * Fixes for the following security vulnerabilities: * CVE-2022-27376 * CVE-2022-27377 * CVE-2022-27378 * CVE-2022-27379 * CVE-2022-27380 * CVE-2022-27381 * CVE-2022-27382 * CVE-2022-27383 * CVE-2022-27384 * CVE-2022-27386 * CVE-2022-27387 * CVE-2022-27444 * CVE-2022-27445 * CVE-2022-27446 * CVE-2022-27447 * CVE-2022-27448 * CVE-2022-27449 * CVE-2022-27451 * CVE-2022-27452 * CVE-2022-27455 * CVE-2022-27456 * CVE-2022-27457 * CVE-2022-27458 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/mariadb106-client/Makefile.common cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/mariadb106-client/distinfo cvs rdiff -u -r1.2 -r1.3 \ pkgsrc/databases/mariadb106-client/patches/patch-CMakeLists.txt \ pkgsrc/databases/mariadb106-client/patches/patch-storage_innobase_include_transactional__lock__guard.h cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/mariadb106-server/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/mariadb106-server/PLIST @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2022-05-18 08:34:14.000000000 +0000 d7 1 a7 1 @@@@ -421,8 +421,6 @@@@ ENDIF() a12 1 INCLUDE(cpack_tgz) d15 2 a16 1 @@@@ -433,19 +431,16 @@@@ MARK_AS_ADVANCED(PYTHON_SHEBANG) d36 1 a36 1 @@@@ -464,23 +459,26 @@@@ IF(NOT WITHOUT_SERVER) d68 1 a68 1 @@@@ -561,41 +559,3 @@@@ IF(NON_DISTRIBUTABLE_WARNING) @ 1.1 log @databases: Add MariaDB 10.6. What's new in 10.6: https://mariadb.com/kb/en/changes-improvements-in-mariadb-106/ @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2021/05/23 15:32:47 nia Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2021-05-05 21:00:18.000000000 +0000 d7 1 a7 1 @@@@ -421,8 +421,6 @@@@ ENDIF() d16 1 a16 1 @@@@ -432,13 +430,11 @@@@ MARK_AS_ADVANCED(PYTHON_SHEBANG) d30 7 a36 1 @@@@ -461,23 +457,26 @@@@ IF(NOT WITHOUT_SERVER) d68 42 @ 1.1.2.1 log @Pullup ticket #6550 - requested by nia databases/mariadb106: security fix Revisions pulled up: - databases/mariadb106-client/Makefile 1.4 - databases/mariadb106-client/Makefile.common 1.6 - databases/mariadb106-client/PLIST 1.2 - databases/mariadb106-client/distinfo 1.5 - databases/mariadb106-client/patches/patch-CMakeLists.txt 1.2 - databases/mariadb106-client/patches/patch-plugin_auth__pam_CMakeLists.txt deleted - databases/mariadb106-client/patches/patch-plugin_auth__socket_auth__socket.c deleted - databases/mariadb106-client/patches/patch-scripts_CMakeLists.txt 1.2 - databases/mariadb106-client/patches/patch-storage_innobase_include_transactional__lock__guard.h 1.1 - databases/mariadb106-server/Makefile 1.7 - databases/mariadb106-server/PLIST 1.5 --- Module Name: pkgsrc Committed By: nia Date: Sat Nov 27 23:40:28 UTC 2021 Modified Files: pkgsrc/databases/mariadb106-client: Makefile Makefile.common PLIST distinfo pkgsrc/databases/mariadb106-client/patches: patch-CMakeLists.txt patch-scripts_CMakeLists.txt pkgsrc/databases/mariadb106-server: Makefile PLIST Added Files: pkgsrc/databases/mariadb106-client/patches: patch-storage_innobase_include_transactional__lock__guard.h Removed Files: pkgsrc/databases/mariadb106-client/patches: patch-plugin_auth__pam_CMakeLists.txt patch-plugin_auth__socket_auth__socket.c Log Message: mariadb106*: Update to 10.6.5 Release notes: https://mariadb.com/kb/en/mariadb-1065-release-notes/ @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2021-11-05 20:03:29.000000000 +0000 d7 1 a7 1 @@@@ -418,8 +418,6 @@@@ ENDIF() d16 1 a16 1 @@@@ -429,19 +427,16 @@@@ MARK_AS_ADVANCED(PYTHON_SHEBANG) d30 1 a30 7 IF(NOT WITHOUT_SERVER) - ADD_SUBDIRECTORY(tests) ADD_SUBDIRECTORY(sql) OPTION (WITH_EMBEDDED_SERVER "Compile MariaDB with embedded server" OFF) IF(WITH_EMBEDDED_SERVER) @@@@ -460,23 +455,26 @@@@ IF(NOT WITHOUT_SERVER) a61 42 @@@@ -557,41 +555,3 @@@@ IF(NON_DISTRIBUTABLE_WARNING) MESSAGE(WARNING " You have linked MariaDB with ${NON_DISTRIBUTABLE_WARNING} libraries! You may not distribute the resulting binary. If you do, you will put yourself into a legal problem with the Free Software Foundation.") ENDIF() - -IF(NOT WITHOUT_SERVER) - # Define target for minimal mtr-testable build - ADD_CUSTOM_TARGET(minbuild) - ADD_DEPENDENCIES(minbuild - aria_chk - aria_pack - mariadb - mariadb-admin - mariadb-binlog - mariadb-check - mariadb-client-test - mariadb-conv - mariadb-dump - mariadb-import - mariadb-plugin - mariadb-show - mariadb-slap - mariadb-test - mariadb-tzinfo-to-sql - mariadb-upgrade - mariadbd - my_print_defaults - my_safe_process - myisam_ftdump - myisamchk - myisamlog - myisampack - perror - replace) - IF(WIN32) - ADD_DEPENDENCIES(minbuild echo mariadb-install-db my_safe_kill) - ENDIF() - ADD_CUSTOM_TARGET(smoketest - COMMAND perl ./mysql-test-run.pl main.1st - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/mysql-test) - ADD_DEPENDENCIES(smoketest minbuild) -ENDIF() @