From: Otto Kekäläinen Date: Sun, 28 May 2023 06:16:42 +0000 (-0700) Subject: mariadb (1:10.11.3-1) unstable; urgency=medium X-Git-Tag: archive/raspbian/1%10.11.8-1+rpi1~1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aed5ba83e8648177d33d500cfc785361e07a1aba;p=mariadb.git mariadb (1:10.11.3-1) unstable; urgency=medium * New upstream version 10.11.3. Includes security fixes for - CVE-2022-47015 (Closes: #1034889) * This is the first bug fixing maintenance release from upstream in the 10.11 series as the 10.11.2 release was the first one announced GA (general availability). For a full list of all bug fixes see release notes at https://mariadb.com/kb/en/mariadb-10-11-3-release-notes/. * Update libmariadb3.symbols to include new ABI changes in 3.3.5 and fix DPKG_GENSYMBOLS_CHECK_LEVEL so it actually takes effect and in build will properly fail if there are unaccounted symbol changes in future upstream maintenance releases * Update Lintian overrides after 10.11.3 import * Use new log_slow_* configuration variable names in configuration examples to be aligned with upstream and have least amount of surprises for users of MariaDB 10.11 where these variables changed names * Clean away unnecessary mariadb-test.links, no functional effect * Delete all embedded zlib copies to fix crossbuilds and improve security * Use native zlib to make crossbuilds work again after recent zlib 1.2.13 update regressed crossbuilds * Revert fixes from February/March 2023 that the Debian release team deemed unfit/too late for Bookworm (Bug#1033811): - Revert "Add patch to fix upgrades from MySQL 5.7 to MariaDB 10.11..." - Revert "Limit check of running mysqld/mariadbd to system users..." - Revert "MDEV-21303: Fix man page packaging for new mariadb-* named..." - Revert "Add patches to fix spelling in MariaDB and components..." - Revert "Add patch to better diagnose failures in main.order_by_innodb..." - Revert "Add patch to fix misc compiler warnings in upstream build" - Revert "Add patch to emit warnings if mariadb-upgrade was not run..." [ Mathias Gibbens ] * Silence superfluous warnings in mariadb-server preinst (Closes: #1034684) [dgit import unpatched mariadb 1:10.11.3-1] --- aed5ba83e8648177d33d500cfc785361e07a1aba diff --cc debian/README.Contributor index 000000000,000000000..45708b524 new file mode 100644 --- /dev/null +++ b/debian/README.Contributor @@@ -1,0 -1,0 +1,420 @@@ ++# README for Debian packaging contributors ++ ++This documentation describes how to contribute to the official Debian packages ++of MariaDB. The packaging in Debian repositories is not identical to the packaging ++in mariadb.org repositories, but whatever is in Debian repositories will eventually ++be upstreamed. ++ ++ ++## Development environment and tools ++ ++Use a recent version of Debian or Ubuntu as the environment for Debian packaging ++testing and development. Preferred environment is Debian Sid (unstable). ++ ++Install the tool used to manage and build the source: ++ ++ sudo apt-get install git-buildpackage ++ ++ ++## Getting the source ++ ++The official Debian package source is hosted on the Debian Gitlab server under ++the MariaDB/MySQL packaging team at https://salsa.debian.org/mariadb-team/. You ++are welcome to fork it and make merge requests. ++ ++To get the latest official Debian packaging source of `mariadb`, clone the ++source repository with all relevant branches (main branch `debian/latest`) to ++your local environment using _git-buildpackage_: ++ ++ gbp clone https://salsa.debian.org/mariadb-team/mariadb-server.git ++ ++If you have your own fork and SSH keys set up on Salsa, you can run: ++ ++ gbp clone git@salsa.debian.org:/mariadb-server.git ++ ++ ++The clone needs to be run only once. On later runs you can refresh your clone with ++relevant branches using: ++ ++ gbp pull --force ++ ++ ++## Building the packages ++ ++Build binaries, run testsuite and build Debian packages with: ++ ++ gbp buildpackage ++ ++On the first run git-buildpackage will complain if some of the build dependencies ++defined in debian/control are missing. Simply install those packages and run the ++build again. ++ ++A quick command to install all dependencies: ++ ++ sudo mk-build-deps -r -i debian/control -t "apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends" ++ ++If the build fails, the easiest way to clean up before a new run is ++ ++ git clean -fdx && git reset --hard ++ ++ ++### Build options ++ ++If you want to skip the mysql-test-run step (which takes a lot of time) set ++the following environment variable: ++ ++ export DEB_BUILD_OPTIONS="nocheck" ++ ++If you want to run the build in parallel on 2 CPUs and have verbose output: ++ ++ export DEB_BUILD_OPTIONS="parallel=2 verbose" ++ ++The options above can also be combined freely to get desired behavior. ++ ++ ++### Using special build environments ++ ++If you want to ensure all build dependencies are clean, you can build inside a ++Docker or sbuild (Debian tool) environment. ++ ++#### Build in Docker ++ ++First make a working directory for the build artifacts. Inside that directory ++clone the repository. Then start a Docker session using whatever Debian/Ubuntu ++image you want with the command: ++ ++ docker run -it -v ${PWD}:/build -w /build debian:sid bash ++ ++This will start a session, where you are as the root user in the path /build ++inside the Docker container. Here you can `cd` into the source directory, ++install dependencies and start the build. Note that when you exit the session, ++everything will be lost apart from the files you had inside the mounted volume ++in `/build`. ++ ++#### Build using sbuild ++ ++If you prefer sbuild, you can build with something like: ++ ++ gbp buildpackage --git-builder=sbuild -A -v -d unstable ++ ++## Creating a feature or bugfix branch ++ ++The repository layout follows the DEP-14 standard: ++https://dep-team.pages.debian.net/deps/dep14/ ++ ++All new features and also bug fixes are done only in the `debian/latest` branch. ++The release branches for Debian and Ubuntu are only used for security updates. ++ ++To prepare the Salsa pull request, create a bugfix branch from master with: ++ ++ git checkout -b bugfix/NNNNNN-example-name ++ ++After this you can develop with all the usual git commit and push commands ++until you have in your fork at Salsa the desired change and you are ready ++to open the merge request. ++ ++ ++### Notes about how to make changes in the proper way ++ ++First consider submitting your patch upstream. Upstream MariaDB makes frequent ++maintenance releases and any fix done upstream will therefore be included in ++Debian relatively quickly. You can send email to the developers mailing list ++or open a pull request at https://github.com/MariaDB/server. ++ ++Follow these instructions if your fix is about packaging in Debian specifically. ++Start by using `gitk --all` or similar tool to browse the previous changes. Try ++to follow similar pattern in your new changes. ++ ++Keep in mind that all changes must done only for files residing in the `debian/` ++sub-directory. If you need to create changes outside the `debian/` directory, ++then you need to create a patch file using the same pattern as the patches ++found in `debian/patches` and activated by a line in `debian/patches/series`. ++ ++Do not bundle in your commit any changes to `debian/changelog`. The correct ++changelog entries will be created later by the maintainer using `git-dch` in an ++automated fashion. ++ ++For an example of a patch adding commit see ++https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/7972a38e ++ ++ ++# Quality assurance tips ++ ++Ensure most packaging files are formatted correctly: ++ ++ wrap-and-sort -av ++ ++Check man pages for syntax errors: ++ ++ LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z mariadb.1 >/dev/null ++ ++Find spelling errors: ++ ++ find * -type f | xargs spellintian ++ ++ ++# Debugging tips ++ ++## Debug mariadb-test-run failures ++ ++If the test suite is failing on Launchpad or some other CI system where you ++don't have access to the build artifacts, you can extend the debian/rules file ++to print out valuable information with the commands: ++ ++ cd $(BUILDDIR)/mysql-test && find var/log/ -ls || true ++ cd $(BUILDDIR)/mysql-test && cat var/log/*.err || true ++ cd $(BUILDDIR)/mysql-test && tail -n 1000 var/log/*.log || true ++ ++The `cd` is required on every line since it is a Makefile and the actual command ++needs to run in the correct directory. Also, the `|| true` at the end ensures ++the build will complete and not abort if any of those debug steps fail. ++ ++## Debugging with gdb ++ ++If the `mariadb-test-run` fails on a `mariadbd` crash it should produce a core ++dump file, from which a full stack trace can be produced with: ++ ++ cd $(BUILDDIR)/mysql-test && gdb --batch --ex 'thr a a bt' var/log/*/mysqld.1/core || true ++ ++To attach `gdb` on a running process and get a stack trace run: ++ ++ gdb -p $(pgrep -x mariadbd) /usr/sbin/mariadbd ++ set height 0 ++ set logging file /tmp/mysqld.log ++ set logging on ++ thread apply all backtrace full ++ ++The readability of the stack traces depends on if symbols are available on the ++system. In Debian and Ubuntu all (C/C++) software is automatically built with ++debug symbols, but to save disk space they are distributed in separate packages ++(usually with `-dbg` or `-dbgsym` suffix) which users need to install in the ++rare case stack traces are needed. See the Debian and Ubuntu documentation on ++how to enable the repository that has the debug symbol packages. ++ ++* https://wiki.ubuntu.com/Debug%20Symbol%20Packages ++* https://wiki.debian.org/HowToGetABacktrace ++ ++## Debug build ++ ++A debug build can be created using the following build flags: ++ ++ -DCMAKE_BUILD_TYPE=Debug \ ++ -DMYSQL_MAINTAINER_MODE=OFF \ ++ ++The latter flag ensures a build does not stop on warnings but continues to the ++end. ++ ++A 'mariadbd' binary from a debug build can be started with argument '--debug' to ++be verbose about what is going on in the server. Debug binaries should not be ++used in production as they are slower than normal binaries. ++ ++Core dumps and stack traces can be produced on any build running with ++`--core-file --stack-trace` and *debug builds are not needed to run `gdb`*. ++ ++## Debugging a running server ++ ++Linux distros come standard with tools like `strace` and `lsof` which can also ++be used to inspect what processes are doing (no need for debug build). For ++example to see what `mariadbd` is writing to the database files can be viewed ++with: ++ ++ strace -ffp $(pgrep -x mariadbd) -e pwrite,write,fsync,fdatasync,sync,send,sendto,sendmsg ++ lsof -a -p $(pgrep -x mariadbd) | grep "/var/lib/mysql" ++ ++## Compare changes between builds ++ ++Diffoscope can be used to investigate small changes between recent builds: ++ ++ docker run --rm -t -w $(pwd) -v $(pwd):$(pwd) registry.salsa.debian.org/reproducible-builds/diffoscope --html-dir report mariadb-server-1.deb mariadb-server-2.deb ++ firefox report/index.html ++ ++## Test autopkgtest locally ++ ++If Debian CI fails (or Ubuntu CI) one might need to debug the autopkgtests ++manually. The easiest way to do it is to start a Docker container that has ++access to the packaging source directory via a local mount: ++ ++ laptop$ docker run -it -v ${PWD}:/build -w /build debian:sid bash ++ container$ apt update && apt install -y autopkgtest ++ container$ autopkgtest --no-built-binaries --shell-fail -- null ++ ++Edit the files in `debian/tests` in your favorite code editor and re-run the ++`autopkgtest -- null` until the tests are passing. When the autopkgtests work ++the container can be shut down and the valid `debian/tests` committed in git. ++ ++If you want to iterate on a single test, use `--test-name`, e.g. ++`autopkgtest --no-built-binaries --test-name=configuration-tracing -- null`. ++ ++If you don't want to use the MariaDB binaries from Debian Sid but instead build ++them from the source tree to be used in autopkgtest directly, simply omit ++`--no-built-binaries` from the `autopkgtest` command. ++ ++For more information please read: ++* https://manpages.debian.org/unstable/autopkgtest/autopkgtest.1.en.html ++* https://salsa.debian.org/ci-team/autopkgtest/-/tree/master/doc ++ ++## Debug installation/upgrade ++ ++To see what exactly the Debian maintainer scripts run, they can be made verbose with: ++ ++ export DEBIAN_SCRIPT_DEBUG=1 ++ apt install ... ++ ++The source files of the Debian maintainer scripts are not the final ones, as the ++package building stage may make changes and additions to them. To view a ++maintainer script in the final form on an installed system run: ++ ++ cat /var/lib/dpkg/info/mariadb-server.postinst ++ ++To review the my.cnf status run: ++ ++ find /etc/mysql/ -ls ++ update-alternatives --display my.cnf ++ ++## Debug apt Depends/Conflicts/Breaks ++ ++It can be quite frustrating to debug situations where `apt` (or `apt-get`) fails ++on an install or upgrade with an error message like: ++ ++ The following packages have unmet dependencies: ++ mariadb-client : Depends: mariadb-client-10.5 but 1:10.5.12 is to be installed ++ mariadb-server : Depends: mariadb-server-10.5 but 1:10.5.12 is to be installed ++ mariadb-test : Depends: mariadb-client-10.5 but 1:10.5.12 is to be installed ++ Depends: mariadb-server-10.5 but 1:10.5.12 is to be installed ++ E: Unable to correct problems, you have held broken packages. ++ ++To make apt show debug information on what it tried to resolve and how it failed ++enable debug features by addin a file in `/etc/apt/apt.conf.d/` with: ++ ++ Debug::pkgProblemResolver 1; ++ Debug::pkgDepCache::AutoInstall 1; ++ Debug::pkgDepCache::Marker 1; ++ ++>lternatively append options directly to `apt` commands: ++ ++ apt dist-upgrade -o Debug::pkgProblemResolver=1 ++ ++It can be also quite annoying to rebuild the entire package to debug small ++changes in the `debian/control` file. To have a much faster change->test->change ++cycle one can simply instruct `apt` to use a custom `Packages` file to read the ++`control` data. ++ ++First ensure `apt` forgets all repositories: ++ ++ rm /etc/apt/sources.list ++ apt clean ++ apt update ++ ++Download a Packages file for so it can be edited: ++ ++ curl -O http://ftp.debian.org/debian/dists/sid/main/binary-amd64/Packages.xz ++ unxz Packages.xz ++ cp Packages Packages.orig ++ ++Open the file in an editor, scroll down to the MariadB packages and make any ++changes you want and then test them: ++ ++ nano Packages ++ apt install --with-source ./Packages -s mariadb-server -o Debug::pkgDepCache::Marker=1 -o Debug::pkgDepCache::AutoInstall=1 -o Debug::pkgProblemResolver=1 ++ ++The example uses maximum verbosity but it is naturally not mandatory. When the ++solution has been found, compare to the original and transfer the changes into ++the actual debian/control in the MariaDB packaging: ++ ++ diff -u Packages.orig Packages ++ ++## Test install/upgrade with local package repository ++ ++Normally the fastest way to test that the built *.deb files install and upgrade ++properly is simply to run `apt` directly on them inside a container that has ++access to the .deb files via a local mount: ++ ++ laptop$ docker run -it -v ${PWD}:/build -w /build debian:sid bash ++ container$ apt update && apt install ./*.deb ++ ++Some bugs however occur only when apt does various dependency resolving and can ++only be tested with an installation from an actual apt repository. The fastest ++way to get a directory with deb files served via a local repository is to run: ++ ++ apt install apt-utils ++ apt-ftparchive packages . > Packages ++ apt-ftparchive release . > Release ++ echo 'deb [trusted=yes] file:/build/mariadb-bionic ./' >> /etc/apt/sources.list ++ apt update ++ apt install mariadb-server ++ ++The example above assumes that the .deb files are in path `/build`. ++ ++## Check Breaks/Replaces ++ ++MariaDB is not only a massive package by itself, it also has several parallel ++major releases at any given time and also other variants (MySQL, Percona Server) ++the packaging might interact with. ++ ++The standard Salsa-CI pipeline checks Breaks/Replaces for what is currently in ++the Debian repositories, but to check Breaks/Replaces across all known ++repositories one needs to run: ++ ++ docker run -it -v ${PWD}:/build -w /build debian:sid bash ++ apt update ++ apt install --yes python3-junit.xml python3-debian apt-file ++ curl -O https://salsa.debian.org/salsa-ci-team/pipeline/-/raw/master/images/scripts/check_for_missing_breaks_replaces.py ++ chmod +x check_for_missing_breaks_replaces.py ++ apt install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates curl debian-archive-keyring ++ curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc ++ gpg --list-keys # Initialize default keyring ++ gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/mariadb.gpg --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 871920D1991BC93C 3B4FE6ACC0B21F32 CBF8D6FD518E17E1 7638D0442B90D010 8C718D3B5072E1F5 9334A25F8507EFA5 CBCB082A1BB943DB 467B942D3A79BD29 ++ chmod 644 /etc/apt/trusted.gpg.d/mariadb.gpg ++ cat > /etc/apt/sources.list.d/mariadb.list <&2 & + +exit 0 diff --cc debian/additions/debian-start.inc.sh index 74340e784,000000000..005aa2908 mode 100755,000000..100755 --- a/debian/additions/debian-start.inc.sh +++ b/debian/additions/debian-start.inc.sh @@@ -1,79 -1,0 +1,79 @@@ +#!/bin/bash +# +# This file is included by /etc/mysql/debian-start +# + +## Check MyISAM and Aria unclosed tables. +# - Requires the server to be up. +# - Is supposed to run silently in background. +function check_for_crashed_tables() { + set -e + set -u + + # But do it in the background to not stall the boot process. - logger -p daemon.info -i -t"$0" "Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables" ++ logger -p daemon.info -i -t$0 "Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables" + + # Checking for $? is unreliable so the size of the output is checked. + # Some table handlers like HEAP do not support CHECK TABLE. + tempfile=$(mktemp) + + # We have to use xargs in this case, because a for loop barfs on the + # spaces in the thing to be looped over. + - # If a crashed table is encountered, the "mariadb" command will return with a status different from 0 ++ # If a crashed table is encountered, the "mysql" command will return with a status different from 0 + set +e + - LC_ALL=C $MARIADB --skip-column-names --batch -e ' ++ LC_ALL=C $MYSQL --skip-column-names --batch -e ' + select concat('\''select count(*) into @discard from `'\'', + TABLE_SCHEMA, '\''`.`'\'', TABLE_NAME, '\''`'\'') + from information_schema.TABLES where TABLE_SCHEMA<>'\''INFORMATION_SCHEMA'\'' and TABLE_SCHEMA<>'\''PERFORMANCE_SCHEMA'\'' and ( ENGINE='\''MyISAM'\'' or ENGINE='\''Aria'\'' )' | \ - xargs -i ${MARIADB} --skip-column-names --silent --batch \ - --force -e "{}" &>"${tempfile}" ++ xargs -i $MYSQL --skip-column-names --silent --batch \ ++ --force -e "{}" &>$tempfile + set -e + + if [ -s "$tempfile" ]; then + ( + /bin/echo -e "\n" \ + "Improperly closed tables are also reported if clients are accessing\n" \ + "the tables *now*. A list of current connections is below.\n"; + $MYADMIN processlist status - ) >> "${tempfile}" ++ ) >> $tempfile + # Check for presence as a dependency on mailx would require an MTA. + if [ -x /usr/bin/mailx ]; then - mailx -e -s"$MYCHECK_SUBJECT" $MYCHECK_RCPT < "$tempfile" ++ mailx -e -s"$MYCHECK_SUBJECT" $MYCHECK_RCPT < $tempfile + fi - (echo "$MYCHECK_SUBJECT"; cat "${tempfile}") | logger -p daemon.warn -i -t"$0" ++ (echo "$MYCHECK_SUBJECT"; cat $tempfile) | logger -p daemon.warn -i -t$0 + fi - rm "${tempfile}" ++ rm $tempfile +} + +## Check for tables needing an upgrade. +# - Requires the server to be up. +# - Is supposed to run silently in background. +function upgrade_system_tables_if_necessary() { + set -e + set -u + - logger -p daemon.info -i -t"$0" "Upgrading MySQL tables if necessary." ++ logger -p daemon.info -i -t$0 "Upgrading MySQL tables if necessary." + + # Filter all "duplicate column", "duplicate key" and "unknown column" + # errors as the script is designed to be idempotent. + LC_ALL=C $MYUPGRADE \ + 2>&1 \ + | egrep -v '^(1|@had|ERROR (1051|1054|1060|1061|1146|1347|1348))' \ - | logger -p daemon.warn -i -t"$0" ++ | logger -p daemon.warn -i -t$0 +} + +## Check for the presence of both, root accounts with and without password. +# This might have been caused by a bug related to mysql_install_db (#418672). +function check_root_accounts() { + set -e + set -u + - logger -p daemon.info -i -t"$0" "Checking for insecure root accounts." ++ logger -p daemon.info -i -t$0 "Checking for insecure root accounts." + - ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | $MARIADB --skip-column-names ) ++ ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | $MYSQL --skip-column-names ) + if [ "$ret" -ne "0" ]; then - logger -p daemon.warn -i -t"$0" "WARNING: mysql.user contains $ret root accounts without password!" ++ logger -p daemon.warn -i -t$0 "WARNING: mysql.user contains $ret root accounts without password!" + fi +} diff --cc debian/additions/mariadb.conf.d/50-server.cnf index 5e958e9e6,000000000..4feadbdd1 mode 100644,000000..100644 --- a/debian/additions/mariadb.conf.d/50-server.cnf +++ b/debian/additions/mariadb.conf.d/50-server.cnf @@@ -1,114 -1,0 +1,119 @@@ +# +# These groups are read by MariaDB server. +# Use it for options that only the server (but not clients) should see + +# this is read by the standalone daemon and embedded servers +[server] + +# this is only for the mysqld standalone daemon +[mysqld] + +# +# * Basic Settings +# + +#user = mysql +pid-file = /run/mysqld/mysqld.pid +basedir = /usr +#datadir = /var/lib/mysql +#tmpdir = /tmp + +# Broken reverse DNS slows down connections considerably and name resolve is +# safe to skip if there are no "host by domain name" access grants +#skip-name-resolve + +# Instead of skip-networking the default is now to listen only on +# localhost which is more compatible and is not less secure. +bind-address = 127.0.0.1 + +# +# * Fine Tuning +# + +#key_buffer_size = 128M +#max_allowed_packet = 1G +#thread_stack = 192K +#thread_cache_size = 8 +# This replaces the startup script and checks MyISAM tables if needed +# the first time they are touched +#myisam_recover_options = BACKUP +#max_connections = 100 +#table_cache = 64 + +# +# * Logging and Replication +# + ++# Note: The configured log file or its directory need to be created ++# and be writable by the mysql user, e.g.: ++# $ sudo mkdir -m 2750 /var/log/mysql ++# $ sudo chown mysql /var/log/mysql ++ +# Both location gets rotated by the cronjob. +# Be aware that this log type is a performance killer. +# Recommend only changing this at runtime for short testing periods if needed! +#general_log_file = /var/log/mysql/mysql.log +#general_log = 1 + +# When running under systemd, error logging goes via stdout/stderr to journald +# and when running legacy init error logging goes to syslog due to +# /etc/mysql/conf.d/mariadb.conf.d/50-mysqld_safe.cnf +# Enable this if you want to have error logging into a separate file +#log_error = /var/log/mysql/error.log +# Enable the slow query log to see queries with especially long duration +#log_slow_query_file = /var/log/mysql/mariadb-slow.log +#log_slow_query_time = 10 +#log_slow_verbosity = query_plan,explain +#log-queries-not-using-indexes +#log_slow_min_examined_row_limit = 1000 + +# The following can be used as easy to replay backup logs or for replication. +# note: if you are setting up a replication slave, see README.Debian about +# other settings you may need to change. +#server-id = 1 +#log_bin = /var/log/mysql/mysql-bin.log +expire_logs_days = 10 +#max_binlog_size = 100M + +# +# * SSL/TLS +# + +# For documentation, please read +# https://mariadb.com/kb/en/securing-connections-for-client-and-server/ +#ssl-ca = /etc/mysql/cacert.pem +#ssl-cert = /etc/mysql/server-cert.pem +#ssl-key = /etc/mysql/server-key.pem +#require-secure-transport = on + +# +# * Character sets +# + +# MySQL/MariaDB default is Latin1, but in Debian we rather default to the full +# utf8 4-byte character set. See also client.cnf +character-set-server = utf8mb4 +collation-server = utf8mb4_general_ci + +# +# * InnoDB +# + +# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. +# Read the manual for more InnoDB related options. There are many! +# Most important is to give InnoDB 80 % of the system RAM for buffer use: +# https://mariadb.com/kb/en/innodb-system-variables/#innodb_buffer_pool_size +#innodb_buffer_pool_size = 8G + +# this is only for embedded server +[embedded] + +# This group is only read by MariaDB servers, not by MySQL. +# If you use the same .cnf file for MySQL and MariaDB, +# you can put MariaDB-only options here +[mariadb] + +# This group is only read by MariaDB-10.11 servers. +# If you use the same .cnf file for MariaDB of different versions, +# use this group for options that older servers don't understand +[mariadb-10.11] diff --cc debian/autobake-deb.sh index 4fb69be09,000000000..1cc215f1c mode 100755,000000..100755 --- a/debian/autobake-deb.sh +++ b/debian/autobake-deb.sh @@@ -1,253 -1,0 +1,207 @@@ +#!/bin/bash +# +# Build MariaDB .deb packages for test and release at mariadb.org +# +# Purpose of this script: +# Always keep the actual packaging as up-to-date as possible following the latest +# Debian policy and targeting Debian Sid. Then case-by-case run in autobake-deb.sh +# tests for backwards compatibility and strip away parts on older builders or +# specific build environments. + +# Exit immediately on any error +set -e + +# On Buildbot, don't run the mysql-test-run test suite as part of build. +# It takes a lot of time, and we will do a better test anyway in +# Buildbot, running the test suite from installed .debs on a clean VM. +export DEB_BUILD_OPTIONS="nocheck $DEB_BUILD_OPTIONS" + - # shellcheck source=/dev/null +source ./VERSION - +# General CI optimizations to keep build output smaller +if [[ $GITLAB_CI ]] +then + # On Gitlab the output log must stay under 4MB so make the + # build less verbose + sed '/Add support for verbose builds/,/^$/d' -i debian/rules +elif [ -d storage/columnstore/columnstore/debian ] +then + # ColumnStore is explicitly disabled in the native Debian build. Enable it + # now when build is triggered by autobake-deb.sh (MariaDB.org) and when the + # build is not running on Gitlab-CI. + sed '/-DPLUGIN_COLUMNSTORE=NO/d' -i debian/rules + # Take the files and part of control from MCS directory + if [ ! -f debian/mariadb-plugin-columnstore.install ] + then + cp -v storage/columnstore/columnstore/debian/mariadb-plugin-columnstore.* debian/ + echo >> debian/control - sed "s/-10.6//" > debian/control ++ cat storage/columnstore/columnstore/debian/control >> debian/control + fi +fi + +# Look up distro-version specific stuff +# +# Always keep the actual packaging as up-to-date as possible following the latest +# Debian policy and targeting Debian Sid. Then case-by-case run in autobake-deb.sh +# tests for backwards compatibility and strip away parts on older builders. + +remove_rocksdb_tools() +{ + sed '/rocksdb-tools/d' -i debian/control + sed '/sst_dump/d' -i debian/not-installed + if ! grep -q sst_dump debian/mariadb-plugin-rocksdb.install + then + echo "usr/bin/sst_dump" >> debian/mariadb-plugin-rocksdb.install + fi +} + - add_lsb_base_depends() - { - # Make sure one can run this multiple times remove - # lines 'sysvinit-utils' and 'lsb-base'. - sed -e '/sysvinit-utils/d' -e '/lsb-base/d' -i debian/control - # Add back lsb-base before lsof - sed -e 's#lsof #lsb-base (>= 3.0-10),\n lsof #' -i debian/control - } - +replace_uring_with_aio() +{ + sed 's/liburing-dev/libaio-dev/g' -i debian/control - sed -e '/-DIGNORE_AIO_CHECK=ON/d' \ - -e '/-DWITH_URING=ON/d' -i debian/rules ++ sed -e '/-DIGNORE_AIO_CHECK=YES/d' \ ++ -e '/-DWITH_URING=YES/d' -i debian/rules +} + +disable_pmem() +{ + sed '/libpmem-dev/d' -i debian/control - sed '/-DWITH_PMEM=ON/d' -i debian/rules - } - - disable_libfmt() - { - # 7.0+ required - sed '/libfmt-dev/d' -i debian/control ++ sed '/-DWITH_PMEM=YES/d' -i debian/rules +} + +architecture=$(dpkg-architecture -q DEB_BUILD_ARCH) + +# Parse release name and number from Linux standard base release +# Example: +# $ lsb_release -a +# No LSB modules are available. +# Distributor ID: Debian +# Description: Debian GNU/Linux bookworm/sid +# Release: n/a +# Codename: n/a +LSBID="$(lsb_release -si | tr '[:upper:]' '[:lower:]')" +LSBVERSION="$(lsb_release -sr | sed -e "s#\.##g")" +LSBNAME="$(lsb_release -sc)" + +# If 'n/a', assume 'sid' +if [ "${LSBVERSION}" == "n/a" ] || [ "${LSBNAME}" == "n/a" ] +then + LSBVERSION="sid" + LSBNAME="sid" +fi + +# If not known, use 'unknown' in .deb version identifier +if [ -z "${LSBID}" ] +then - LSBID="unknown" ++ LSBID="unknown" +fi + +case "${LSBNAME}" +in + # Debian - "buster") - add_lsb_base_depends - disable_libfmt ++ stretch) ++ # MDEV-16525 libzstd-dev-1.1.3 minimum version ++ sed -e '/libzstd-dev/d' \ ++ -e 's/libcurl4/libcurl3/g' -i debian/control ++ remove_rocksdb_tools ++ disable_pmem ++ ;& ++ buster) + replace_uring_with_aio + if [ ! "$architecture" = amd64 ] + then + disable_pmem + fi + ;& - "bullseye"|"bookworm") - if [[ "${LSBNAME}" == "bullseye" ]] - then - add_lsb_base_depends - fi ++ bullseye|bookworm) + # mariadb-plugin-rocksdb in control is 4 arches covered by the distro rocksdb-tools + # so no removal is necessary. + if [[ ! "$architecture" =~ amd64|arm64|ppc64el ]] + then + disable_pmem + fi + if [[ ! "$architecture" =~ amd64|arm64|armel|armhf|i386|mips64el|mipsel|ppc64el|s390x ]] + then + replace_uring_with_aio + fi + ;& - "sid") ++ sid) + # The default packaging should always target Debian Sid, so in this case + # there is intentionally no customizations whatsoever. + ;; + # Ubuntu - "bionic") - add_lsb_base_depends ++ bionic) + remove_rocksdb_tools + [ "$architecture" != amd64 ] && disable_pmem + ;& - "focal") - add_lsb_base_depends ++ focal) + replace_uring_with_aio - disable_libfmt + ;& - "impish"|"jammy"|"kinetic"|"lunar") - add_lsb_base_depends ++ impish|jammy|kinetic) + # mariadb-plugin-rocksdb s390x not supported by us (yet) + # ubuntu doesn't support mips64el yet, so keep this just + # in case something changes. + if [[ ! "$architecture" =~ amd64|arm64|ppc64el|s390x ]] + then + remove_rocksdb_tools + fi + if [[ ! "$architecture" =~ amd64|arm64|ppc64el ]] + then + disable_pmem + fi + if [[ ! "$architecture" =~ amd64|arm64|armhf|ppc64el|s390x ]] + then + replace_uring_with_aio + fi + ;; + *) + echo "Error: Unknown release '$LSBNAME'" >&2 + exit 1 +esac + +if [ -n "${AUTOBAKE_PREP_CONTROL_RULES_ONLY:-}" ] +then + exit 0 +fi + +# Adjust changelog, add new version +echo "Incrementing changelog and starting build scripts" + +# Find major.minor version +UPSTREAM="${MYSQL_VERSION_MAJOR}.${MYSQL_VERSION_MINOR}.${MYSQL_VERSION_PATCH}${MYSQL_VERSION_EXTRA}" +PATCHLEVEL="+maria" +LOGSTRING="MariaDB build" +EPOCH="1:" +VERSION="${EPOCH}${UPSTREAM}${PATCHLEVEL}~${LSBID:0:3}${LSBVERSION}" + +dch -b -D "${LSBNAME}" -v "${VERSION}" "Automatic build with ${LOGSTRING}." --controlmaint + +echo "Creating package version ${VERSION} ... " + - BUILDPACKAGE_DPKGCMD=() - - # Fakeroot test - if fakeroot true; then - BUILDPACKAGE_DPKGCMD+=( "fakeroot" "--" ) - fi - +# Use eatmydata is available to build faster with less I/O, skipping fsync() +# during the entire build process (safe because a build can always be restarted) +if which eatmydata > /dev/null +then - BUILDPACKAGE_DPKGCMD+=("eatmydata") - fi - - BUILDPACKAGE_DPKGCMD+=("dpkg-buildpackage") - - # Using dpkg-buildpackage args - # -us Allow unsigned sources - # -uc Allow unsigned changes - # -I Tar ignore - BUILDPACKAGE_DPKGCMD+=(-us -uc -I) - - # There can be also extra flags that are appended to args - if [ -n "$BUILDPACKAGE_FLAGS" ] - then - read -ra BUILDPACKAGE_TMP_ARGS <<< "$BUILDPACKAGE_FLAGS" - BUILDPACKAGE_DPKGCMD+=( "${BUILDPACKAGE_TMP_ARGS[@]}" ) ++ BUILDPACKAGE_PREPEND=eatmydata +fi + +# Build the package +# Pass -I so that .git and other unnecessary temporary and source control files +# will be ignored by dpkg-source when creating the tar.gz source package. - "${BUILDPACKAGE_DPKGCMD[@]}" ++fakeroot $BUILDPACKAGE_PREPEND dpkg-buildpackage -us -uc -I $BUILDPACKAGE_FLAGS + +# If the step above fails due to missing dependencies, you can manually run +# sudo mk-build-deps debian/control -r -i + +# Don't log package contents on Gitlab-CI to save time and log size +if [[ ! $GITLAB_CI ]] +then + echo "List package contents ..." + cd .. + for package in *.deb + do + echo "$package" | cut -d '_' -f 1 - # shellcheck disable=SC2034 - dpkg-deb -c "$package" | while IFS=" " read -r col1 col2 col3 col4 col5 col6 col7 col8 - do - echo "$col1 $col2 $col6 $col7 $col8" | sort -k 3 - done ++ dpkg-deb -c "$package" | awk '{print $1 " " $2 " " $6 " " $7 " " $8}' | sort -k 3 + echo "------------------------------------------------" + done +fi + +echo "Build complete" diff --cc debian/changelog index af6536d9b,000000000..2636cffe1 mode 100644,000000..100644 --- a/debian/changelog +++ b/debian/changelog @@@ -1,5 -1,0 +1,2311 @@@ - mariadb (1:10.11.0) unstable; urgency=medium ++mariadb (1:10.11.3-1) unstable; urgency=medium + - * Initial Release ++ * New upstream version 10.11.3. Includes security fixes for ++ - CVE-2022-47015 (Closes: #1034889) ++ * This is the first bug fixing maintenance release from upstream in the 10.11 ++ series as the 10.11.2 release was the first one announced GA (general ++ availability). For a full list of all bug fixes see release notes at ++ https://mariadb.com/kb/en/mariadb-10-11-3-release-notes/. ++ * Update libmariadb3.symbols to include new ABI changes in 3.3.5 ++ and fix DPKG_GENSYMBOLS_CHECK_LEVEL so it actually takes effect and in ++ build will properly fail if there are unaccounted symbol changes in ++ future upstream maintenance releases ++ * Update Lintian overrides after 10.11.3 import ++ * Use new log_slow_* configuration variable names in configuration examples ++ to be aligned with upstream and have least amount of surprises for users ++ of MariaDB 10.11 where these variables changed names ++ * Clean away unnecessary mariadb-test.links, no functional effect ++ * Delete all embedded zlib copies to fix crossbuilds and improve security ++ * Use native zlib to make crossbuilds work again after recent zlib 1.2.13 ++ update regressed crossbuilds ++ * Revert fixes from February/March 2023 that the Debian release team ++ deemed unfit/too late for Bookworm (Bug#1033811): ++ - Revert "Add patch to fix upgrades from MySQL 5.7 to MariaDB 10.11..." ++ - Revert "Limit check of running mysqld/mariadbd to system users..." ++ - Revert "MDEV-21303: Fix man page packaging for new mariadb-* named..." ++ - Revert "Add patches to fix spelling in MariaDB and components..." ++ - Revert "Add patch to better diagnose failures in main.order_by_innodb..." ++ - Revert "Add patch to fix misc compiler warnings in upstream build" ++ - Revert "Add patch to emit warnings if mariadb-upgrade was not run..." + - -- Vicențiu Ciorbaru Thu, 18 Jun 2021 16:08:00 +0300 ++ [ Mathias Gibbens ] ++ * Silence superfluous warnings in mariadb-server preinst (Closes: #1034684) ++ ++ -- Otto Kekäläinen Sat, 27 May 2023 23:16:42 -0700 ++ ++mariadb (1:10.11.2-3) unstable; urgency=medium ++ ++ * Fix typo in autopkgtests configuration-tracing affecting armhf and armel ++ * Revert: Sync downstream (where applicable) with upstream 10.11 debian/* ++ contents so that using diff/meld to compare changes are easier ++ - Revert on suggestion by Debian release managers the changes done by ++ upstreams devs in https://github.com/MariaDB/server/commit/952af4a1 ++ for MariaDB 10.5.19, 10.6.12, 10.11.2 etc. It was deemed too invasive ++ for the Debian 12 "Bookworm" release this late in the release cycle. ++ ++ -- Otto Kekäläinen Thu, 20 Apr 2023 21:48:51 -0700 ++ ++mariadb (1:10.11.2-2) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * SUMMARY: This version has a lot of bug fixes, quality fixes, documentation ++ and translation updates and it is tailored for the Debian 12 "Bookworm" ++ release and all potentially functional changes have been left out and ++ are pending review and merge post-Bookworm release at ++ https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests, ++ where contributions both as reviews and new submissions are welcome! ++ * Update NEWS to summarize what is new in MariaDB 10.11 (compared to 10.6) ++ * Update and activate configuration tracing in autopkgtests to ensure that ++ for the Debian 12 "Bookworm" release cycle no upstream server config change ++ would slip in unnoticed ++ * Enable mariadb-plugin-rocksdb for riscv64 (fixes autopkgtests for riscv64) ++ * Sync downstream (where applicable) with upstream 10.11 debian/* contents ++ so that using diff/meld to compare changes are easier ++ * Add important upstream 10.11.2+ fixes as packes: ++ * Stack overflow in pinbox allocator (PR#2541) ++ * Upgrades from MySQL 5.7 to MariaDB 10.11 (MDEV-30483) (Closes: #866751) ++ * Misc compiler warnings in upstream build ++ * Incomplete stack traces if MariaDB crashes ++ * Make mariadbd emit warnings if mariadb-upgrade was not run ++ * Binlog failures due to 'character_set_client' (MDEV-30824) ++ * Prevent mariadb-test-run from using native I/O on ppc64el and s390x due to ++ Linux kernel bug (Related: #1031656) ++ * Add patch to better diagnose potential failures in main.order_by_innodb ++ * Add patch to fix cross-compilation failure on uca-dump (Closes: #1029165) ++ * Update mariadb-test-run skip test lists to not run tests that are known ++ to be broken or unstable, and that have been reported upstream ++ * Limit check of running mysqld/mariadbd to system users (Closes: #1032047) ++ * Make error more helpful in case server restart fails (Related: #1033234) ++ * Update Lintian overrides after rigorous review of all Lintian issues ++ * Remove incorrect Multi-Arch definitions ++ * Fix man pages syntax issues (Closes: #1032861) ++ * Fix spelling in MariaDB and components (Closes: #1032860) ++ * Refresh patches metadata ++ * Update upstream signing key ++ * Fix dependency of obsolete libncurses5-dev ++ ++ [ Ekaterine Papava ] ++ * Add Georgian translation (error messages) ++ ++ [ Tuukka Pasanen ] ++ * Update README files to correct versions ++ ++ -- Otto Kekäläinen Sat, 25 Mar 2023 23:26:42 -0700 ++ ++mariadb (1:10.11.2-1) unstable; urgency=medium ++ ++ * New upstream release MariaDB 10.11.2 has been announced GA ++ (general availability) with long-term support and security updates ++ until spring 2028 ++ * Autopkgetest improvements ++ - Fix incomplete variable rename in a3b6f3d7f4b ++ - Extend tracing to include MariaDB client and move traces to subdirectory ++ ++ -- Otto Kekäläinen Thu, 16 Feb 2023 23:53:02 -0800 ++ ++mariadb (1:10.11.1-5) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Packages mariadb-plugin-provider-* must depend at least on MariaDB 10.11 ++ * Make postinstall check work with more than one result (Closes: #1031244) ++ * Revert "Compression plugins as Depends for mariadb-server" (Closes: #1031116) ++ to not break the Cacti autopkgtests and allow the mariadb-10.6 autopkgtest ++ to fail instead (re-introducing Bug#1031116) ++ ++ [ Bubu ] ++ * Update French translation of debconf messages (Closes: #1030581) ++ ++ [ Adriano Rafael Gomes ] ++ * Update Brazilian translation of debconf messages (Closes: #1030908) ++ ++ -- Otto Kekäläinen Wed, 15 Feb 2023 22:57:46 -0800 ++ ++mariadb (1:10.11.1-4) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Have all compression plugins as Depends for mariadb-server (Closes: #1030604) ++ * Update existing patch with latest upstream PR#2448 version 0284207 ++ * Temporarily disable MTR on s390x as Debian buildd seems unstable ++ (Related: #1030510) ++ * Add upstream patch to fix build failure on HPPA (Closes: #1006529) ++ * Refresh patches and include references to Debian bugs they should fix ++ ++ [ Gianfranco Costamagna ] ++ * Drop riscv64 rules latomic hack, use upstream PR#2477 instead ++ (Related: #1024041) ++ ++ -- Otto Kekäläinen Thu, 09 Feb 2023 08:40:34 -0800 ++ ++mariadb (1:10.11.1-3) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Customize dh_installinit to keep service enabled (Closes: #1029136) ++ * Fix alpha compilation error in GPREL16/wsrep_* (Closes: #1024040) ++ * Skip tests that have bug reports and known to fail on 1:10.11.1-2 ++ * Review and polish autopkgtests ++ ++ [ Tianyu Chen ] ++ * Add simplified Chinese translation of debconf messages ++ ++ -- Otto Kekäläinen Sun, 05 Feb 2023 15:21:04 -0800 ++ ++mariadb (1:10.11.1-2) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Add upstream patch for main.explain_json_format_partitions (MDEV-30411) ++ (Closes: 1029163) ++ * Fix riscv64 compilation error in RocksDB atomic functions (Closes: #1024041) ++ * Stop skipping tests that are marked fixed upstream ++ * Don't ship any mysql-tests/unstable-tests as neither does upstream ++ * Skip test main.func_json_notembedded on s390x due to MDEV-30518 ++ * Implement configuration tracing as an autopkgtest test ++ * Drop obsolete dependency on package lsb-release ++ * Clean away outdated mentions of mariadb-10.6 and even mysql-dfsg-5.1 ++ * Update more Lintian overrides syntax to follow latest Lintian 2.115 ++ * Update standards version to 4.6.2, no changes needed ++ * Update watch file format version to 4 ++ ++ [ MichaIng ] ++ * Do not create /var/log/mysql in postinst ++ ++ [ Salman Mohammadi ] ++ * mariadb-plugin-connect: introduce curl as recommends ++ ++ [ Remus-Gabriel Chelu ] ++ * Update Romanian translation of debconf messages ++ ++ [ Faustin Lammler ] ++ * Cover the full-upgrade scenario in CI ++ ++ [ Pablo ] ++ * Update Galician translation of debconf messages ++ ++ -- Otto Kekäläinen Tue, 31 Jan 2023 00:19:17 -0800 ++ ++mariadb (1:10.11.1-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New major upstream release: 10.11 ++ - Introduce new packages called 'providers', each one providing ++ a particular features, though so far only various compression ++ methods. ++ - New plugin package for Hashicorp Vault ++ - Upstream 10.11 series is intended to be a long-term supported ++ version with 5 years of security releases ++ - The other major versions 10.7/8/9/10 releases after 10.6 ++ are all short-term releases, and thus not suitable for inclusion ++ in Debian but still worth noting as a guide on how to read ++ upstream relases notes, as all apply for what is now new in ++ Debian with the introduction of this 10.11 ++ * Remove version suffix from Debian packages and rename source ++ package to just 'mariadb', dropping the 10.6 suffix. ++ * Emit warning from SysV init script if mysqld_safe is missing ++ * Ignore some EXPLAIN JSON test failures on armel/armhf (MDEV-30411) ++ * Add custom dh_installinit to keep /etc/init.d/mariadb enabled ++ when upgrading from mariadb-server-10.6 to mariadb-server (10.11) ++ ++ [ Sunil Mohan Adapa ] ++ * Workaround failure to create DB with libpam-tmpdir (Closes: #1022994) ++ ++ -- Otto Kekäläinen Sun, 15 Jan 2023 14:45:21 -0800 ++ ++mariadb-10.6 (1:10.6.11-2) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Standardize on using capitalized 'ON' in CMake build options ++ * Fix Breaks/Replaces for smoother upgrades from MySQL 5.5 ++ and update maintainer documentation on how to do comprehensive ++ upgrade testing ++ * Enable automatic datadir move also on upgrades from MySQL.com packages ++ and make upgrades from MySQL Community (Cluster) 8.0 not get ++ stuck on dpkg and server restart ++ ++ [ Eric Lindblad ] ++ * Fix typos ++ ++ -- Otto Kekäläinen Mon, 02 Jan 2023 22:42:46 -0800 ++ ++mariadb-10.6 (1:10.6.11-1) unstable; urgency=medium ++ ++ * New upstream version 10.6.11. ++ * Align with upstream 10.6 debian/ contents ++ ++ -- Otto Kekäläinen Sun, 13 Nov 2022 22:27:08 -0800 ++ ++mariadb-10.6 (1:10.6.10-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.6.10. Includes several important fixes for ++ issues that regressed in previous release. See details in: ++ https://mariadb.org/regressions-in-recent-mariadb-server-releases/ ++ * Update Lintian overrides syntax to follow latest Lintian 2.115 ++ - Biggest change in Lintian 2.115 is a new syntax to use brackets in file ++ paths. ++ ++ -- Otto Kekäläinen Sun, 25 Sep 2022 15:43:39 -0700 ++ ++mariadb-10.6 (1:10.6.9-1) unstable; urgency=medium ++ ++ * New upstream version 10.6.8. Includes security fixes for ++ - CVE-2018-25032 ++ - CVE-2022-32081 ++ - CVE-2022-32082 ++ - CVE-2022-32084 ++ - CVE-2022-32089 ++ - CVE-2022-32091 ++ ++ -- Otto Kekäläinen Wed, 17 Aug 2022 07:28:05 -0700 ++ ++mariadb-10.6 (1:10.6.8-1) unstable; urgency=medium ++ ++ * New upstream version 10.6.8. Includes security fixes for ++ - CVE-2021-46669 ++ - 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 ++ - CVE-2022-32085 ++ - CVE-2022-32086 ++ - CVE-2022-32087 ++ - CVE-2022-32088 ++ ++ [ Daniel Black ] ++ * Move client programs to client package from MariaDB server package ++ ++ [ Tuukka Pasanen ] ++ * MDEV-12275: Add switch '--silent' to SySV init upgrade ++ * Allow to use Perl DBD::mysl with mariadb-report (MDEV-28376) ++ ++ [ Andreas Hasenack ] ++ * Disable LTO on Ubuntu ++ ++ [ Faustin Lammler ] ++ * Use archive.mariadb.org as official watch source ++ ++ [ Laurent Bigonville ] ++ * Fix pmem availability check (Closes: #1006530) ++ ++ [ Otto Kekäläinen ] ++ * Update breaks/replaces to accommodate the moved mariadb-binlog et al ++ * Use pmem also on riscv64 ++ * Add Bulgarian and Chinese translations for error messages ++ * Use proper pid namespace ++ * Add upstream PR#2129 to fix wsrep_sst_backup packaging ++ * Deb: Move my_print_defaults to MariaDB client core package ++ * Deb: Ensure the not-installed list is up-to-date ++ * Install all available man pages in appropriate packages ++ ++ -- Otto Kekäläinen Sun, 22 May 2022 16:44:02 -0700 ++ ++mariadb-10.6 (1:10.6.7-3) unstable; urgency=medium ++ ++ * Fix syntax error in unstable tests lists ++ * Forward patches upstream and update metadata for them ++ * Bugfix: Include missing sql_parse.cc in ER_KILL_DENIED_ERROR patch ++ * Fix mysql_install_db by reverting recent addition (MDEV-27980) ++ * Fix htm use on PowerPC to fix build failure (might close #1006527) ++ * Revert "Strip path from Mroonga to make the build reproducible" ++ ++ -- Otto Kekäläinen Wed, 09 Mar 2022 22:26:32 -0800 ++ ++mariadb-10.6 (1:10.6.7-2) unstable; urgency=medium ++ ++ * Backport OpenSSL 3.0 support for MariaDB 10.6 series (Closes: #1005950) ++ * Clean away most Lintian overrides and unstable-tests to see full ++ QA results in Debian experimental ++ * Add upstream PR#2028 to fix main.grant_kill test failure ++ * Update unstable-tests skip lists after review of 1:10.6.7-2~exp1 builds ++ * Fix more spelling errors ++ * Fix misc Lintian issues and add overrides ++ ++ -- Otto Kekäläinen Tue, 01 Mar 2022 20:40:07 -0800 ++ ++mariadb-10.6 (1:10.6.7-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.6.7. Includes security fixes for ++ - CVE-2021-46661 ++ - CVE-2021-46663 ++ - CVE-2021-46664 ++ - CVE-2021-46665 ++ - CVE-2021-46668 ++ * New upstream version 10.6.6. Includes security fixes for ++ - CVE-2021-46659 ++ - CVE-2022-24048 ++ - CVE-2022-24050 ++ - CVE-2022-24051 ++ - CVE-2022-24052 ++ * Previous release 10.6.5 included security fixes for: ++ - CVE-2021-46662 ++ - CVE-2021-46667 ++ * Notable upstream functional changes in 10.6.6 and 10.6.7: ++ - New default value for innodb_change_buffering is 'none' instead of old ++ value 'all' (MDEV-27734). This change should improve crash safety but ++ might cause performance regressions on systems that use old spinning disks ++ (HDD) where seek latency is higher. ++ - New default value for innodb_read_only_compressed is 'OFF' instead of ++ 'ON'. Upstream originally intended to deprecate ROW_FORMAT=COMPRESSED but ++ abandoned the plan. ++ - New default minimum value for innodb_buffer_pool_size is 20 MB (from 2 MB) ++ * Drop MIPS and CTE patches applied now upstream ++ * Add upstream patch to make Mroonga builds reproducible (Closes: #976984) ++ * Add patch for potential kfreebsd-amd64 build failure (Closes: #994665) ++ * Remove useless libaio-dev dependency from d/control (Closes: #1001649) ++ ++ [ Faustin Lammler ] ++ * Salsa-CI: use a mirror redirector for the CI ++ ++ [ Bas Couwenberg ] ++ * Don't require debian.cnf to be executable in logrotate (Closes: #1005186) ++ ++ [ Tuukka Pasanen ] ++ * Remove unneeded path from MariaDB server postinst script ++ ++ -- Otto Kekäläinen Sat, 19 Feb 2022 16:00:00 -0800 ++ ++mariadb-10.6 (1:10.6.5-2) unstable; urgency=medium ++ ++ * Fix misc failures in 10.6 detected by Debian QA systems ++ - Revert systemd extra and socket files to fix build=all ++ - Backport fix for test cte_nonrecursive failure ++ - Disable test main.func_math on more platforms ++ ++ -- Otto Kekäläinen Tue, 14 Dec 2021 20:05:25 -0800 ++ ++mariadb-10.6 (1:10.6.5-1) unstable; urgency=medium ++ ++ * New upstream version 10.6.5. ++ * Drop MIPS and libatomic patches applied now upstream ++ * Enable Numa support (Closes: #861553) ++ ++ -- Otto Kekäläinen Sat, 27 Nov 2021 13:48:25 -0800 ++ ++mariadb-10.6 (1:10.6.4-1) unstable; urgency=medium ++ ++ [ Bas Couwenberg ] ++ * Don't require debian.cnf to be executable in logrotate (Closes: #994284) ++ ++ [ Otto Kekäläinen ] ++ * Add new overrides to be clean on Lintian v2.105.0 ++ * Salsa-CI: Add workarounds for Stretch->Bookworm upgrade bugs ++ * Salsa-CI: Add testing for Bullseye upgrades and backports ++ * Extend README.Contributor to include more QA and debugging tips ++ * Make RocksDB plugin depend on python3:any to be Lintian clean ++ * Adopt DEP-14 for the git repository layout ++ * Import new upstream major release MariaDB 10.6.4 ++ * Update Debian packaging for MariaDB 10.6 series ++ * Clean up d/copyright and remove obsolete licence-reconcile config ++ * Extend Breaks/Replaces to cover all known MySQL variants ++ * Skip upstream tests that are permanently broken ++ ++ -- Otto Kekäläinen Thu, 21 Oct 2021 11:02:17 +0300 ++ ++mariadb-10.5 (1:10.5.12-1) unstable; urgency=medium ++ ++ * New upstream version 10.5.12. Includes security fixes for: ++ - CVE-2021-2389 ++ - CVE-2021-2372 ++ * Drop patches applied upstream in MariaDB S3 plugin ++ ++ -- Otto Kekäläinen Sun, 08 Aug 2021 20:33:47 -0700 ++ ++mariadb-10.5 (1:10.5.11-1) unstable; urgency=medium ++ ++ * New upstream version 10.5.11. Includes several important bug fixes, ++ including a replication hang (Closes: #991399, Closes: #989400) ++ * Cleanup, documentation and testing: ++ * Drop backported patch for armfh build now in 10.5.11 from upstream. ++ * Drop patch no longer needed with latest gcc-10 (Closes: #972564) ++ * Save autopkgtests results as JUnit-compatible XML-report ++ * Salsa-CI: Verify wrap-and-sort usage and correctness of patches/series ++ * Remove rocksdb_build_git_date from RocksDB binaries to make them ++ build in a reproducible way, thus making the entire MariaDB finally ++ reproducible (Closes: #976985) ++ ++ [ Andreas Beckmann ] ++ * Ease switching from galera-3 to galera-4 on upgrades from buster ++ (Closes: #990708, Closes: #976147, Closes: #977137) ++ ++ -- Otto Kekäläinen Sun, 25 Jul 2021 15:38:34 -0700 ++ ++mariadb-10.5 (1:10.5.10-2) unstable; urgency=medium ++ ++ * Bugfix: Revert upstream code change to fix armhf build (Closes: #988629) ++ ++ -- Otto Kekäläinen Sun, 23 May 2021 21:04:38 -0700 ++ ++mariadb-10.5 (1:10.5.10-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.5.10. Includes security fixes for (Closes: #988428): ++ - CVE-2021-2154 ++ - CVE-2021-2166 ++ * Previous release 10.5.9 included security fixes additionally for: ++ - CVE-2021-27928 ++ * Previous release 10.5.7 included security fixes additionally for: ++ - CVE-2021-2194 ++ * Previous release 10.5.5 included security fixes additionally for: ++ - CVE-2021-2022 ++ * Update symbols to include new one from MariaDB Client 3.1.13 ++ * Misc Salsa-CI fixes for better QA ++ * Innotop: Add support for MariaDB 10.5+ (Closes: #941986) ++ * Bugfix: Ensure upstream 1556 patch is included fully (Closes: 987231) ++ * Bugfix: Don't create /usr/share/mysql/*.flag files (Closes: #985870) ++ * Misc spelling fixes ++ ++ [ Glenn Strauss ] ++ * Mark systemd files [linux-any] in debian/*.install ++ ++ [ Arnaud Rebillout ] ++ * Fix postinst trigger when systemd is not running (Closes: #983563) ++ ++ [ Faustin Lammler ] ++ * GitLab CI now supports timeout for specific jobs ++ ++ -- Otto Kekäläinen Sun, 16 May 2021 11:36:38 -0700 ++ ++mariadb-10.5 (1:10.5.9-1) unstable; urgency=medium ++ ++ * New upstream version 10.5.9 ++ * Remove transitional libmariadbclient-dev empty metapackage ++ ++ -- Otto Kekäläinen Mon, 22 Feb 2021 21:32:47 +0200 ++ ++mariadb-10.5 (1:10.5.8-3) unstable; urgency=medium ++ ++ * Re-introduce deprecated transitional libmariadbclient-dev package ++ so that the libmariadbclient-dev from 10.5 can replace the existing ++ libmariadbclient-dev form 10.3 and thus allow MariaDB 10.5 to ++ migrate from Debian unstable to testing. ++ ++ -- Otto Kekäläinen Mon, 23 Nov 2020 22:14:57 +0200 ++ ++mariadb-10.5 (1:10.5.8-2) unstable; urgency=medium ++ ++ * Fix FTBFS on mipsel/mips64el due to test main.drop failure ++ ++ -- Otto Kekäläinen Tue, 17 Nov 2020 17:07:55 +0200 ++ ++mariadb-10.5 (1:10.5.8-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Revert back to 1fc0f45a as the armhf build failure was due to GCC bug ++ * Salsa-CI: salsa-ci-team/pipeline#173 seems fixed, stop allowing failure ++ * Filter out extra 3rd party sources directly when importing new upstream ++ * New upstream version 10.5.7. Includes security fixes for: ++ - CVE-2020-28912 ++ - CVE-2020-14812 ++ - CVE-2020-14789 ++ - CVE-2020-14776 ++ - CVE-2020-14765 ++ * Clean away from d/copyright files that are no longer in the sources ++ * Sync debian/* changes from upstream 10.5.7 release ++ * Clean away columnstore sources during build and ignore all CS issues ++ * New upstream version 10.5.8 ++ - Includes criticat fix for arbitrary InnoDB buffer pool and data file ++ corruption issue (MDEV-24096) ++ * Add patch to workaround armhf build failure due to gcc segfault ++ ++ [ Helmut Grohne ] ++ * Fix FTCBFS: Add native libssl-dev to Build-Depends (Closes: #973388) ++ ++ -- Otto Kekäläinen Fri, 13 Nov 2020 09:20:28 +0200 ++ ++mariadb-10.5 (1:10.5.6-2) unstable; urgency=medium ++ ++ [ Miroslav Kure ] ++ * Update Czech translation of debconf messages (Closes: #972441) ++ ++ [ Otto Kekäläinen ] ++ * Salsa-CI: Circumvent Bug#972552 so upgrade tests work again ++ * Salsa-CI: Install more packages to cover more in upgrade tests ++ * Automatically remove /etc/logrotate.d/mysql-server (Closes: #971399) ++ * Fix debci: Skip main.failed_auth_unixsocket on armhf and i386 ++ * Revert "Allow libnuma-dev on armhf as well" ++ * Switch to using system OpenSSL (Closes: #787118) ++ ++ -- Otto Kekäläinen Mon, 26 Oct 2020 14:13:56 +0200 ++ ++mariadb-10.5 (1:10.5.6-1) unstable; urgency=medium ++ ++ * New upstream version 10.5.6. Includes security fixes for: ++ - CVE-2020-15180 ++ * Include debian/ when importing new upstream releases ++ - This will help to follow upstream packaging changes and prevent ++ divergence in packaging code upstream vs. downstream. ++ * Unify config file syntax style ++ * Allow libnuma-dev on armhf as well ++ ++ -- Otto Kekäläinen Thu, 15 Oct 2020 11:55:14 +0300 ++ ++mariadb-10.5 (1:10.5.5-3) unstable; urgency=medium ++ ++ [ Helmut Grohne ] ++ * Fix cross-compilation, amend commit f0ba31e1 ++ ++ [ Aurelien Jarno ] ++ * Correctly link pthread so riscv64 builds pass (Closes: #933151) ++ ++ [ Otto Kekäläinen ] ++ * Revert "Automatically use libatomics on 64-bit archs (Closes: #933151)" ++ * Update MTR test skip lists after full test runs in Debian experimental ++ * Clean up d/rules and patches for issues that to best knowledge were ++ temporary and not needed anymore in MariaDB 10.5.5 ++ ++ -- Otto Kekäläinen Fri, 09 Oct 2020 10:06:04 +0300 ++ ++mariadb-10.5 (1:10.5.5-2) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Salsa-CI: Extend feature tests to ensure TLS connections work at v1.2 ++ * Fix x32 compilation issue (Closes: #970662) ++ * Implement unified logrotate from upstream PR#1556 (Closes: #971399) ++ * Fix upgrade from Percona.com by ensuring server uses mariadb.cnf ++ * Revert emptying /etc/mysql/debian.cnf (Closes: #971256) ++ * Use build flag to enforce default charset as utf8mb4 (Closes: #933063) ++ * Remove "Multi-Arch: same" from libmariadbd-dev ++ * Disable flaky MTR tests to get builds pass ++ * Automatically use libatomics on 64-bit archs (Closes: #933151) ++ ++ [ Daniel Black ] ++ * Fix upgrade from MySQL.com with a new 'auth_socket' rename ++ ++ [ Helmut Grohne ] ++ * Fix FTCBFS so cross-compiling works (Closes: #971579) ++ - Add native dependencies on gnutls, libedit and ncurses. ++ - Use a native perl interpreter during build. ++ - Let dh_auto_configure pass -DCMAKE_SYSTEM_NAME to cmake. ++ - Keep default CMAKE_BUILD_TYPE=RelWithDebInfo instead of debhelper's None. ++ - Cache the per-architecture stack direction. ++ ++ -- Otto Kekäläinen Tue, 06 Oct 2020 14:44:39 +0300 ++ ++mariadb-10.5 (1:10.5.5-1) unstable; urgency=medium ++ ++ * New upstream version 10.5.5 (Closes: #968895) ++ - Drop patches that are obsolete or applied upstream in 10.5 ++ - Rename most occurrences of 10.4 to 10.5 after importing 10.5 series ++ - Add Breaks/Replaces for 10.5 on previous 10.4 versions ++ - Stop suggesting tinyca, upstream project does not exist anymore ++ - Sync some changes from upstream MariaDB 10.5 debian/ directory ++ - Update d/copyright for MariaDB 10.5 ++ - Disable ColumnStore, not mature enough for Debian yet ++ - Remove mariadb-plugin-tokudb as upstream TokuDB is not maintained anymore ++ - Introduce new package mariadb-plugin-s3 new in MariaDB 10.5 ++ - Include caching_sha2_password.so plugin for libmariadb3 (Closes: #962597) ++ - Remove unnecessary charset stanza from client config (Closes: #879099) ++ * Remove deprecated transitional libmariadbclient-dev package ++ * Correct documentation about systemd using debian-start (Closes: #866782) ++ * Add NEWS item about MySQL 8.0 in-place binary incompatibility ++ * Add Provides: libmysqld-dev now as the mysql-8.0 stopped providing it ++ * Install Spider with a simple spider.cnf (Closes: #917818) ++ * Remove faulty encryption.preset file installed in subdirectory ++ * Salsa-CI: Refactor common parts into reusable sections ++ ++ -- Otto Kekäläinen Fri, 25 Sep 2020 19:56:59 +0300 ++ ++mariadb-10.4 (1:10.4.14-1~exp1) experimental; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.4.14 ++ - Includes fix for RocksDB build failure on arch riscv64 ++ * Add Breaks/Replaces for mysql-client-core-8.0 that ships myisam_ftdump ++ ++ [ Christian Göttsche ] ++ * Prevent executable stack due to objects compiled from assembly ++ ++ -- Otto Kekäläinen Sun, 23 Aug 2020 13:20:04 +0300 ++ ++mariadb-10.4 (1:10.4.13-1~exp1) experimental; urgency=medium ++ ++ * New upstream version 10.4.13. Includes security fixes for: ++ - CVE-2020-2752 ++ - CVE-2020-2760 ++ - CVE-2020-2812 ++ - CVE-2020-2814 ++ - CVE-2020-13249 ++ - Includes fix for MDEV-21586: Server does not start if lc_messages setting ++ was not English (Closes: #951059) ++ * Restructure and extend d/copyright to cover libmariadb (Closes: #962541) ++ * Simplify autopkgtest 'smoke' to be easier to debug ++ * Add patch to fix RocksDB detection of ZSTD ++ * Update libmariadb symbols for upstream release 3.1.8 ++ ++ -- Otto Kekäläinen Mon, 29 Jun 2020 09:47:07 +0300 ++ ++mariadb-10.4 (1:10.4.12-1~exp3) experimental; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Make mariadb-client-10.4 Recommends libdbd-mariadb-perl as primary option ++ * Detect MySQL 8.0 based on undo_001 file as *.flag is buggy in mysql-8.0 ++ ++ [ Faustin Lammler ] ++ * Fix systemd aliases (Closes: #932289) ++ ++ -- Otto Kekäläinen Fri, 10 Apr 2020 11:03:02 +0300 ++ ++mariadb-10.4 (1:10.4.12-1~exp2) experimental; urgency=medium ++ ++ [ Christian Göttsche ] ++ * Prevent executable stack due to objects compiled from assembly ++ ++ [ Bastian Germann ] ++ * Link with libedit instead of readline5 (Closes: #940879) ++ ++ [ Otto Kekäläinen ] ++ * Fix mysqld crash on s390x that stemmed from WolfSSL ++ * Extend contributor README with debugging tips ++ * Clean up -dev packages from excess private files ++ * Make full contents, also header files, explicit in -dev packages ++ * Remove entire sql-bench in debian/rules to simplify not-installed listings ++ * Remove obsolete AUTH_SOCKET build flag ++ * Add missing mariadb-ldb to mariadb-plugin-rocksdb ++ * Install files that belong to mariadb-test instead of not-installed ++ * Ignore mariadb-config.1 since there is no mariadb-config binary ++ * Enforce --fail-missing in debian/rules to not miss any uninstalled files ++ * Unify server preinst and postrm server stopping function ++ * Move mariadb-upgrade to same package as mysql-upgrade and manpage ++ * Update package to use debhelper level 10 ++ * Install arch dependent mariadb.pc in lib/ with patch from upstream ++ * Move binary mariadb-tzinfo-to-sql to server package like upstream has ++ * Don't install useless extra logrotate script or test config helper ++ * Add patch for man page fixes from upstream 10.5 pull request ++ * Add patch to backport spelling fixes from upstream 10.5 pull request ++ * Include new man pages for mytop and myrocks_hotbackup in packaging ++ * Use https protected nluug.nl server for upstream repo to watch ++ ++ -- Otto Kekäläinen Tue, 17 Mar 2020 15:05:39 +0200 ++ ++mariadb-10.4 (1:10.4.12-1~exp1) experimental; urgency=medium ++ ++ * New upstream version 10.4.12 ++ - Drop patches applied upstream in 10.4 ++ - Sync debian/* improvements done in upstream MariaDB 10.4 release ++ - Update Galera to version 4 ++ - Update debian/copyright for MariaDB 10.4 ++ - Sync non-functional delta from upstream 10.4 ++ - Sync AppArmor profile handling from MariaDB 10.4 ++ - Sync server stopping logic from MariaDB 10.4 preinst/postinst/postrm ++ - Package PAM tool and user map introduced in upstream MariaDB 10.4 ++ - Clean away versioned breaks/replaces on older generation packages ++ - Update maintainer and contributor docs for MariaDB 10.4 ++ - Add patch from MDEV-21691 so mysql-test-run works out-of-source tree ++ - Upstream release 10.4.12 included security fixes for: ++ - CVE-2020-2574 ++ - CVE-2020-7221 ++ - Previous version 10.4.9 included security fixes for: ++ - CVE-2020-2780 ++ - Previous version 10.4.7 included security fixes for: ++ - CVE-2020-2922 ++ ++ -- Otto Kekäläinen Tue, 18 Feb 2020 20:24:40 +0200 ++ ++mariadb-10.3 (1:10.3.22-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.3.22. Includes security fixes for: ++ - CVE-2020-2574 ++ * Update conflicts/breaks/replaces for MySQL 8.0 ++ * Add Rules-Requires-Root definition to control file ++ * Activate NO_UPDATE_BUILD_VERSION to make RocksDB build reproducible ++ * Strip path from Mroonga to make the build reproducible ++ * Update Debian Policy version ++ * Simplify and extend Gitlab-CI testing by using more of Salsa-CI features ++ * Prefer salsa-ci.yml naming over gitlab-ci.yml since we inherit Salsa-CI ++ * Add Breaks/Replaces for mysql-client-5.7 that ships myisam_ftdump ++ ++ [ Christian Göttsche ] ++ * Set correct SELinux contexts on package installation (Closes: #948424) ++ ++ -- Otto Kekäläinen Tue, 28 Jan 2020 22:12:28 +0200 ++ ++mariadb-10.3 (1:10.3.21-2) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Update Python dependencies and recommends to Python 3 (Closes: #945697) ++ * Remove deprecated basedir config from debian.cnf (Closes: #947553) ++ ++ [ James Clarke ] ++ * Fix RocksDB on GNU/kFreeBSD (Closes: #920994) ++ * Use versioned symbols on GNU/kFreeBSD ++ ++ -- Otto Kekäläinen Tue, 07 Jan 2020 09:01:10 +0200 ++ ++mariadb-10.3 (1:10.3.21-1) unstable; urgency=low ++ ++ [ Faustin Lammler ] ++ * Remove no more needed lintian overrides ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.3.21 ++ ++ -- Otto Kekäläinen Wed, 11 Dec 2019 18:01:43 +0200 ++ ++mariadb-10.3 (1:10.3.20-1) unstable; urgency=high ++ ++ * New upstream version 10.3.20. Includes fix for regression: ++ - MDEV-20987: InnoDB fails to start when FTS table has FK relation ++ * Remove obsolete fields Name, Contact from debian/upstream/metadata ++ * Gitlab-CI: Print artifact sizes to ensure it stays under 100 MB ++ * Gitlab-CI: Adapt CI jobs for Debian Sid work ++ * Update README.Maintainer with current Debian and Ubuntu release statuses ++ ++ -- Otto Kekäläinen Mon, 11 Nov 2019 23:55:37 +0200 ++ ++mariadb-10.3 (1:10.3.19-1) unstable; urgency=high ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.3.17. Includes security fixes for: ++ - CVE-2019-2938 ++ - CVE-2019-2974 ++ * Update symbols to match latest libmariadb_3 ++ * Drop systemd service patch applied upstream ++ ++ [ Faustin Lammler ] ++ * Fix typo in Readme ++ ++ -- Otto Kekäläinen Thu, 07 Nov 2019 21:26:49 +0200 ++ ++mariadb-10.3 (1:10.3.18-1) unstable; urgency=medium ++ ++ * New upstream version 10.3.18. Fixes regression introduced in 10.3.17 ++ (MDEV-20247: Replication hangs with "preparing" and never starts) ++ (Closes: #939819) ++ * Minort Gitlab-CI improvements ++ ++ -- Otto Kekäläinen Thu, 12 Sep 2019 15:51:04 +0300 ++ ++mariadb-10.3 (1:10.3.17-1) unstable; urgency=high ++ ++ * New upstream version 10.3.17. Includes security fixes for: ++ - CVE-2019-2737 ++ - CVE-2019-2739 ++ - CVE-2019-2740 ++ - CVE-2019-2758 ++ - CVE-2019-2805 ++ * Multiple Gitlab-CI/Salsa-CI improvements ++ * Dependency in resolveip is still included (Closes: #910902) ++ * Update libmariadb3 symbols to match MariaDB Connector C 3.1 API ++ * Add Lintian override for new test binary wsrep_check_version ++ * Gitlab-CI: Clean away one excess comment left from b9d633b38 ++ ++ -- Otto Kekäläinen Fri, 02 Aug 2019 17:53:22 +0100 ++ ++mariadb-10.3 (1:10.3.16-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.3.16 ++ * Make libzstd dependency versioned as RocksDB need at least 1.3.3. ++ This fixes build errors across different build environments. ++ * Update Gitlab CI for better quality control and long-term maintenance. ++ ++ [ Helmut Grohne ] ++ * Improve cross building (Closes: #930314) ++ ++ -- Otto Kekäläinen Sat, 22 Jun 2019 16:45:18 +0200 ++ ++mariadb-10.3 (1:10.3.15-2) unstable; urgency=medium ++ ++ [ Julien Muchembled ] ++ * Fixup RocksDB test on s390x, not available there ++ ++ [ Otto Kekäläinen ] ++ * Purge deleted translations from debian/po ++ * Rename 'mariadbcheck' to 'mariadb-check' as upstream is doing in 10.4 ++ ++ -- Otto Kekäläinen Fri, 07 Jun 2019 09:13:35 +0300 ++ ++mariadb-10.3 (1:10.3.15-1) unstable; urgency=high ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.3.15. Includes security fixes for (Closes: #928393): ++ - CVE-2019-2628 ++ - CVE-2019-2627 ++ - CVE-2019-2614 ++ * Includes upstream fix for MDEV-18721: Host option in configuration file is ++ ignored (Closes: #921599) ++ ++ [ Gregor Riepl ] ++ * Extend mariadb/mysql_config to support --libmysqld-libs (Closes: #928230) ++ ++ [ Julien Muchembled ] ++ * Enable LZ4&Snappy for InnoDB and LZ4&Snappy&ZSTD for RocksDB ++ ++ -- Otto Kekäläinen Tue, 21 May 2019 10:45:37 +0300 ++ ++mariadb-10.3 (1:10.3.14-1) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Rename and re-organize gitlab-ci.yml stages ++ * Refactor gitlab-ci.yml to be optimal for a life in Buster ++ * Ensure cmake builds also apply CPPFLAGS flags for hardening to fully work ++ * New upstream version 10.3.14. Includes MariaDB Connector C 3.0.10 which ++ includes an improved impelemntation of mysql_real_connect() that respects ++ the my.cnf "host" option (Closes: #921599). This upstream release also ++ fixes an indexes problem on import dump SQL (MDEV-18577) and many other ++ InnoDB corruption issues (Closes: #924498). ++ * Enable automatic restarts from maint scripts in gitlab-ci.yml ++ * Automate renaming MySQL auth_socket correctly in mysql_upgrade ++ (Closes: #926231) ++ ++ [ Andreas Beckmann ] ++ * Use piuparts with --testdebs-repo so dependencies of each install resolve ++ ++ -- Otto Kekäläinen Fri, 19 Apr 2019 14:38:26 +0300 ++ ++mariadb-10.3 (1:10.3.13-2) unstable; urgency=medium ++ ++ [ Olaf ] ++ * Use upstream conf defaults (Closes: #905599). This is critically important ++ so that nothing defined in the configuration would hold back upstream ++ improvements in default option values. ++ ++ [ Otto Kekäläinen ] ++ * Extend gitlab-ci.yml to include MySQL to MariaDB upgrade testing and also ++ refine automatic testing in many ways to ensure as little regressions as ++ possible. ++ * Automatically rename 'auth_socket' to 'unix_socket' when upgrading from ++ MySQL 5.7 which otherwise would completely fail. ++ * Drop the transitional libmariadbclient18 package (Closes: #925117) ++ * Move resolveip from mariadb-server-10.3 to -core-10.3 (Closes: #910902) ++ * Move all mariadb-server-x.x *.sql files to mariadb-server-core-x.x package ++ ++ -- Otto Kekäläinen Mon, 01 Apr 2019 23:05:31 +0300 ++ ++mariadb-10.3 (1:10.3.13-1) unstable; urgency=medium ++ ++ * New upstream version 10.3.13 ++ * Includes fixes for the following security vulnerabilities ++ (Closes: #920933): ++ - CVE-2019-2537 ++ - CVE-2019-2529 ++ * Update symbols list to match latest MariaDB Connector C release ++ * Use bundled SSL libraries instead of system OpenSSL (Closes: #921488) ++ * Fix 'Multi-Arch: same' stanzas (Closes: #920364) ++ * Implement proper version detection in maintainer scripts (Closes: #920415) ++ * Make libmariadb-dev depend on libgnutls28-dev (Closes: #917135) ++ * Extend Gitlab-CI significantly and update READMEs ++ ++ -- Otto Kekäläinen Sun, 24 Feb 2019 21:14:15 +0200 ++ ++mariadb-10.3 (1:10.3.12-2) unstable; urgency=medium ++ ++ [ Adrian Bunk ] ++ * mariadb-plugin-tokudb: Properly generate the libjemalloc dependency ++ ++ [ Otto Kekäläinen ] ++ * Re-enable jemalloc as Debian#843926 is now fixed (Closes: #918798) ++ * Update gitlab-ci.yml ++ * Follow upstream 'build' and 'lintian' steps ++ * Extend upgrade testing to upgrade from buster->sid (10.1 -> 10.3) ++ * Make libmariadb-dev-compat also Breaks+Replaces old libmariadbclient-dev ++ (Closes: #863675) ++ * Revert "Update libmariadb-dev.links to restore /usr/include/mysql.." ++ ++ [ Andreas Beckmann ] ++ * Reintroduce libmariadbclient-dev as a transitional package ++ * Drop obsolete libmariadbclient18 symbols file ++ * Add Build-Depends-Package field to symbols file ++ * Minimize the upstream signing key by dropping all signatures ++ * Fix multiple Lintian issues ++ ++ -- Otto Kekäläinen Thu, 24 Jan 2019 20:56:46 +0200 ++ ++mariadb-10.3 (1:10.3.12-1) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * New upstream version 10.3.12 ++ * Create the mysqlclient.pc symlink at correct path with /pkgconfig/ ++ (Closes: #878340) ++ * Add libjemalloc2 as alternative dep for mariadb-plugin-tokudb ++ * Prevent mysql_upgrade from being triggered on every server restart ++ * Automate VERSION variable in mariadb-server installer scripts ++ * Improve logging and tag syslog messages with postinstall filename ++ * Make libmariadbclient18 Breaks old libpam-mysql and libdbd-mysql-perl ++ ++ [ Samuel Thibault ] ++ * Do not try to install disks.so file not built on non-Linux ++ * Tune symbol visibility on GNU/Hurd too ++ ++ -- Otto Kekäläinen Tue, 08 Jan 2019 22:52:16 +0100 ++ ++mariadb-10.3 (1:10.3.11-3) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Use sst_dump from package rocksdb-tools (Closes: #886853) ++ * Remove wsrep_sst_xtrabackup(-v2) already deprecated in upstream ++ * Make gitlab-ci.yml upgrade test specifically run mariadb-server-10.1->10.3 ++ * Fix upstream RocksDB patch to fix Lintian complaints about source code ++ * Drop the MIPS Innobase patch that it is already fixed upstream ++ * Extend gitlab-ci.yml to test libmysql* interactions ++ * Ensure libmariadbd19 does not breaks/replace anything ++ * Make libmariadb-dev-compat break what is replaces ++ * Make libmariadb-dev breaks/replaces libmysqlclient-dev (Closes: #863675) ++ * Update Dutch translation by Frans Spiesschaert (Closes: #895461) ++ ++ [ Faustin Lammler ] ++ * Fix 2 typo error in README contributor ++ * Lintian some complaints ++ ++ [ Helge Deller ] ++ * Skip failing test on HPPA, it's not too important (Closes: #917395) ++ ++ [ Scott Kitterman ] ++ * Update libmariadb-dev.links to restore /usr/include/mysql compatibility ++ symlinks lost when the default switched from 10.1 to 10.3 (Closes: #917266) ++ ++ -- Otto Kekäläinen Mon, 31 Dec 2018 16:39:33 +0200 ++ ++mariadb-10.3 (1:10.3.11-2) unstable; urgency=low ++ ++ [ Vicențiu Ciorbaru ] ++ * Update c11_atomics patch to include mysys. This should fix both ++ mips and armel build failures. ++ ++ [ Otto Kekäläinen ] ++ * Make libmariadb-dev depend on libssl-dev (Closes: #917135) ++ * Remove "Conflicts: libmariadbclient18 (<< 10.2.0)" (Closes: #917075) ++ ++ -- Otto Kekäläinen Mon, 24 Dec 2018 18:50:31 +0200 ++ ++mariadb-10.3 (1:10.3.11-1) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Import to Debian latest major release of MariaDB (Closes: #867892) ++ * Packaging carries on all impromevements done on to the latest MariaDB ++ 10.1.x packages in Debian unstable up until Dec 15th 2018. ++ * Drop the Hurd socket patch that it is already applied upstream ++ * Update SSL/TLS keys as OpenSSL since 1.1.0 rejects weak keys by default ++ * Remove innodb_* options from server config that are default in 10.3 ++ * Remove --skip-auth-anonymous-user deprecated in 10.3 ++ * Include also arch specific skiplists in CI tests ++ * Make TokuDB explicitly depend on libjemalloc1 ++ * Follow Salsa-CI changes and update build image name to 'dockerbuilder' ++ * Extend gitlab-ci to test installation and upgrade of MariaDB ++ ++ [ Vicențiu Ciorbaru ] ++ * Refresh c11_atomics patch for 10.3 ++ * Fix MEMORY storage engine test ++ ++ -- Otto Kekäläinen Thu, 20 Dec 2018 21:52:42 +0200 ++ ++mariadb-10.1 (1:10.1.37-3) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Update translation templates ++ * Fix typo in commit 33d853128 so skip list is not reset when adding lines ++ ++ [ Vicențiu Ciorbaru ] ++ * Fix mips compilation failure (__bss_start symbol missing) ++ ++ -- Otto Kekäläinen Sat, 08 Dec 2018 18:50:43 +0200 ++ ++mariadb-10.1 (1:10.1.37-2) unstable; urgency=low ++ ++ [ Samuel Thibault ] ++ * Do not depend on libsystemd-dev on non-Linux ++ * On non-Linux, do not install files not built there ++ * Add hurd cmake configuration (Closes: #912902) ++ ++ [ Otto Kekäläinen ] ++ * Add Gitlab-CI definition file that can test each commit to this repository ++ * Utilize upstream unstable-tests list in tests/upstream mysql-test-run. ++ This will make ci.debian.net pass as it will correctly ignore tests. ++ * Disable test unit.pcre_test on s390x that was failing in stretch-security ++ ++ -- Otto Kekäläinen Sat, 01 Dec 2018 18:17:18 +0200 ++ ++mariadb-10.1 (1:10.1.37-1) unstable; urgency=high ++ ++ * New upstream version 10.1.37. Includes security fixes for: ++ - CVE-2018-3282 ++ - CVE-2018-3251 ++ - CVE-2018-3174 ++ - CVE-2018-3156 ++ - CVE-2018-3143 ++ - CVE-2016-9843 ++ * Update README.Contributor based on recent feedback ++ * Update README.Maintainer to match current best practices ++ * Move my_print_defaults to mariadb-server-core (Closes: #898367) ++ * Update Debian standards version to 4.2.1 (no changes) ++ * Fix minor Lintian complaints ++ * Add (and rename) new man pages ++ ++ -- Otto Kekäläinen Sun, 04 Nov 2018 19:11:19 +0200 ++ ++mariadb-10.1 (1:10.1.35-1) unstable; urgency=medium ++ ++ * New upstream version 10.1.35. Includes security fixes for: ++ - CVE-2018-3066 ++ - CVE-2018-3064 ++ - CVE-2018-3063 ++ - CVE-2018-3058 ++ * Fix wrong-path-for-interpreter in innotop script ++ * Update Debian standards version ++ * Revert "Remove the mariadb-test-* packages" (Closes: #888956) ++ * Omit test plugins as they are not used by the tests and already deleted ++ * Define autopkgtest with isolation-container (Closes: #870408) ++ * Ship config examples et al in /usr/share/mysql (Closes: #878223) ++ * Extend the server README to clarify misunderstandings (Closes: #878215) ++ * Introduce mariadb-backup as a separate binary package, just like in upstream ++ * Fix bash syntax issues detected by Shellcheck ++ * Fix 'max key length is 767 bytes' errors (Closes: #886756) ++ * Remove GNU Hurd FTBFS patch that's been applied upstream (Closes: #882062) ++ ++ -- Otto Kekäläinen Tue, 07 Aug 2018 22:18:20 +0300 ++ ++mariadb-10.1 (1:10.1.34-1) unstable; urgency=medium ++ ++ * New upstream release 10.1.34. ++ * Previous upstream version 10.1.33 included fixes for the following ++ security vulnerabilities: ++ - CVE-2018-2819 ++ - CVE-2018-2817 ++ - CVE-2018-2813 ++ - CVE-2018-2787 ++ - CVE-2018-2784 ++ - CVE-2018-2782 ++ - CVE-2018-2781 ++ - CVE-2018-2771 ++ - CVE-2018-2766 ++ - CVE-2018-2761 ++ - CVE-2018-2755 ++ * Previous upstream version 10.1.31 included fixes for the following ++ security vulnerabilities: ++ - CVE-2018-2668 ++ - CVE-2018-2665 ++ - CVE-2018-2640 ++ - CVE-2018-2622 ++ - CVE-2018-2612 ++ - CVE-2018-2562 ++ * Previous upstream version 10.1.30 included fixes for the following ++ security vulnerabilities: ++ - CVE-2017-15365 ++ ++ [ Otto Kekäläinen ] ++ * Update VCS-* links to point to the new source repository ++ * Delete unnecessary systemd files introduced by upstream ++ * Add new files introduced by upstream to correct packages ++ * Mark selected tests as unstable so they don't stop the whole upload in vain ++ * Update d/control Uploaders to match current affairs ++ * Various minor Lintian fixes ++ [ Otto Kekäläinen ] ++ * Use the ccache symlinks made by update-ccache-symlinks, if available ++ ++ [ Vicențiu Ciorbaru ] ++ * Extend libmariadbclient-rename.patch to cover TokuDB as well ++ * Disable disks.disks test ++ ++ [ Rui Branco ] ++ * Updated Portuguese translation by Rui Branco (Closes: #871052) ++ ++ [ Takuma Yamada ] ++ Updated Japanese translation by Takuma Yamada (Closes: #859481) ++ ++ -- Otto Kekäläinen Tue, 31 Jul 2018 21:52:16 +0800 ++ ++mariadb-10.1 (1:10.1.29-6) unstable; urgency=high ++ ++ * Ignore failed tests on more non-release platforms (kfreebsd-i386, ++ kfreebsd-amd64 and sparc64) ++ ++ -- Ondřej Surý Thu, 23 Nov 2017 07:03:47 +0000 ++ ++mariadb-10.1 (1:10.1.29-5) unstable; urgency=high ++ ++ * Update the -O3 -> -O2 patch to include more cmake files ++ ++ -- Ondřej Surý Wed, 22 Nov 2017 22:48:13 +0000 ++ ++mariadb-10.1 (1:10.1.29-4) unstable; urgency=high ++ ++ * Change the default optimization from -O3 to -O2 in mysql_release.cmake ++ BUILD_CONFIG profile ++ ++ -- Ondřej Surý Wed, 22 Nov 2017 20:33:17 +0000 ++ ++mariadb-10.1 (1:10.1.29-3) unstable; urgency=medium ++ ++ * Change the default optimization level to -O2 to fix arm64 build ++ ++ -- Ondřej Surý Wed, 22 Nov 2017 15:33:21 +0000 ++ ++mariadb-10.1 (1:10.1.29-2) unstable; urgency=medium ++ ++ [ Otto Kekäläinen ] ++ * Update the d/changelog with CVEs ++ ++ [ Ondřej Surý ] ++ * Revert to using system pcre library (Closes: #882329) ++ * Bump the epoch to fix the mess created by mariadb-10.2 upload ++ (Closes: #881898) ++ ++ [ Christian Ehrhardt ] ++ * d/t/upstream: skip func_regexp_pcre on s390x ++ ++ -- Ondřej Surý Wed, 22 Nov 2017 06:03:17 +0000 ++ ++mariadb-10.1 (10.1.29-1) unstable; urgency=medium ++ ++ * New upstream version 10.1.29, includes fixes for the following ++ security vulnerabilities: ++ - [CVE-2017-10378]: Optimizer component to cause denial of service ++ conditions ++ - [CVE-2017-10268]: Replication component to access data ++ - [MDEV-13819]: Server crashes in Item_func_in::val_int or Assertion ++ `in_item' failed in virtual longlong Item_func_in::val_int ++ * Remove the mariadb-test-* packages as they are now provided by ++ mariadb-10.2 (Closes: #881898) ++ * Rebase patches for new upstream version. ++ ++ -- Ondřej Surý Thu, 16 Nov 2017 15:24:36 +0000 ++ ++mariadb-10.1 (10.1.28-2) unstable; urgency=high ++ ++ * Add libconfig-inifiles-perl to mariadb-client-10.1 depends to fix ++ mytop (Closes: #875708) ++ * Add mips64el to the list of platforms that are allowed to fail test ++ suite (Closes: #879637) ++ ++ -- Ondřej Surý Sun, 12 Nov 2017 11:03:20 +0000 ++ ++mariadb-10.1 (10.1.28-1) unstable; urgency=medium ++ ++ * New upstream version 10.1.28 ++ * Rebase patches on top of MariaDB 10.1.28 ++ * Add extra symbols aliases for libmariadbclient_16 ++ ++ -- Ondřej Surý Mon, 09 Oct 2017 22:07:43 +0000 ++ ++mariadb-10.1 (10.1.26-1) unstable; urgency=medium ++ ++ * Ignore upstream debian/ directory when importing upstream tarball ++ * New upstream version 10.1.26 ++ * Refresh patches for MariaDB 10.1.26 ++ * Remove unstable tests patches for unstable build, so we see what is ++ really failing and what is not ++ ++ -- Ondřej Surý Thu, 10 Aug 2017 20:41:46 +0200 ++ ++mariadb-10.1 (10.1.25-1) unstable; urgency=medium ++ ++ * New upstream version 10.1.25 ++ * Update quilt patches on top of mariadb-10.1.25 release ++ * Explicitly add dh_systemd_start snippets to mariadb-server-10.1 ++ because it's all messed up with different name for sysvinit ('mysql') ++ and systemd ('mariadb') (Closes: #865870) ++ * Don't disable PIE, it's enabled by upstream anyway (Closes: #865737) ++ * Add default socket location for client (Closes: #864662) ++ ++ -- Ondřej Surý Sun, 30 Jul 2017 14:15:48 +0200 ++ ++mariadb-10.1 (10.1.24-6) unstable; urgency=medium ++ ++ * Run invoke-rc.d mysql maintscript snippets only when running under ++ sysvinit (Closes: #864593) ++ ++ -- Ondřej Surý Wed, 21 Jun 2017 11:12:16 +0200 ++ ++mariadb-10.1 (10.1.24-5) unstable; urgency=medium ++ ++ * Add @SYSTEMD_EXECSTARTPOST@ replacement token to mariadb@.service, so ++ the /var/run/mysqld directory is created even for multi-server setup ++ (Closes: #865083) ++ ++ -- Ondřej Surý Mon, 19 Jun 2017 08:52:26 +0200 ++ ++mariadb-10.1 (10.1.24-4) unstable; urgency=medium ++ ++ [ James Cowgill ] ++ * Disable jemalloc on mips*. (Closes: #864340) ++ * Update C11 atomics to have correct semantics (Closes: #864774) ++ ++ [ Ondřej Surý ] ++ * Refresh patches after C11 atomics patch update ++ * Merge mytop script improvements from src:mytop package (Original ++ patches by Philipp Matthias Hahn, Werner Detter, Olaf van der Spek, ++ and Steffen Zieger) (Closes: #864762) ++ ++ [ Svante Signell ] ++ * Fix FTBFS on Debian GNU/Hurd (Closes: #861166) ++ ++ -- Ondřej Surý Mon, 19 Jun 2017 07:09:50 +0200 ++ ++mariadb-10.1 (10.1.24-3) unstable; urgency=medium ++ ++ * Team upload. ++ * Add mips-innobase-atomic.patch, fixing FTBFS on 32-bit mips*, thanks to ++ James Cowgill. (Closes: #864298) ++ ++ -- Andreas Beckmann Wed, 07 Jun 2017 02:23:44 +0200 ++ ++mariadb-10.1 (10.1.24-2) unstable; urgency=medium ++ ++ * Add Breaks: cqrlog (<< 1.9.0-5~) to ensure correct upgrade order ++ (Closes: #864159) ++ ++ -- Ondřej Surý Tue, 06 Jun 2017 14:29:52 +0200 ++ ++mariadb-10.1 (10.1.24-1) unstable; urgency=medium ++ ++ * New upstream version 10.1.24, includes fixes for the following ++ high-priority regression fixes: ++ + MDEV-11842: Fail to insert on a table where a field has no default ++ + MDEV-12075: innodb_use_fallocate does not work in MariaDB ++ Server 10.1.21 ++ * Refresh patches on top of MariaDB 10.1.24 ++ * Fix FTBFS in tests: Add cracklib-runtime to Build-Depends ++ ++ -- Ondřej Surý Tue, 06 Jun 2017 09:25:19 +0200 ++ ++mariadb-10.1 (10.1.23-9+deb9u1) stretch; urgency=medium ++ ++ [ Ondřej Surý ] ++ * Add Breaks: cqrlog (<< 1.9.0-5~) to ensure correct upgrade order ++ (Closes: #864159) ++ ++ -- Andreas Beckmann Wed, 07 Jun 2017 21:11:23 +0200 ++ ++mariadb-10.1 (10.1.23-9) unstable; urgency=medium ++ ++ * Fix the invalid location of insserv configuration snippet ++ (Thanks Michael Biebl for catching that) ++ ++ -- Ondřej Surý Fri, 26 May 2017 09:26:33 +0200 ++ ++mariadb-10.1 (10.1.23-8) unstable; urgency=medium ++ ++ * Use /etc/insserv.conf.d/mariadb to provide $database system facility ++ (Closes: #862447) ++ ++ -- Ondřej Surý Sat, 13 May 2017 11:08:43 +0200 ++ ++mariadb-10.1 (10.1.23-7) unstable; urgency=medium ++ ++ * Remove hard Breaks/Replaces with mysql-server and mysql-client ++ * Move virtual packages from Breaks to Conflicts (Debian Policy 7.6.2) ++ ++ -- Ondřej Surý Fri, 12 May 2017 12:21:33 +0200 ++ ++mariadb-10.1 (10.1.23-6) unstable; urgency=medium ++ ++ * Also fix the same assertion failure in xtradb (Closes: #862103) ++ ++ -- Ondřej Surý Mon, 08 May 2017 19:51:47 +0200 ++ ++mariadb-10.1 (10.1.23-5) unstable; urgency=medium ++ ++ * Add upstream patch to fix assertion failure in InnoDB storage engine ++ (Closes: #862103) ++ ++ -- Ondřej Surý Mon, 08 May 2017 17:21:55 +0200 ++ ++mariadb-10.1 (10.1.23-4) unstable; urgency=medium ++ ++ * Properly declare conflict on mytop (Closes: #861913) ++ ++ -- Ondřej Surý Mon, 08 May 2017 11:31:13 +0200 ++ ++mariadb-10.1 (10.1.23-3) unstable; urgency=medium ++ ++ * Remove two internal symbols (ll2str and longlong2str) from ++ kfrebsd-amd64 symbols file ++ ++ -- Ondřej Surý Thu, 04 May 2017 13:19:00 +0200 ++ ++mariadb-10.1 (10.1.23-2) unstable; urgency=medium ++ ++ * Add CVE list for 10.1.23 release ++ * Fix FTBFS on kfrebsd-any due missing .service files ++ ++ -- Ondřej Surý Thu, 04 May 2017 10:55:06 +0200 ++ ++mariadb-10.1 (10.1.23-1) unstable; urgency=medium ++ ++ * New upstream version 10.1.23, includes fixes for the following ++ security vulnerabilities: ++ - [CVE-2017-3302]: use-after-free in C client library for MySQL ++ - [CVE-2017-3313]: unauthorized (local) access to critical data or ++ complete access to all MySQL Server accessible data ++ - [CVE-2017-3308]: unauthorized (network) ability to cause a hang or ++ frequently repeatable crash ++ - [CVE-2017-3309]: unauthorized (network) ability to cause a hang or ++ frequently repeatable crash ++ - [CVE-2017-3453]: unauthorized (network) ability to cause a hang or ++ frequently repeatable crash ++ - [CVE-2017-3456]: unauthorized (network) ability to cause a hang or ++ frequently repeatable crash ++ - [CVE-2017-3464]: unauthorized update, insert or delete access to some ++ of MySQL Server accessible data ++ * Refresh debian/patches on top of MariaDB 10.1.23 release ++ * debian/gbp.conf: Filter most common cruft in the orig tarball ++ * debian/rules: Use --fail-missing to catch extra upstream files ++ * debian/*.manpages: Merge into debian/*.install ++ * debian/*.install: Add few missing binaries into various packages ++ * Declare mariadb-plugin-tokudb as available only on (linux-)amd64 ++ to fix FTBFS on kfreebsd-amd64 ++ * Remove the extra sanity check as it is already there via standard ++ dh_installinit (|| exit 0) (Closes: #861782) ++ * Stop /usr/sbin/mysqld in prerm script even with systemd ++ * Move mariadb.pc into proper multiarch directory (Closes: #852621) ++ * Add libarchive-dev needed by mariabackup to Build-Depends ++ * debian/control: run wrap-and-sort -a ++ * Move mysql_install_db from mariadb-server-10.1 to ++ mariadb-server-core-10.1 (Closes: #840646) ++ * Add Provides: $database to mysql.init - this partially addresses ++ #852776 ++ * Call dh_systemd_start with --no-restart-after-upgrade ++ (Closes: #853137) ++ * d/rules: Remove dh_prep override (legacy cruft) ++ ++ -- Ondřej Surý Thu, 04 May 2017 07:23:23 +0200 ++ ++mariadb-10.1 (10.1.22-4) unstable; urgency=medium ++ ++ * Fix small typo in d/rules that caused MySQL version suffix to not ++ contain information about Debian build ++ ++ -- Ondřej Surý Sat, 29 Apr 2017 21:56:23 +0200 ++ ++mariadb-10.1 (10.1.22-3) unstable; urgency=medium ++ ++ * Use pidof instead of pgrep, so we don't have to depend on procps ++ * Stop stopping mariadb server that many times and just add a simple ++ check to preinst that it has been really stopped (Closes: #852495) ++ * Fix small typo in gettid patch ++ * Disable TokuDB on kfreebsd-amd64 ++ ++ -- Ondřej Surý Tue, 28 Mar 2017 22:59:06 +0200 ++ ++mariadb-10.1 (10.1.22-2) unstable; urgency=medium ++ ++ [ Ondřej Surý ] ++ * Add correct kfreebsd-i386 symbols file (but this needs to be fixed in ++ how upstream uses linker) ++ * Update italian translation (Closes: #858300) ++ ++ [ Otto Kekäläinen ] ++ * Add Vietnamese translation by Trần Ngọc Quân ++ * Add Finnish translation by Antti Järvinen ++ ++ [ Ondřej Surý ] ++ * Disable test suite on hppa, don't fail test suite on more unstable ++ platforms: alpha, powerpc, and x32 ++ * Add swedish debconf translation (Closes: #858536) ++ * Add Catalan debconf translation (Closes: #858632) ++ * Use thr_self() as gettid implementation onf __FreeBSD_kernel__ ++ * Make mariadb-server-10.1 installable on kFreeBSD and Hurd (Closes: #851687) ++ * Update Turkish debconf translation (Closes: #858340) ++ * Disable specific tests on hppa to make the build succeed (Courtesy of ++ John David Anglin) (Closes: #858869) ++ ++ -- Ondřej Surý Tue, 28 Mar 2017 22:59:01 +0200 ++ ++mariadb-10.1 (10.1.22-1) unstable; urgency=high ++ ++ [ Otto Kekäläinen ] ++ * New upstream release 10.1.22. Includes fixes for the following ++ security vulnerabilities: ++ - CVE-2017-3313 ++ - CVE-2017-3302 ++ * New upstream also includes fix to logrotate so that it no longer ++ risks interrupting binary/relay log processing on the server. ++ https://github.com/MariaDB/server/commit/156cf86defdc59353f37f6 ++ * Add a NEWS.Debian item with same contents as the Stretch release notes ++ ++ [ Ondřej Surý ] ++ * Add myself to Uploaders ++ * Use https URI for Homepage ++ * Use /usr/share/dpkg/default.mk to define dpkg-architecture and other ++ build variables ++ * Install and use non-versioned symbols files for kFreeBSD and Hurd ++ architectures ++ * Make mysql_config and mariadb.pc return -lmariadbclient instead of ++ missing -lmysqlclient ++ * Add mysqlclient.pc -> mariadb.pc symlink into ++ libmariadbclient-dev-compat package ++ * MDEV-11884: Fix logrotate failing if mysqld is not running (Closes: #830976) ++ ++ -- Ondřej Surý Sun, 19 Mar 2017 15:23:26 +0100 ++ ++mariadb-10.1 (10.1.21-5) unstable; urgency=low ++ ++ [ James Clarke ] ++ * Make debian/mariadb-server-10.1.install executable (Closes: #852728) ++ * Allow mariadb-plugin-tokudb/mroonga on non-linux and non-release arches ++ * Detect whether libatomic is needed rather than hard-coding for mips ++ * Use host architecture, not build architecture, and clean up variables ++ * General clean-up in d/rules ++ ++ -- Otto Kekäläinen Fri, 27 Jan 2017 20:42:36 +0200 ++ ++mariadb-10.1 (10.1.21-4) unstable; urgency=low ++ ++ * Hotfix to full build failure: Add missing galera_new_cluster.1 to patch ++ ++ -- Otto Kekäläinen Thu, 26 Jan 2017 23:33:32 +0200 ++ ++mariadb-10.1 (10.1.21-3) unstable; urgency=low ++ ++ [ Ian Gilfillan ] ++ * Extend WSREP and Galera man pages patch to cover all commands ++ ++ [ Dieter Adriaenssens ] ++ * Specify Architecture for mariadb-plugin-mroonga and mariadb-plugin-tokudb ++ (Closes: #852709) ++ ++ [ James Clarke ] ++ * Fix FTBFS on non-Linux architectures (Closes: #852728) ++ ++ -- Otto Kekäläinen Thu, 26 Jan 2017 22:18:26 +0200 ++ ++mariadb-10.1 (10.1.21-2) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Implement systemd packaging the Debian way ++ * Extend README.Debian regarding new systemd files ++ * Add config file comments about SysV init and systemd differences ++ * Extend Debian.README with section about mixing with packages MariaDB.org ++ * Update /etc/init.d/mysql after comparison with upstream MariaDB 10.1.21 ++ * Run chown much faster on the datadir during install/update ++ * Check if /var/lib/mysql exists before running 'find' on it ++ * Skip mysqld stopping if no mysqld process is running at all ++ * Update French debconf translation by Baptiste Jammet (Closes: #850066) ++ * Remove unnecessary XS-Testsuite field (as instructed by Lintian) ++ * Add a modified version of upstream autobake-deb script to utilize CI tools ++ * Fix server config example on how to enable SSL with YaSSL (Closes: #851132) ++ * Make commands mariadb and mariadbcheck available with symlinks ++ ++ [ Jean Weisbuch ] ++ * Update Innotop to latest version ++ ++ [ Ian Gilfillan ] ++ * Add wsrep_* man pages ++ ++ -- Otto Kekäläinen Wed, 25 Jan 2017 10:42:45 +0200 ++ ++mariadb-10.1 (10.1.21-1) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * New upstream release 10.0.28. Includes fixes for the following ++ security vulnerabilities (Closes: #851759, Closes: ##849435): ++ - CVE-2017-3318 ++ - CVE-2017-3317 ++ - CVE-2017-3312 ++ - CVE-2017-3291 ++ - CVE-2017-3265 ++ - CVE-2017-3258 ++ - CVE-2017-3257 ++ - CVE-2017-3244 ++ - CVE-2017-3243 ++ - CVE-2017-3238 ++ - CVE-2016-6664 ++ * Add new program introduced in upstream 10.1.21: mysqld_safe_helper ++ * Deb-CI: remove parameter --skip-ndbcluster not available in 10.1 any more ++ * Make libmariadbclient18 depend on mysql-common only (Closes: #850216) ++ * Fix misleading config file comment (Closes: #677223) ++ * Update preinst variable $this_version from 10.0 to 10.1 (Closes: #851257) ++ ++ [ Kristian Nielsen ] ++ * Re-implement passwordless root login (Closes: #851131) ++ ++ -- Otto Kekäläinen Thu, 19 Jan 2017 11:33:01 +0200 ++ ++mariadb-10.1 (10.1.20-3) unstable; urgency=low ++ ++ [ Vicențiu Ciorbaru ] ++ * Update debian rules to also account for mipsel ++ ++ -- Otto Kekäläinen Sat, 24 Dec 2016 20:23:23 +0200 ++ ++mariadb-10.1 (10.1.20-2) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Upload to unstable ++ * Previous version string should had been ~exp1, thus this ++ first upload to unstable is -2 and not -1 as normal ++ * Disable test suite temporairly due to false regressions ++ ++ [ Dieter Adriaenssens ] ++ * fix Vcs-git link format and repo name ++ * update 10.0 to 10.1 in README files ++ ++ [ Vicențiu Ciorbaru ] ++ * Fix mips missing atomics primitives ++ ++ -- Otto Kekäläinen Sat, 24 Dec 2016 09:54:59 +0200 ++ ++mariadb-10.1 (10.1.20-1) experimental; urgency=low ++ ++ * Upgrade package to new MariaDB 10.1.x series: ++ - New upstream release 10.1.20 ++ - Refresh patches after 10.1.20 import ++ - Update strings 10.0 -> 10.1 after importing 10.1.20 ++ - Refresh patches after 10.1.20 import ++ - Update d/control after 10.1 import ++ - Use https protected git url in d/control ++ - Backwards compatible XS-Testsuite syntax in d/control ++ - Import debian/* changes done in upstream 10.1 ++ - Replace deprecated iproute with iproute2 ++ - Remove unnecessary dependencies as packages are Essential anyway ++ - Remove unnecessary and big file mysql_embedded ++ - Switch to 10.1 style build flag for unix socket auth module in d/rules ++ - Update d/copyright after 10.1 import ++ - Add missing aria_add_gis_sp.sql to mariadb-server-10.1 ++ - Ship SELinux and AppArmor files with the server, but as inactive ++ - New package from upstream 10.1: GSS API (Kerberos) client and server ++ - Extend GSSAPI plugin descriptions to satisfy Lintian ++ - New plugin from upstream 10.1: Cracklib password validation ++ ++ -- Otto Kekäläinen Tue, 20 Dec 2016 22:46:59 +0200 ++ ++mariadb-10.0 (10.0.28-3) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Move libmariadbd and -dev next to each other for a more logical flow in d/control ++ * Move mariadb-test to last in file for a more logical flow in d/control ++ * Clean away unused Lintian overrides ++ * Add Lintian override for impossible mysql_config multi-arch requirement ++ * Update Debian copyright based on the 2016 git log author list ++ * Remove unnecessary /var/lib/mysql-upgrade (Closes: #848620) ++ ++ [ Vicențiu Ciorbaru ] ++ * Fix connect.upd test in armhf ++ * Fix mroonga/storage.index_read_multiple_double test in armhf ++ ++ -- Otto Kekäläinen Tue, 20 Dec 2016 21:59:47 +0200 ++ ++mariadb-10.0 (10.0.28-2) unstable; urgency=low ++ ++ [ Samuel Thibault ] ++ * patches/hurd_socket.patch: Also avoid non-working socket path length check ++ on hurd-i386. ++ * rules: Drop symbols on hurd-i386 too (Closes: #842696). ++ ++ [ Daniel Black ] ++ * Don't install private mysql header files in libmariadbclient-dev ++ ++ [ Otto Kekäläinen ] ++ * Update libmariadbd18 description and contents to match latest upstream ++ * Mark missing Multi-Arch as suggested by Multiarch hinter ++ * Move plugins to $ARCH/*/mariadb18 to meet multiarch needs (Closes: #739452) ++ ++ -- Otto Kekäläinen Fri, 11 Nov 2016 22:03:33 +0200 ++ ++mariadb-10.0 (10.0.28-1) unstable; urgency=low ++ ++ [ Vicențiu Ciorbaru ] ++ * Fix tokudb jemalloc linking ++ ++ [ Otto Kekäläinen ] ++ * New upstream release 10.0.28. Includes fixes for the following ++ security vulnerabilities: ++ - CVE-2016-8283 ++ - CVE-2016-7440 ++ - CVE-2016-6663 ++ - CVE-2016-5629 ++ - CVE-2016-5626 ++ - CVE-2016-5624 ++ - CVE-2016-5616 ++ - CVE-2016-5584 ++ - CVE-2016-3492 ++ * Drop 4 patches that have been applied upstream. ++ * Delete runnable files from mariadb-test-data as they were only ++ needed at build time to generate tests. ++ ++ -- Otto Kekäläinen Fri, 28 Oct 2016 22:51:14 +0300 ++ ++mariadb-10.0 (10.0.27-2) unstable; urgency=low ++ ++ [ Dieter Adriaenssens ] ++ * Fix typo in README.Contributor ++ * Improve documentation on how to clean the build env ++ ++ [ James Cowgill ] ++ * Mips build and testsuite fixes (Closes: #838557, Closes: #838914) ++ - Permit 93 as a valid value of the ENOTEMPTY error in the testsuite ++ - Correctly fix mips64 multiplication in taocrypt ++ - Ensure groonga is built with libatomic ++ - Handle unaligned buffers in connect's TYPBLK class ++ - Fix DEFAULT_MACHINE on mips ++ - Remove various tests from unstable-tests which now pass on MIPS ++ - Update debian/unstable-tests.mips* ++ ++ [ Kristian Nielsen ] ++ * Fix missing path for perl in autopkgtest (Closes: #809022) ++ * Fix test failures on hppa due to wrong enoempty (Closes: #837369) ++ ++ -- Otto Kekäläinen Sun, 02 Oct 2016 09:22:59 +0300 ++ ++mariadb-10.0 (10.0.27-1) unstable; urgency=low ++ ++ * New upstream release 10.0.27 ++ * Remove 3 patches after 10.0.27 import as they have been applied ++ upstream. ++ ++ -- Otto Kekäläinen Wed, 07 Sep 2016 23:05:28 +0300 ++ ++mariadb-10.0 (10.0.26-3) unstable; urgency=low ++ ++ [ Dieter Adriaenssens ] ++ * Add DEP-12 formatted upstream metadata file (Closes: #808421) ++ ++ [ Vicențiu Ciorbaru ] ++ * Update innodb_xtradb patch to introduce memory barrier after lock ++ * Fix failing shutdown with gcc v6 ++ ++ [ Otto Kekäläinen ] ++ * Extend commit d5af196 with old name of package libmariadb-dev-compat ++ * Extend commit 8d2a7c9 and actually install the tokuftdump man page ++ * Update mariadb-test dependencies to include also libmariadbclient18 ++ * Add path to fix for sporadically failing test main.information_schema_stats ++ * d/rules: NUMJOBS must have a default value ++ ++ -- Otto Kekäläinen Wed, 17 Aug 2016 00:31:02 +0300 ++ ++mariadb-10.0 (10.0.26-2) unstable; urgency=low ++ ++ [ Vicențiu Ciorbaru ] ++ * Add patch to correctly revert changes from 10.0.26 that caused ++ build failure regression on PPC64el ++ ++ [ Paul Gevers ] ++ * Add autopkg tests for MariaDB 10.0 (Closes: #809022) ++ ++ [ Axel Beckert ] ++ * Extend mariadb-server to purge gracefully if datadir is a mountpoint ++ (Closes: #829491) ++ ++ [ Ian Gilfillan ] ++ * Add a patch to provide a man page for tokuftdump ++ ++ [ Robie Basak ] ++ * Re-add libmariadbclient18 and libmariadbclient-dev ++ * Add libmariadbclient-dev-compat package ++ ++ [ Otto Kekäläinen ] ++ * d/control: libmariadbclient18 must be 'Multi-Arch: same' ++ * Make libmariadbclient-dev-compat conflict with libmariadb-dev-compat ++ (Closes: #831229) ++ * Add libmariadbclient-dev as dependency for libmariadbd-dev ++ * Replace hacky sed of libmysqlclient->libmariadbclient with proper patch ++ * Update symbols file to match newest libmariadbclient18 ++ * Updated Danish translation by Joe Hansen (Closes: #830592) ++ * Remove mariadb-plugin-cassandra until libthrif-dev lands in unstable ++ * Make libdbd-mysql-perl and friends Recommends instead of strict Depends ++ (Closes: #793787) ++ * Documentation and spelling fixes ++ * Remove mysqlbug binary as it is not used for MariaDB ++ * Update default config files with more secure TLS examples ++ ++ -- Otto Kekäläinen Fri, 29 Jul 2016 21:42:50 +0300 ++ ++mariadb-10.0 (10.0.26-1) unstable; urgency=low ++ ++ * Updated French translation by Baptiste Jammet (Closes: #826879) ++ * New upstream release 10.0.26. Includes fixes for the following ++ security vulnerabilities: ++ - CVE-2016-5440 ++ - CVE-2016-3615 ++ - CVE-2016-3521 ++ - CVE-2016-3477 ++ * Updated old changelog entries to include new CVE identifiers. ++ * Refresh patches after 10.0.26 import ++ ++ -- Otto Kekäläinen Fri, 24 Jun 2016 17:05:44 +0300 ++ ++mariadb-10.0 (10.0.25-1) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Revert previous changes tailored for Ubuntu 16.04 compatibility. ++ * New upstream release 10.0.25. Includes fixes for the following ++ security vulnerabilities (Closes: #823325): ++ - CVE-2016-0666 ++ - CVE-2016-0655 ++ - CVE-2016-0648 ++ - CVE-2016-0647 ++ - CVE-2016-0643 ++ - CVE-2016-5444 ++ - CVE-2016-3459 ++ - CVE-2016-3452 ++ * Updated old changelog entries to include new CVE identifiers. ++ * Upstream included changes to logrotate script that supports systems that ++ has multiple mysqld processes running (Closes: #810968). ++ * Updated Dutch translation by Frans Spiesschaert (Closes: #822894). ++ * Updated Spanish translation by Javier Fernández-Sanguino Peña ++ (Closes: #823099). ++ * Updated Russian translation by Yuri Kozlov (Closes: #823422). ++ * Updated German translation by Chris Leick (Closes: #824487). ++ * Updated Brazilian Portuguese translation (Closes: #824644). ++ * Updated Turkish translation by Atila KOÇ (Closes: #825802). ++ * Add patch to provide passwordless root accounts for test suite. ++ * Updated Japanese translation by Takuma Yamada (Closes: #825813). ++ ++ [ Vicențiu Ciorbaru ] ++ * Backport upstream MDEV-9479 fix: oqgraph fails to build with boost 1.60 ++ ++ -- Otto Kekäläinen Mon, 30 May 2016 22:43:30 +0300 ++ ++mariadb-10.0 (10.0.24-7) unstable; urgency=low ++ ++ * Temporarily remove mariadb-plugin-cassandra as Debian FTP bot thinks ++ it wasn't there before 10.0.24-6 and put the package in the NEW queue. ++ ++ -- Otto Kekäläinen Wed, 13 Apr 2016 13:24:28 +0300 ++ ++mariadb-10.0 (10.0.24-6) unstable; urgency=low ++ ++ * Move mysql_embedded from client package to client-core package, ++ equally as is in mysql-client-core-5.6 and -5.7 (LP: #1568077). ++ * Add breaks/replaces for mariadb-client to accommodate the above. ++ * Add conflicts/breaks/replaces for MySQL 5.7 series packages now ++ when mysql-5.7 entered the Ubuntu repositories (LP: #1568285). ++ * Detect properly if there is an incompatible data directory from 5.7, ++ save it to another location and initialize a new data directory so that the ++ installation can complete properly without leaving dpkg in an inconsistent ++ state. ++ * Remove all old passwordless root account lines to close a potential ++ security vulnerability (LP: #1561062). ++ ++ -- Otto Kekäläinen Wed, 13 Apr 2016 10:56:10 +0300 ++ ++mariadb-10.0 (10.0.24-5) unstable; urgency=low ++ ++ * Disable sporadically failing rpl_binlog_index test on PowerPC. ++ * Disable another sporadic on amd64 and update all Jira links. ++ * Fix typo in Mroonga prerm script. ++ ++ -- Otto Kekäläinen Sat, 12 Mar 2016 10:08:23 +0200 ++ ++mariadb-10.0 (10.0.24-4) unstable; urgency=low ++ ++ * Update contributor documentation to match git-buildpackage version in sid. ++ * Add libxml and unixOBDC as build-depends for ConnectSE as done by in ++ upstream (Closes: #814944). ++ * Upload to via NEW as mariadb-10.0 was accidentally removed from Debian ++ unstable archives. ++ ++ -- Otto Kekäläinen Thu, 10 Mar 2016 18:40:51 +0200 ++ ++mariadb-10.0 (10.0.24-3) unstable; urgency=low ++ ++ * Fix typo in rules file about Mroonga control section ++ * Add main.delayed test exception to more platforms ++ * Install mysql_embedded man page correctly ++ ++ -- Otto Kekäläinen Sun, 06 Mar 2016 22:20:52 +0200 ++ ++mariadb-10.0 (10.0.24-2) unstable; urgency=low ++ ++ * Make new plugin packages breaks+replaces mariadb-server-10.0 as ++ the files used to reside there (Closes: #815377). ++ * Disable main.delayed that has been confirmed to be a false positive ++ caused by built platform resource limits. ++ * Disable multiple s390x tests that only fail on Ubuntu/Launchpad and ++ cannot be reproduced anywhere else. ++ ++ -- Otto Kekäläinen Fri, 04 Mar 2016 08:38:25 +0200 ++ ++mariadb-10.0 (10.0.24-1) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * New upstream release 10.0.24 ++ - Drop auth_socket patches as MDEV-8375 was partially fixed upstream ++ - Refresh other patches ++ * New upstream release includes fixes for the following security ++ vulnerabilities: ++ - CVE-2016-0668 ++ - CVE-2016-0650 ++ - CVE-2016-0649 ++ - CVE-2016-0646 ++ - CVE-2016-0644 ++ - CVE-2016-0641 ++ - CVE-2016-0640 ++ * Update filenames in d/copyright ++ ++ [ Ian Gilfillan ] ++ * Add missing mysql_embedded man page ++ ++ -- Otto Kekäläinen Sat, 20 Feb 2016 14:23:50 +0200 ++ ++mariadb-10.0 (10.0.23-3) unstable; urgency=low ++ ++ * Add Lintian overrides for TokuDB sources that indeed need autotools files ++ * Split TokuDB, Mroonga, Spider and Cassandra into their own packages and ++ start using new naming scheme 'mariadb-plugin-xzy' and rename existing ++ Connect and OQGraph packages accordingly (Closes: #773727) ++ * There is no need for mariadb-test packages to contain the version in the ++ package name, so remove it. It only makes sense to keep the version number ++ in the client and server packages, which users actually want to pin to. ++ * Update standards version ++ ++ -- Otto Kekäläinen Tue, 26 Jan 2016 11:34:48 +0200 ++ ++mariadb-10.0 (10.0.23-2) unstable; urgency=low ++ ++ * Skip unstable Spider tests on Launchpad s390x builds ++ * Extend install lists with missing files after reviewing the list ++ of files produced by the build process ++ * Update server README.Debian to match current unix socekt authentication ++ * Lintian fixes and more updates to TokuDB plugin copyright paths ++ * Move mysql_upgrade to server core package so that Akonadi and similar ++ core package consumers can upgrade the database. Also update control file ++ with breaks/replaces to allow smooth upgrades (Closes: #793977). ++ * Update slow_query_log_file configuration syntax to match upstream's. Also ++ fixes #677222 in MariaDB packages. ++ * Rename and install Apport hook correctly ++ * Remove Taocrypt workaround fixed upstream long since #627208 ++ * Removed CFLAGS and CXXFLAGS as suggested by Lars Tangvald and also done ++ in mysql-5.6 packaging commit id 16a64e810e28f1d0b66ede274cd4c2b1a425fecb ++ * Unmask the systemd mysql.service if left behind by a mysql-server-5.6 ++ installation, otherwise the MariaDB service would remain masked too. ++ * Add gdb to build-deps as suggested in #627208 to get automatic stack traces ++ * Updated Turkish translation by Atila KOÇ (Closes: #811414) ++ ++ -- Otto Kekäläinen Sat, 23 Jan 2016 23:07:15 +0200 ++ ++mariadb-10.0 (10.0.23-1) unstable; urgency=low ++ ++ * New upstream release 10.0.23. Includes fixes for the following ++ security vulnerabilities: ++ - CVE-2016-2047 ++ - CVE-2016-0651 ++ - CVE-2016-0642 ++ - CVE-2016-0616 ++ - CVE-2016-0609 ++ - CVE-2016-0608 ++ - CVE-2016-0606 ++ - CVE-2016-0600 ++ - CVE-2016-0598 ++ - CVE-2016-0597 ++ - CVE-2016-0596 ++ - CVE-2016-0546 ++ - CVE-2016-0505 ++ * Ignore test suite exit code on unstable platforms (mips, mipsel) ++ * Update TokuDB plugin install and copyright paths to match latest ++ release done under Percona ownership ++ ++ -- Otto Kekäläinen Sun, 20 Dec 2015 14:18:33 +0200 ++ ++mariadb-10.0 (10.0.22-6) unstable; urgency=low ++ ++ * Add patches to make passwordless root login default on all new ++ installs in all situations. Make auth_socket a built-in plugin. ++ * Clean up previous passwordless root implementation so that it ++ applies only to new installs and existing databases continue ++ to operate with the passwords defined in their user tables ++ * As disabled.def intrepreted test names in a special way, switch ++ back to using --skip-test-list option ++ * Make the watch file to make it better suited for the ++ git-buildpackage workflow and remove call to uupdate ++ ++ -- Otto Kekäläinen Sat, 19 Dec 2015 22:28:23 +0200 ++ ++mariadb-10.0 (10.0.22-5) unstable; urgency=low ++ ++ * Fix non-working path of unstable-test in d/rules ++ * Add unstable test for amd64 to fix reproducible builds ++ ++ -- Otto Kekäläinen Thu, 17 Dec 2015 13:31:56 +0200 ++ ++mariadb-10.0 (10.0.22-4) unstable; urgency=low ++ ++ * Upload to unstable ++ ++ -- Otto Kekäläinen Mon, 14 Dec 2015 00:49:14 +0200 ++ ++mariadb-10.0 (10.0.22-4~exp1) experimental; urgency=low ++ ++ * Rewrite unstable tests section in d/rules that was not working ++ ++ -- Otto Kekäläinen Sun, 13 Dec 2015 21:36:48 +0200 ++ ++mariadb-10.0 (10.0.22-3) unstable; urgency=low ++ ++ * Fix typo in d/rules ++ * Extend list of unstable tests for arch mips, mipsel64 and alpha ++ ++ -- Otto Kekäläinen Fri, 11 Dec 2015 21:57:23 +0200 ++ ++mariadb-10.0 (10.0.22-2) unstable; urgency=low ++ ++ * Escape d/rules file correctly to avoid parse error. ++ * Remove patches/os_sync_Free patch that is not intended for production use. ++ ++ -- Otto Kekäläinen Fri, 20 Nov 2015 23:11:09 +0200 ++ ++mariadb-10.0 (10.0.22-2~exp2) experimental; urgency=low ++ ++ [ Alexander Barkov ] ++ * Backport patch from upstream to fix MDEV-9091: mysqld crashes on shutdown ++ after running TokuDB tests on Ubuntu ++ * Backport patch from upstream to fix MDEV-8692: prefschema test failures ++ ++ [ Otto Kekäläinen ] ++ * Replace old 'make test' structure with direct call on mysql-test-run and ++ parallelize the test suite run in the Debian build. ++ * Print in build log env info to help debug builds on different platforms. ++ * Keep a list of unstable tests that are to be skipped on official builds. ++ ++ -- Otto Kekäläinen Fri, 13 Nov 2015 22:08:49 +0200 ++ ++mariadb-10.0 (10.0.22-2~exp1) experimental; urgency=low ++ ++ * Add diagnostics to find out the problem in os_sync_free() ++ * Backport fix for TokuDB crashes in build tests on Launchpad ++ and enable TokuDB builds ++ ++ -- Otto Kekäläinen Fri, 13 Nov 2015 08:54:05 +0200 ++ ++mariadb-10.0 (10.0.22-1) unstable; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * New upstream release. Includes fixes for the following security ++ vulnerabilities (Closes: #802874): ++ - CVE-2016-0610 ++ - CVE-2016-3471 ++ - CVE-2015-7744 ++ - CVE-2015-4802 ++ - CVE-2015-4807 ++ - CVE-2015-4815 ++ - CVE-2015-4826 ++ - CVE-2015-4830 ++ - CVE-2015-4836 ++ - CVE-2015-4858 ++ - CVE-2015-4861 ++ - CVE-2015-4870 ++ - CVE-2015-4913 ++ - CVE-2015-4792 ++ * New release includes updated man pages (Closes: #779992) ++ * Update the most recent patches with proper DEP-3 compliant headers ++ * Add CVE IDs to previous changelog entries ++ ++ [ Jean Weisbuch ] ++ * Update mysqlreport to version 4.0 ++ ++ [ Otto Kekäläinen ] ++ ++ -- Otto Kekäläinen Fri, 30 Oct 2015 11:42:30 +0200 ++ ++mariadb-10.0 (10.0.21-3) unstable; urgency=low ++ ++ * Updated Brazilian Portuguese translation (Closes: #798048) ++ * Upload 10.0.21 and all changes tested initially in experimental ++ to unstable. Now sensible as mysql-5.6 has entered testing. ++ ++ -- Otto Kekäläinen Fri, 18 Sep 2015 23:04:53 +0300 ++ ++mariadb-10.0 (10.0.21-2) experimental; urgency=low ++ ++ * Update gdb.conf to have tags signed by default ++ * Add CVE IDs to previous changelog entries ++ * Pass DEB_BUILD_ARCH to CMake options to enhance buils on some platforms ++ * Test suite failures are now fatal on all platforms and not ignored anywhere ++ * Revert most of commit 579282f and re-enable Mroonga ++ ++ -- Otto Kekäläinen Wed, 26 Aug 2015 18:20:54 +0300 ++ ++mariadb-10.0 (10.0.21-1) experimental; urgency=low ++ ++ [ Otto Kekäläinen ] ++ * Created libmariadbd18 and moved .so file from libmariadbd-dev there ++ * Reproducible build improvement: Add LC_ALL=C to mysql.sym sort command ++ * New upstream release. ++ - Upstream added skip_log_error to mysqld_safe config (Closes: #781945) ++ - Diffie-Helman modulus increased to 2048-bits (Closes: #788905) ++ * New upstream release fixes the following security vulnerabilities: ++ - CVE-2015-4816 ++ - CVE-2015-4819 ++ - CVE-2015-4879 ++ - CVE-2015-4895 ++ * Split mariadb-test-data-10.0 out of the main test package. This will save ++ disk space in Debian archives as the arch independent data files are ++ in one single package that can be used on all platforms and the package ++ that is built on multiple platform shrinks significantly. ++ ++ [ Jean Weisbuch ] ++ * The MYCHECK_RCPT variable can now be set from the default file. ++ * The check_for_crashed_tables() function on the debian-start script has been ++ fixed to be able to log (and email) the errors it encountered : Errors are ++ sent to stderr by the CLI while only stdout was captured by the function. ++ * The same function now also checks Aria tables along with MyISAM ones. ++ ++ -- Otto Kekäläinen Thu, 13 Aug 2015 10:08:38 +0200 ++ ++mariadb-10.0 (10.0.20-3) unstable; urgency=medium ++ ++ [ Andreas Beckmann ] ++ * mariadb-common: Depend on a version of mysql-common that ships ++ /usr/share/mysql-common/configure-symlinks. (Closes: #787533) ++ * mariadb-common.postinst: Drop fallback my.cnf symlink management. ++ * mariadb-common.preinst: Clean up my.cnf/my.cnf.old from the fallback. ++ ++ [ Otto Kekäläinen ] ++ * Clean up old cruft from rules file after review by Sergei Golubchik ++ * Unified config file layout with upstream .cnf layout ++ * Recover mysql-upgrade dir/link handlig wrongly removed in f7caa041db ++ * Minor Lintian and documentation fixes ++ * Switch 'nm -n' to 'nm --defined-only' to improve reproducible builds ++ ++ [ Olaf van der Spek ] ++ * Minor spell checking (Closes: #792123) ++ ++ [ Israel Tsadok ] ++ * Fix mariadb-server-10.0.preinst script that failed to save a new ++ /var/lib/mysql-upgrade/DATADIR.link if a previous DATADIR.link existed and ++ the /var/lib/mysql directory was a symbolic link with an absolute path ++ as target (Closes: #792918) ++ ++ [ Jean Weisbuch ] ++ * Added a Debian default file for the mariadb-server-10.0 package which allows ++ one to set the MYSQLD_STARTUP_TIMEOUT variable used in the init script ++ ++ -- Otto Kekäläinen Fri, 24 Jul 2015 23:00:00 +0300 ++ ++mariadb-10.0 (10.0.20-2) unstable; urgency=low ++ ++ * Fix bash test logic in postinstall (Closes: #789589) ++ * Add extra sort in d/rules mysqld.sym.gz command to satisfy Debian ++ reproducible build requirements ++ * Switch to utf8mb4 as default character set ++ ++ -- Otto Kekäläinen Fri, 03 Jul 2015 17:11:01 +0300 ++ ++mariadb-10.0 (10.0.20-1) unstable; urgency=low ++ ++ * New upstream release. Includes fixes for the following security ++ vulnerabilities: ++ - CVE-2015-2582 ++ - CVE-2015-2620 ++ - CVE-2015-2643 ++ - CVE-2015-2648 ++ - CVE-2015-3152: Client command line option --ssl-verify-server-cert (and ++ MYSQL_OPT_SSL_VERIFY_SERVER_CERT option of the client API) when used ++ together with --ssl will ensure that the established connection is ++ SSL-encrypted and the MariaDB server has a valid certificate. ++ - CVE-2015-4752 ++ - CVE-2015-4864 ++ * New release includes fix for memory corruption on arm64 (Closes: #787221) ++ * Added patch to enhance build reproducibility regarding the file INFO_BIN ++ ++ -- Otto Kekäläinen Fri, 19 Jun 2015 13:01:56 +0300 ++ ++mariadb-10.0 (10.0.19-1) unstable; urgency=low ++ ++ * New upstream release. Fixed the server crash caused by mysql_upgrade ++ (MDEV-8115). ++ * Upload to unstable from master branch as Jessie is not released. ++ ++ -- Otto Kekäläinen Sat, 09 May 2015 22:24:03 +0300 ++ ++mariadb-10.0 (10.0.18-1~exp1) experimental; urgency=low ++ ++ * New upstream release. Includes fixes for the following security ++ vulnerabilities: ++ - CVE-2015-4866 ++ - CVE-2014-8964 bundled PCRE contained heap-based buffer overflow ++ vulnerability that allowed the server to crash or have other unspecified ++ impact via a crafted regular expression made possible with the ++ REGEXP_SUBSTR function (MDEV-8006). ++ - CVE-2015-0501 ++ - CVE-2015-2571 ++ - CVE-2015-0505 ++ - CVE-2015-0499 ++ - CVE-2015-4757 ++ - CVE-2015-4866 ++ * Cleanup in d/copyright ++ * Make the mariadb-common depends versioned to guarantee that latest ++ config files are installed ++ ++ -- Otto Kekäläinen Thu, 07 May 2015 23:21:20 +0300 ++ ++mariadb-10.0 (10.0.17-1~exp2) experimental; urgency=low ++ ++ * d/control: Related to innochecksum manpage move, also break/replace ++ the mysql-client-5.5/6 packages (Closes: #779873) ++ * Add automatic fallback to the new /etc/mysql/my.cnf management scheme ++ for cases where mysql-common/configure-symlinks is not yet available ++ and users complain the installation ends up broken. ++ * New release confirmed to build with GCC-5 (Closes: #777996) ++ ++ -- Otto Kekäläinen Fri, 06 Mar 2015 16:42:21 +0200 ++ ++mariadb-10.0 (10.0.17-1~exp1) experimental; urgency=low ++ ++ [ Jan Wagner ] ++ * Adding mysqld_multi.server_lsb-header.patch, provides LSB headers for ++ example initscript (Closes: #778762) ++ * Adding mysqld_multi_confd.patch, makes mysqld_multi reading conf.d ++ (Closes: #778761) ++ ++ [ Robie Basak ] ++ * Move innochecksum back to mariadb-server-core-10.0 to align with other ++ variants (LP: #1421520). ++ * Fix typo in mariadb-server-10.0.postinst. ++ * Fix typo in postinst mktemp call (LP: #1420831). ++ ++ [ Arnaud Fontaine ] ++ * d/control: innochecksum manpage has been moved to mariadb-client-10.0 in ++ 10.0.13-1 (ba97056), thus add Breaks/Replaces in mariadb-client-10.0 ++ against mariadb-server-10.0 << 10.0.13-1~. ++ ++ [ Otto Kekäläinen ] ++ * Follow to new /etc/mysql/my.cnf management scheme ++ * Remove the my.cnf move command as it increases complexity too much and might ++ emit an error code if mariadb-common is upgraded before mysql-common is. ++ * Add patch to enhance build reproducibility ++ * Remove /var/log/mysql.log from logrotate. Everything should be inside ++ the mysql directory (/var/log/mysql/) and not directly on plain /var/log ++ * New upstream release. Includes fixes for the following security ++ vulnerabilities (changelog updated post release): ++ - CVE-2015-2568 ++ - CVE-2015-2573 ++ - CVE-2015-0433 ++ - CVE-2015-0441 ++ ++ -- Otto Kekäläinen Mon, 02 Mar 2015 20:01:13 +0200 ++ ++mariadb-10.0 (10.0.16-1~exp3) experimental; urgency=low ++ ++ * Update the mail.ssl test to match new cacert.pem ++ * Stop asking and setting a database root user password. Instead enable ++ the auth_socket plugin and let unix user root access MariaDB without ++ a separate password. Admins using sudo or cron scripts can use the ++ same access too, and there is no debian-sys-maint password either anymore. ++ ++ -- Otto Kekäläinen Fri, 30 Jan 2015 18:52:55 +0200 ++ ++mariadb-10.0 (10.0.16-1~exp2) experimental; urgency=low ++ ++ * Fix typo in preinstall script (Closes: #776494). ++ * Backported new cacert.pem etc from 5.5 the replace the expired ones. ++ ++ -- Otto Kekäläinen Wed, 28 Jan 2015 20:57:23 +0200 ++ ++mariadb-10.0 (10.0.16-1~exp1) experimental; urgency=low ++ ++ * New upstream release. Includes fixes for the following security ++ vulnerabilities: ++ - CVE-2015-0411 ++ - CVE-2015-0382 ++ - CVE-2015-0381 ++ - CVE-2015-0432 ++ - CVE-2014-6568 ++ - CVE-2015-0374 ++ ++ -- Otto Kekäläinen Tue, 27 Jan 2015 17:04:21 +0200 ++ ++mariadb-10.0 (10.0.15-2~exp1) experimental; urgency=low ++ ++ * Fix mariadb-server-10.0.postinst so that the flag removal will not emit ++ an error code if there are no previous debian-*.flag files. This will ++ fix a dpkg issue caught by piuparts testing. ++ * Increase the debconf downgrade warning dialog priority to critical to make ++ sure all users see it and understand why their system broke after downgrade. ++ * Attempt to fix FTBFS on mips, mipsel, powerpc introduced by upstream ++ release 10.0.15 (Closes: #772964). ++ ++ -- Otto Kekäläinen Fri, 12 Dec 2014 14:07:50 +0200 ++ ++mariadb-10.0 (10.0.15-1) unstable; urgency=low ++ ++ [ Arnaud Fontaine ] ++ * Bump libpcre3-dev Build-Depends to >= 2:8.35-3.2~ (Closes: #767903). ++ ++ [ Otto Kekäläinen } ++ * New upstream release, includes fixes for the following security issues: ++ - CVE-2014-6507 ++ - CVE-2014-6491 ++ - CVE-2014-6500 ++ - CVE-2014-6469 ++ - CVE-2014-6555 ++ - CVE-2014-6559 ++ - CVE-2014-6494 ++ - CVE-2014-6496 ++ - CVE-2014-6464 ++ * Disable on non-amd64 platforms the new Mroonga storage engine which ++ was introduced in the new upstream release. ++ * Allow mariadb-server-10.0 to overwrite file man1/mysql_plugin.1.gz in ++ mysql-client-5.5 with breaks and replaces (Closes: #771213). ++ * Clean up old debian-*.flag files from datadir to avoid unexpected ++ behavior at later upgrades (Closes: #770177). ++ ++ -- Otto Kekäläinen Tue, 25 Nov 2014 21:45:43 +0200 ++ ++mariadb-10.0 (10.0.14-4) unstable; urgency=low ++ ++ * Updated patch d/username-in-tests-replace.patch to fix the ++ obfuscation done by anti-spam measures in the MariaDB ++ commit message view (Closes: #769865). ++ * Unified indentantion to two spaces in init file for easier ++ debugging of #609537 ++ ++ -- Otto Kekäläinen Mon, 17 Nov 2014 11:45:11 +0200 ++ ++mariadb-10.0 (10.0.14-3) unstable; urgency=low ++ ++ * Added patch d/username-in-tests-replace.patch to fix ++ test failure (Closes: #769212). ++ * Added versioned dependency on libpcre3 (Closes: #767903). ++ ++ -- Otto Kekäläinen Wed, 12 Nov 2014 15:00:11 +0300 ++ ++mariadb-10.0 (10.0.14-2) unstable; urgency=low ++ ++ [ Tobias Frost ] ++ * Fix two lintian warnings in d/copyright (missing "-" between GPL and 2) ++ * Always be verbose when building the package and show compiler args ++ ++ [ Otto Kekäläinen ] ++ * Upload to unstable ++ * Updated German translation by Chris Leick and Holger Wansing ++ (Closes: #763952) ++ * Updated Dutch translation by Frans Spiesschaert (Closes: #764013) ++ * Removed libssl-dev from build dependencies in favour of using ++ bundled YaSSL instead (Closes: #761911) ++ * Fixed debconf value saving (Closes: #761452) ++ * Re-enabled TokuDB after backporting upstream fix in MDEV-6815 ++ * Removed libmariadbclient packages that provided the Debian-only ++ libmariadbclient.so library that nobody used. Instead developers are ++ encouraged to use the libraries from the package libmariadb-client-lgpl ++ instead (Closes: #739452) (Closes: #742172). ++ ++ -- Otto Kekäläinen Sat, 18 Oct 2014 19:00:11 +0300 ++ ++mariadb-10.0 (10.0.14-1) experimental; urgency=low ++ ++ * New upstream release. (Closes: #757026) ++ * d/control: Removed Provides: libmysqlclient-dev (Closes: #759309) ++ * d/control: Removed Provides: libmysqld-dev with same motivation ++ * Updated Swedish translation by Martin Bagge ++ and Anders Jonsson (Closes: #762795) ++ * Updated Spanish translation by Javier Fernandez-Sanguino (Closes: #762751) ++ * Updated Portuguese translation by Miguel Figueiredo (Closes: #763194) ++ * Updated Czech translation by Miroslav Kure (Closes: #763309) ++ ++ -- Otto Kekäläinen Thu, 28 Aug 2014 00:39:02 +0300 ++ ++mariadb-10.0 (10.0.10-1) experimental; urgency=low ++ ++ * Initial Upload (Closes: #740473) ++ ++ -- Otto Kekäläinen Tue, 01 Apr 2014 09:56:38 +0300 diff --cc debian/compat index ec635144f,000000000..f599e28b8 mode 100644,000000..100644 --- a/debian/compat +++ b/debian/compat @@@ -1,1 -1,0 +1,1 @@@ - 9 ++10 diff --cc debian/control index 98ffb0731,000000000..d8b994435 mode 100644,000000..100644 --- a/debian/control +++ b/debian/control @@@ -1,1157 -1,0 +1,858 @@@ +Source: mariadb +Section: database +Priority: optional - Maintainer: MariaDB Developers ++Maintainer: Debian MySQL Maintainers ++Uploaders: Otto Kekäläinen +Build-Depends: bison, + cmake, + cracklib-runtime , + debhelper (>= 10), + dh-exec, - flex [amd64], + gdb , - libaio-dev [linux-any], - libboost-atomic-dev [amd64], - libboost-chrono-dev [amd64], - libboost-date-time-dev [amd64], + libboost-dev, - libboost-filesystem-dev [amd64], - libboost-regex-dev [amd64], - libboost-system-dev [amd64], - libboost-thread-dev [amd64], + libbz2-dev, + libcrack2-dev (>= 2.9.0), + libcurl4-openssl-dev | libcurl4-dev, + libedit-dev, + libedit-dev:native, + libfmt-dev (>= 7.0.0), + libjemalloc-dev [linux-any], + libjudy-dev, + libkrb5-dev, + liblz4-dev, + liblzma-dev, + liblzo2-dev, - libncurses5-dev (>= 5.0-6~), - libncurses5-dev:native (>= 5.0-6~), ++ libncurses-dev, + libnuma-dev [linux-any], + libpam0g-dev, + libpcre2-dev, + libpmem-dev [amd64 arm64 ppc64el riscv64], + libsnappy-dev, + libssl-dev, + libssl-dev:native, + libsystemd-dev [linux-any], + liburing-dev [linux-any], + libxml2-dev, - libzstd-dev (>= 1.1.3), ++ libzstd-dev (>= 1.3.3), + lsb-release, + perl:any, + po-debconf, + psmisc, + unixodbc-dev, + uuid-dev, - zlib1g-dev (>= 1:1.1.3-5~) ++ zlib1g-dev (>= 1:1.1.3-5~), ++ zlib1g-dev:native +Rules-Requires-Root: no - Standards-Version: 4.5.0 ++Standards-Version: 4.6.2 +Homepage: https://mariadb.org/ - Vcs-Browser: https://github.com/MariaDB/server/ - Vcs-Git: https://github.com/MariaDB/server.git ++Vcs-Browser: https://salsa.debian.org/mariadb-team/mariadb-server ++Vcs-Git: https://salsa.debian.org/mariadb-team/mariadb-server.git + +Package: libmariadb-dev +Architecture: any +Section: libdevel +Depends: libmariadb3 (= ${binary:Version}), + libssl-dev, + zlib1g-dev, + ${misc:Depends}, + ${shlibs:Depends} - Conflicts: libmariadb-dev-compat (<< 3.0.0), - libmariadbclient-dev, - libmariadbclient16-dev - Provides: libmariadbclient-dev +Breaks: libmariadb-client-lgpl-dev, - libmysqlclient-dev (<< ${source:Version}), ++ libmariadb-dev-compat (<< ${source:Version}), ++ libmariadbclient-dev (<< 1:10.3), ++ libmysqlclient-dev, + libmysqld-dev (<< ${source:Version}) +Replaces: libmariadb-client-lgpl-dev, - libmariadb-dev-compat (<< 3.0.0), - libmariadbclient-dev, - libmysqlclient-dev (<< ${source:Version}), ++ libmariadb-dev-compat (<< ${source:Version}), ++ libmariadbclient-dev (<< 1:10.3), ++ libmysqlclient-dev, + libmysqld-dev (<< ${source:Version}) ++Conflicts: libmariadbclient16-dev, ++ libmysqlclient-dev +Description: MariaDB database development files + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes development libraries and header files. To allow sources + expecting the MariaDB Connector/C to build. Sources that expect the MySQL + Client libraries should use files from the libmariadb-dev-compat package. + +Package: libmariadb-dev-compat +Architecture: any - Multi-Arch: same +Section: libdevel +Depends: libmariadb-dev (= ${binary:Version}), + ${misc:Depends} - Conflicts: libmariadb-client-lgpl-dev, - libmariadb-client-lgpl-dev-compat, - libmariadbclient-dev (<< ${source:Version}), ++Conflicts: libmariadb-client-lgpl-dev-compat, + libmariadbclient-dev-compat, - libmysqlclient-dev, - libmysqlclient10-dev, - libmysqlclient12-dev, - libmysqlclient14-dev, - libmysqlclient15-dev, - libmysqlclient16-dev ++ libmysqlclient-dev +Provides: libmariadb-client-lgpl-dev-compat, - libmariadbclient-dev-compat, - libmysqlclient-dev - Breaks: libmariadb-dev (<< ${source:Version}) - Replaces: libmariadb-client-lgpl-dev, - libmariadb-client-lgpl-dev-compat, - libmariadb-dev (<< ${source:Version}), - libmariadbclient-dev (<< ${source:Version}), ++ libmariadbclient-dev-compat ++Breaks: libmariadb-client-lgpl-dev-compat, ++ libmariadbclient-dev (<< 1:10.3), ++ libmariadbclient-dev-compat, ++ libmysqlclient-dev ++Replaces: libmariadb-client-lgpl-dev-compat, ++ libmariadbclient-dev (<< 1:10.3), + libmariadbclient-dev-compat, + libmysqlclient-dev +Description: MariaDB Connector/C, compatibility symlinks + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes compatibility symlinks to allow sources expecting the + MySQL client libraries to be built against MariaDB Connector/C. + +Package: libmariadb3 +Architecture: any +Multi-Arch: same +Section: libs +Depends: mariadb-common, + ${misc:Depends}, + ${shlibs:Depends} - Conflicts: libmariadbclient18 (<< 10.2.0), - mariadb-galera-server-10.0, ++Conflicts: mariadb-galera-server-10.0, + mariadb-galera-server-5.5, + mariadb-server-10.0, + mariadb-server-5.1, + mariadb-server-5.2, + mariadb-server-5.3, + mariadb-server-5.5 - Breaks: libmariadbclient18 (<< ${source:Version}) - Replaces: libmariadbclient18 (<< ${source:Version}) ++Breaks: libmariadbclient18 ++Replaces: libmariadbclient18 +Description: MariaDB database client library + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the client library. + - Package: libmariadb3-compat - Architecture: any - Section: libs - Depends: libmariadb3, - mariadb-common, - ${misc:Depends} - Breaks: libmysqlclient19, - libmysqlclient20, - libmysqlclient21 - Replaces: libmysqlclient19, - libmysqlclient20, - libmysqlclient21 - Provides: libmysqlclient19, - libmysqlclient20, - libmysqlclient21 - Description: MariaDB database client library MySQL compat package - MariaDB is a fast, stable and true multi-user, multi-threaded SQL database - server. SQL (Structured Query Language) is the most popular database query - language in the world. The main goals of MariaDB are speed, robustness and - ease of use. - . - This package includes the client runtime libraries that simulate and replace - the equivalents found in MySQL 5.6, 5.7 and 8.0 (mysqlclient19, 20 and 21). - - Package: libmariadbclient18 - Section: libs - Architecture: any - Depends: libmariadb3 (= ${binary:Version}), - ${misc:Depends} - Replaces: libmariadbclient18 - Provides: libmariadbclient18 - Description: Virtual package to satisfy external libmariadbclient18 depends - MariaDB is a fast, stable and true multi-user, multi-threaded SQL database - server. SQL (Structured Query Language) is the most popular database query - language in the world. The main goals of MariaDB are speed, robustness and - ease of use. - . - This package provides compatibility symlinks for binaries that expect to find - libmariadbclient.so.18 will automatically use libmariadb.so.3 instead. - - Package: libmysqlclient18 - Section: libs - Architecture: any - Depends: libmariadb3 (= ${binary:Version}), - ${misc:Depends} - Replaces: libmysqlclient18 - Provides: libmysqlclient18 - Description: Virtual package to satisfy external libmysqlclient18 depends - MariaDB is a fast, stable and true multi-user, multi-threaded SQL database - server. SQL (Structured Query Language) is the most popular database query - language in the world. The main goals of MariaDB are speed, robustness and - ease of use. - . - This package provides compatibility symlinks for binaries that expect to find - libmysqlclient.so.18 will automatically use libmariadb.so.3 instead. - +Package: libmariadbd19 +Architecture: any +Section: libs +Depends: ${misc:Depends}, + ${shlibs:Depends} - Breaks: libmariadbd-dev (<< ${source:Version}) - Replaces: libmariadbd-dev (<< ${source:Version}) +Multi-Arch: same +Description: MariaDB embedded database, shared library + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes a shared library for embedded MariaDB applications. + +Package: libmariadbd-dev +Architecture: any +Section: libdevel +Provides: libmysqld-dev +Pre-Depends: ${misc:Pre-Depends} +Depends: libmariadb-dev (= ${binary:Version}), + libmariadbd19 (= ${binary:Version}), - ${misc:Depends} - Breaks: libmariadb-dev (<< ${source:Version}), - libmariadbclient-dev (<< ${source:Version}), ++ ${misc:Depends}, ++ ${shlibs:Depends} ++Breaks: libmariadb-dev (<< 1:10.4), + libmysqld-dev - Replaces: libmariadb-dev (<< ${source:Version}), - libmariadbclient-dev (<< ${source:Version}), ++Replaces: libmariadb-dev (<< 1:10.4), + libmysqld-dev +Description: MariaDB embedded database, development files + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the embedded server library development and header files. + - Package: mysql-common - Architecture: all - Depends: ${misc:Depends} - Description: MariaDB database common files (e.g. /etc/mysql/my.cnf) - MariaDB is a fast, stable and true multi-user, multi-threaded SQL database - server. SQL (Structured Query Language) is the most popular database query - language in the world. The main goals of MariaDB are speed, robustness and - ease of use. - . - This package includes files needed by all versions of the client library - (e.g. /etc/mysql/my.cnf). - +Package: mariadb-common +Architecture: all +Depends: mysql-common (>= 5.6.25), + ${misc:Depends} +Multi-Arch: foreign +Description: MariaDB common configuration files + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes configuration files common to all MariaDB programs. + +Package: mariadb-client-core +Architecture: any +Depends: libmariadb3 (>= 10.5.4), + mariadb-common (>= ${source:Version}), + ${misc:Depends}, + ${shlibs:Depends} - Conflicts: mariadb-client-10.0, - mariadb-client-10.1, - mariadb-client-10.2, - mariadb-client-10.3, - mariadb-client-10.4, - mariadb-client-10.5, - mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, - mariadb-client-5.1, - mariadb-client-5.2, - mariadb-client-5.3, - mariadb-client-5.5, - mariadb-client-core-10.0, - mariadb-client-core-10.1, - mariadb-client-core-10.2, - mariadb-client-core-10.3, - mariadb-client-core-10.4, - mariadb-client-core-10.5, - mariadb-client-core-10.6, - mariadb-client-core-10.7, - mariadb-client-core-10.8, - mariadb-client-core-5.1, - mariadb-client-core-5.2, - mariadb-client-core-5.3, - mariadb-client-core-5.5, - mysql-client (<< 5.0.51), - mysql-client-5.0, - mysql-client-5.1, - mysql-client-5.5, - mysql-client-core-5.1, - mysql-client-core-5.5, - mysql-client-core-5.6, - mysql-client-core-5.7, - mysql-client-core-8.0, ++Conflicts: mysql-client-5.5, ++ mysql-client-5.6, ++ mysql-client-5.7, ++ mysql-client-8.0, + virtual-mysql-client-core - Breaks: mariadb-client (<< ${source:Version}), ++Breaks: mariadb-client-10.0, ++ mariadb-client-core-10.0, ++ mariadb-client-core-10.1, ++ mariadb-client-core-10.2, ++ mariadb-client-core-10.3, ++ mariadb-client-core-10.4, ++ mariadb-client-core-10.5, ++ mariadb-client-core-10.6, ++ mariadb-client-core-5.5, + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-core (<< ${source:Version}), - mariadb-server-core-10.0, - mariadb-server-core-10.1, - mariadb-server-core-10.2, + mariadb-server-core-10.3, + mariadb-server-core-10.4, + mariadb-server-core-10.5, + mariadb-server-core-10.6, - mariadb-server-core-10.7, - mariadb-server-core-10.8, ++ mysql-client-core-5.5, ++ mysql-client-core-5.6, ++ mysql-client-core-5.7, ++ mysql-client-core-8.0, + mysql-cluster-community-client-plugins, + mysql-server-core-5.5, + mysql-server-core-5.6, + mysql-server-core-5.7, + mysql-server-core-8.0, + percona-server-server-5.6, + percona-server-server-5.7, + percona-server-server-8.0, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7, + percona-xtradb-cluster-server-8.0 - Replaces: mariadb-client (<< ${source:Version}), - mariadb-client-10.0, - mariadb-client-10.1, - mariadb-client-10.2, - mariadb-client-10.3, - mariadb-client-10.4, - mariadb-client-10.5, - mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, - mariadb-client-5.1, - mariadb-client-5.2, - mariadb-client-5.3, - mariadb-client-5.5, ++Replaces: mariadb-client-10.0, + mariadb-client-core-10.0, + mariadb-client-core-10.1, + mariadb-client-core-10.2, + mariadb-client-core-10.3, + mariadb-client-core-10.4, + mariadb-client-core-10.5, + mariadb-client-core-10.6, - mariadb-client-core-10.7, - mariadb-client-core-10.8, - mariadb-client-core-5.1, - mariadb-client-core-5.2, - mariadb-client-core-5.3, + mariadb-client-core-5.5, + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-core (<< ${source:Version}), - mariadb-server-core-10.0, - mariadb-server-core-10.1, - mariadb-server-core-10.2, + mariadb-server-core-10.3, + mariadb-server-core-10.4, + mariadb-server-core-10.5, + mariadb-server-core-10.6, - mariadb-server-core-10.7, - mariadb-server-core-10.8, - mysql-client (<< 5.0.51), - mysql-client-5.0, - mysql-client-5.1, - mysql-client-5.5, - mysql-client-core-5.1, + mysql-client-core-5.5, + mysql-client-core-5.6, + mysql-client-core-5.7, + mysql-client-core-8.0, + mysql-cluster-community-client-plugins, + mysql-server-core-5.5, + mysql-server-core-5.6, + mysql-server-core-5.7, + mysql-server-core-8.0, + percona-server-server-5.6, + percona-server-server-5.7, + percona-server-server-8.0, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7, + percona-xtradb-cluster-server-8.0, + virtual-mysql-client-core - Provides: default-mysql-client-core, - virtual-mysql-client-core ++Provides: virtual-mysql-client-core +Description: MariaDB database core client binaries + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the core client files, as used by Akonadi. + +Package: mariadb-client +Architecture: any +Depends: debianutils (>=1.6), + libconfig-inifiles-perl, + mariadb-client-core (>= ${source:Version}), - mariadb-common, + ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends} - Conflicts: mariadb-client-10.0, - mariadb-client-10.1, - mariadb-client-10.2, - mariadb-client-10.3, - mariadb-client-10.4, - mariadb-client-10.5, - mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, - mariadb-client-5.1, - mariadb-client-5.2, - mariadb-client-5.3, - mariadb-client-5.5, - mysql-client (<< 5.0.51), - mysql-client-5.0, - mysql-client-5.1, - mysql-client-5.5, - mysql-client-5.6, - mysql-client-5.7, - mysql-client-8.0, - mysql-client-core-5.0, - mysql-client-core-5.1, - mysql-client-core-5.5, ++Conflicts: mysql-client-core-5.5, + mysql-client-core-5.6, + mysql-client-core-5.7, + mysql-client-core-8.0, + mytop, + virtual-mysql-client - Breaks: mariadb-client-core (<< ${source:Version}), ++Breaks: mariadb-client-10.0, ++ mariadb-client-10.1, ++ mariadb-client-10.2, ++ mariadb-client-10.3, ++ mariadb-client-10.4, ++ mariadb-client-10.5, ++ mariadb-client-10.6, ++ mariadb-client-5.5, ++ mariadb-client-core (<< ${source:Version}), + mariadb-client-core-10.0, + mariadb-client-core-10.1, + mariadb-client-core-10.2, + mariadb-client-core-10.3, + mariadb-client-core-10.4, + mariadb-client-core-10.5, + mariadb-client-core-10.6, - mariadb-client-core-10.7, - mariadb-client-core-10.8, + mariadb-server (<< ${source:Version}), + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-10.2, + mariadb-server-10.3, + mariadb-server-10.4, + mariadb-server-10.5, + mariadb-server-10.6, - mariadb-server-10.7, - mariadb-server-10.8, - mariadb-server-core (<< ${source:Version}), - mariadb-server-core-10.0, - mariadb-server-core-10.1, - mariadb-server-core-10.2, - mariadb-server-core-10.3, - mariadb-server-core-10.4, - mariadb-server-core-10.5, - mariadb-server-core-10.6, - mariadb-server-core-10.7, - mariadb-server-core-10.8, ++ mysql-client-5.5, ++ mysql-client-5.6, ++ mysql-client-5.7, ++ mysql-client-8.0, + mysql-server-5.5, - mysql-server-5.6, + mysql-server-5.7, - mysql-server-8.0, - mysql-server-core-5.5, - mysql-server-core-5.6, - mysql-server-core-5.7, + mysql-server-core-8.0, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7 +Replaces: mariadb-client-10.0, + mariadb-client-10.1, + mariadb-client-10.2, + mariadb-client-10.3, + mariadb-client-10.4, + mariadb-client-10.5, + mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, - mariadb-client-5.1, - mariadb-client-5.2, - mariadb-client-5.3, + mariadb-client-5.5, + mariadb-client-core (<< ${source:Version}), + mariadb-client-core-10.0, + mariadb-client-core-10.1, + mariadb-client-core-10.2, + mariadb-client-core-10.3, + mariadb-client-core-10.4, + mariadb-client-core-10.5, + mariadb-client-core-10.6, - mariadb-client-core-10.7, - mariadb-client-core-10.8, + mariadb-server (<< ${source:Version}), + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-10.2, + mariadb-server-10.3, + mariadb-server-10.4, + mariadb-server-10.5, + mariadb-server-10.6, - mariadb-server-10.7, - mariadb-server-10.8, - mariadb-server-core (<< ${source:Version}), - mariadb-server-core-10.0, - mariadb-server-core-10.1, - mariadb-server-core-10.2, - mariadb-server-core-10.3, - mariadb-server-core-10.4, - mariadb-server-core-10.5, - mariadb-server-core-10.6, - mariadb-server-core-10.7, - mariadb-server-core-10.8, - mysql-client (<< 5.0.51), - mysql-client-5.0, - mysql-client-5.1, + mysql-client-5.5, + mysql-client-5.6, + mysql-client-5.7, + mysql-client-8.0, - mysql-client-core-5.0, - mysql-client-core-5.1, - mysql-client-core-5.5, - mysql-client-core-5.6, - mysql-client-core-5.7, - mysql-client-core-8.0, + mysql-server-5.5, - mysql-server-5.6, + mysql-server-5.7, - mysql-server-8.0, - mysql-server-core-5.5, - mysql-server-core-5.6, - mysql-server-core-5.7, + mysql-server-core-8.0, + mytop, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7, + virtual-mysql-client - Provides: default-mysql-client, - virtual-mysql-client ++Provides: virtual-mysql-client +Recommends: libdbd-mariadb-perl | libdbd-mysql-perl, + libdbi-perl, + libterm-readkey-perl +Description: MariaDB database client binaries + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the client binaries and the additional tools + innotop and mariadb-report (mysqlreport). + +Package: mariadb-server-core +Architecture: any +Depends: mariadb-common (>= ${source:Version}), + ${misc:Depends}, + ${shlibs:Depends} - Conflicts: mariadb-server-core-10.0, - mariadb-server-core-10.1, - mariadb-server-core-10.2, - mariadb-server-core-10.3, - mariadb-server-core-10.4, - mariadb-server-core-10.5, - mariadb-server-core-10.6, - mariadb-server-core-10.7, - mariadb-server-core-10.8, - mariadb-server-core-5.1, - mariadb-server-core-5.2, - mariadb-server-core-5.3, - mariadb-server-core-5.5, - mysql-server-5.0, - mysql-server-core-5.0, - mysql-server-core-5.1, - mysql-server-core-5.5, - mysql-server-core-5.6, - mysql-server-core-5.7, - mysql-server-core-8.0, ++Conflicts: mariadb-galera-server-5.5, ++ mysql-server-5.5, ++ mysql-server-5.6, ++ mysql-server-5.7, ++ mysql-server-8.0, + virtual-mysql-server-core - Breaks: mariadb-client (<< ${source:Version}), - mariadb-client-10.0, - mariadb-client-10.1, - mariadb-client-10.2, - mariadb-client-10.3, - mariadb-client-10.4, - mariadb-client-10.5, - mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, - mariadb-server (<< ${source:Version}), ++Breaks: mariadb-client-10.1, + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-10.2, + mariadb-server-10.3, + mariadb-server-10.4, - mariadb-server-10.5, - mariadb-server-10.6, - mariadb-server-10.7, - mariadb-server-10.8, ++ mariadb-server-core-10.0, ++ mariadb-server-core-10.1, ++ mariadb-server-core-10.2, ++ mariadb-server-core-10.3, ++ mariadb-server-core-10.4, ++ mariadb-server-core-10.5, ++ mariadb-server-core-10.6, ++ mariadb-server-core-5.5, + mysql-client-5.5, - mysql-server-5.5, - mysql-server-5.6, - mysql-server-5.7, - mysql-server-8.0, ++ mysql-client-5.6, ++ mysql-server-core-5.5, ++ mysql-server-core-5.6, ++ mysql-server-core-5.7, ++ mysql-server-core-8.0, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7 - Replaces: mariadb-client (<< ${source:Version}), - mariadb-client-10.0, - mariadb-client-10.1, - mariadb-client-10.2, - mariadb-client-10.3, - mariadb-client-10.4, - mariadb-client-10.5, - mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, ++Replaces: mariadb-client-10.1, + mariadb-server (<< ${source:Version}), + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-10.2, + mariadb-server-10.3, + mariadb-server-10.4, + mariadb-server-10.5, + mariadb-server-10.6, - mariadb-server-10.7, - mariadb-server-10.8, + mariadb-server-core-10.0, + mariadb-server-core-10.1, + mariadb-server-core-10.2, + mariadb-server-core-10.3, + mariadb-server-core-10.4, + mariadb-server-core-10.5, - mariadb-server-core-5.1, - mariadb-server-core-5.2, - mariadb-server-core-5.3, ++ mariadb-server-core-10.6, + mariadb-server-core-5.5, + mysql-client-5.5, - mysql-server-5.0, - mysql-server-5.5, - mysql-server-5.6, - mysql-server-5.7, - mysql-server-8.0, - mysql-server-core-5.0, - mysql-server-core-5.1, ++ mysql-client-5.6, ++ mysql-client-5.7, ++ mysql-client-8.0, + mysql-server-core-5.5, + mysql-server-core-5.6, + mysql-server-core-5.7, + mysql-server-core-8.0, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7, + virtual-mysql-server-core - Provides: default-mysql-server-core, - virtual-mysql-server-core ++Provides: virtual-mysql-server-core +Description: MariaDB database core server files + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the core server files, as used by Akonadi. + +Package: mariadb-server +Architecture: any +Suggests: mailx, + mariadb-test, + netcat-openbsd +Recommends: libhtml-template-perl, ++ mariadb-plugin-provider-bzip2, ++ mariadb-plugin-provider-lz4, ++ mariadb-plugin-provider-lzma, ++ mariadb-plugin-provider-lzo, ++ mariadb-plugin-provider-snappy, + pv +Pre-Depends: adduser (>= 3.40), + debconf, + mariadb-common (>= ${source:Version}) +Depends: galera-4 (>= 26.4), + gawk, + iproute2 [linux-any], + libdbi-perl, + lsof [linux-any], + mariadb-client (>= ${source:Version}), - mariadb-server-core (>= ${source:Version}), ++ mariadb-server-core (>= ${server:Version}), + passwd, + perl (>= 5.6), + procps, + psmisc, + rsync, + socat, + ${misc:Depends}, - ${perl:Depends}, + ${shlibs:Depends} - Conflicts: mariadb-server-10.0, - mariadb-server-10.1, - mariadb-server-10.2, - mariadb-server-10.3, - mariadb-server-10.4, - mariadb-server-10.5, - mariadb-server-10.6, - mariadb-server-10.7, - mariadb-server-10.8, - mariadb-server-5.1, - mariadb-server-5.2, - mariadb-server-5.3, - mariadb-server-5.5, - mysql-client-5.5, - mysql-client-5.6, - mysql-client-5.7, - mysql-client-8.0, - mysql-client-core-8.0, - mysql-server, - mysql-server-4.1, - mysql-server-5.0, - mysql-server-5.1, - mysql-server-5.5, - mysql-server-5.6, - mysql-server-5.7, - mysql-server-8.0, ++Conflicts: handlersocket-mysql-5.5, ++ mariadb-tokudb-engine-10.0, ++ mariadb-tokudb-engine-10.1, ++ mariadb-tokudb-engine-5.5, + mysql-server-core-5.5, + mysql-server-core-5.6, + mysql-server-core-5.7, + mysql-server-core-8.0, ++ percona-server-server-5.6, ++ percona-xtradb-cluster-server-5.6, ++ percona-xtradb-cluster-server-5.7, + virtual-mysql-server - Breaks: handlersocket-mysql-5.5, - percona-server-server-5.6, - percona-xtradb-cluster-server-5.6, - percona-xtradb-cluster-server-5.7 ++Breaks: cqrlog (<< 1.9.0-5~), ++ galera-3 (<< 26.4), ++ handlersocket-mysql-5.5, ++ mariadb-galera-server, ++ mariadb-galera-server-10.0, ++ mariadb-galera-server-5.5, ++ mariadb-server-10.0, ++ mariadb-server-10.1, ++ mariadb-server-10.2, ++ mariadb-server-10.3, ++ mariadb-server-10.4, ++ mariadb-server-10.5, ++ mariadb-server-10.6, ++ mariadb-server-5.5, ++ mariadb-tokudb-engine-10.0, ++ mariadb-tokudb-engine-10.1, ++ mariadb-tokudb-engine-5.5, ++ mysql-client-5.5, ++ mysql-client-5.7, ++ mysql-client-core-8.0, ++ mysql-server-5.5, ++ mysql-server-5.6, ++ mysql-server-5.7, ++ mysql-server-8.0 +Replaces: handlersocket-mysql-5.5, - libmariadbclient-dev (<< 5.5.0), - libmariadbclient16, - mariadb-client (<< ${source:Version}), - mariadb-client-10.5, - mariadb-client-10.6, - mariadb-client-10.7, - mariadb-client-10.8, ++ mariadb-galera-server, ++ mariadb-galera-server-10.0, ++ mariadb-galera-server-5.5, + mariadb-server-10.0, + mariadb-server-10.1, + mariadb-server-10.2, + mariadb-server-10.3, + mariadb-server-10.4, + mariadb-server-10.5, + mariadb-server-10.6, - mariadb-server-10.7, - mariadb-server-10.8, - mariadb-server-5.1, - mariadb-server-5.2, - mariadb-server-5.3, + mariadb-server-5.5, ++ mariadb-tokudb-engine-10.0, ++ mariadb-tokudb-engine-10.1, ++ mariadb-tokudb-engine-5.5, + mysql-client-5.5, - mysql-client-5.6, + mysql-client-5.7, - mysql-client-8.0, + mysql-client-core-8.0, - mysql-server, - mysql-server-4.1, - mysql-server-5.0, - mysql-server-5.1, + mysql-server-5.5, + mysql-server-5.6, + mysql-server-5.7, + mysql-server-8.0, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7, + virtual-mysql-server - Provides: default-mysql-server, - virtual-mysql-server ++Provides: virtual-mysql-server +Description: MariaDB database server binaries + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the server binaries. + +Package: mariadb-backup +Architecture: any +Breaks: mariadb-backup-10.1, + mariadb-backup-10.2, + mariadb-backup-10.3, + mariadb-client-10.1 +Replaces: mariadb-backup-10.1, + mariadb-backup-10.2, + mariadb-backup-10.3, + mariadb-client-10.1 +Depends: mariadb-client-core (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: Backup tool for MariaDB server + This backup tool is guaranteed to be compatible with MariaDB. + Based on Xtrabackup, but improved to work with MariaDB. + . + Please refer to the MariaDB Knowledge Base on more information on + how to use this tool. + +Package: mariadb-plugin-connect +Architecture: any +Depends: libxml2, + mariadb-server (= ${server:Version}), + unixodbc, + ${misc:Depends}, + ${shlibs:Depends} +Recommends: curl ++Conflicts: mariadb-connect-engine-10.0, ++ mariadb-connect-engine-10.1 +Breaks: mariadb-connect-engine-10.0, + mariadb-connect-engine-10.1, - mariadb-connect-engine-10.2, - mariadb-connect-engine-10.3, - mariadb-connect-engine-10.4, + mariadb-server-10.0, + mariadb-server-10.1 +Replaces: mariadb-connect-engine-10.0, + mariadb-connect-engine-10.1, - mariadb-connect-engine-10.2, - mariadb-connect-engine-10.3, - mariadb-connect-engine-10.4, + mariadb-server-10.0, + mariadb-server-10.1 +Description: Connect storage engine for MariaDB + Connect engine supports a number of file formats (dbf, xml, txt, bin, etc), + connections to ODBC tables and remote MySQL tables, as well as a number of + other interesting features. + This package contains the Connect plugin for MariaDB. + +Package: mariadb-plugin-s3 +Architecture: any +Depends: libcurl4, + mariadb-server (= ${server:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: Amazon S3 archival storage engine for MariaDB + The S3 storage engine allows one to archive MariaDB tables in Amazon S3 (or any + third-party public or private cloud that implements S3 API), but still have + them accessible in MariaDB in read-only mode. + +Package: mariadb-plugin-rocksdb - Architecture: amd64 arm64 mips64el ppc64el ++Architecture: amd64 arm64 mips64el ppc64el riscv64 +Depends: mariadb-server (= ${server:Version}), + python3:any, + rocksdb-tools, + ${misc:Depends}, + ${shlibs:Depends} +Breaks: mariadb-rocksdb-engine-10.2, - mariadb-rocksdb-engine-10.3, - mariadb-rocksdb-engine-10.4 ++ mariadb-rocksdb-engine-10.3 +Replaces: mariadb-rocksdb-engine-10.2, - mariadb-rocksdb-engine-10.3, - mariadb-rocksdb-engine-10.4 ++ mariadb-rocksdb-engine-10.3 +Recommends: python3-mysqldb +Description: RocksDB storage engine for MariaDB + The RocksDB storage engine is a high performance storage engine, aimed - at maximising storage efficiency while maintaining InnoDB-like performance. ++ at maximizing storage efficiency while maintaining InnoDB-like performance. + This package contains the RocksDB plugin for MariaDB. + +Package: mariadb-plugin-oqgraph +Architecture: any +Depends: libjudydebian1, + mariadb-server (= ${server:Version}), + ${misc:Depends}, + ${shlibs:Depends} ++Conflicts: mariadb-oqgraph-engine-10.0, ++ mariadb-oqgraph-engine-10.1 +Breaks: mariadb-oqgraph-engine-10.0, + mariadb-oqgraph-engine-10.1, - mariadb-oqgraph-engine-10.2, - mariadb-oqgraph-engine-10.3, - mariadb-oqgraph-engine-10.4, + mariadb-server-10.0, + mariadb-server-10.1 +Replaces: mariadb-oqgraph-engine-10.0, + mariadb-oqgraph-engine-10.1, - mariadb-oqgraph-engine-10.2, - mariadb-oqgraph-engine-10.3, - mariadb-oqgraph-engine-10.4, + mariadb-server-10.0, + mariadb-server-10.1 +Description: OQGraph storage engine for MariaDB + The OQGraph engine is a computation engine plugin for handling hierarchies + (trees) and graphs (friend-of-a-friend, etc) cleanly through standard SQL. + This package contains the OQGraph plugin for MariaDB. + +Package: mariadb-plugin-mroonga +Architecture: any-alpha any-amd64 any-arm any-arm64 any-i386 any-ia64 any-mips64el any-mips64r6el any-mipsel any-mipsr6el any-nios2 any-powerpcel any-ppc64el any-sh3 any-sh4 any-tilegx +Depends: mariadb-server (= ${server:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Breaks: mariadb-server-10.0, - mariadb-server-10.1, - mariadb-server-10.2, - mariadb-server-10.3, - mariadb-server-10.4 ++ mariadb-server-10.1 +Replaces: mariadb-server-10.0, - mariadb-server-10.1, - mariadb-server-10.2, - mariadb-server-10.3, - mariadb-server-10.4 ++ mariadb-server-10.1 +Description: Mroonga storage engine for MariaDB + Mroonga (formerly named Groonga Storage Engine) is a storage engine that + provides fast CJK-ready full text searching using column store. + This package contains the Mroonga plugin for MariaDB. + +Package: mariadb-plugin-spider +Architecture: any +Depends: mariadb-server (= ${server:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Breaks: mariadb-server-10.0, - mariadb-server-10.1, - mariadb-server-10.2, - mariadb-server-10.3, - mariadb-server-10.4 ++ mariadb-server-10.1 +Replaces: mariadb-server-10.0, - mariadb-server-10.1, - mariadb-server-10.2, - mariadb-server-10.3, - mariadb-server-10.4 ++ mariadb-server-10.1 +Description: Spider storage engine for MariaDB + The Spider storage engine with built-in sharding features. It supports + partitioning and xa transactions, and allows tables of different MariaDB + instances to be handled as if they were on the same instance. It refers to one + possible implementation of ISO/IEC 9075-9:2008 SQL/MED. + +Package: mariadb-plugin-gssapi-server +Architecture: any +Depends: libgssapi-krb5-2, + mariadb-server, + ${misc:Depends}, + ${shlibs:Depends} +Breaks: mariadb-gssapi-server-10.1, - mariadb-gssapi-server-10.2, - mariadb-gssapi-server-10.3, - mariadb-gssapi-server-10.4, - mariadb-server-10.0, - mariadb-server-10.1 ++ mariadb-gssapi-server-10.2 +Replaces: mariadb-gssapi-server-10.1, - mariadb-gssapi-server-10.2, - mariadb-gssapi-server-10.3, - mariadb-gssapi-server-10.4, - mariadb-server-10.0, - mariadb-server-10.1 ++ mariadb-gssapi-server-10.2 +Description: GSSAPI authentication plugin for MariaDB server + This plugin includes support for Kerberos on Unix, but can also be used for + Windows authentication with or without domain environment. + . + This package contains the server parts. + +Package: mariadb-plugin-gssapi-client +Architecture: any - Multi-Arch: same +Depends: libgssapi-krb5-2, + mariadb-client (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Breaks: mariadb-gssapi-client-10.1, - mariadb-gssapi-client-10.2, - mariadb-gssapi-client-10.3, - mariadb-gssapi-client-10.4 ++ mariadb-gssapi-client-10.2 +Replaces: mariadb-gssapi-client-10.1, - mariadb-gssapi-client-10.2, - mariadb-gssapi-client-10.3, - mariadb-gssapi-client-10.4 ++ mariadb-gssapi-client-10.2 +Description: GSSAPI authentication plugin for MariaDB client + This plugin includes support for Kerberos on Unix, but can also be used for + Windows authentication with or without domain environment. + . + This package contains the client parts. + +Package: mariadb-plugin-cracklib-password-check +Architecture: any +Depends: libcrack2 (>= 2.9.0), - mariadb-server, ++ mariadb-server (= ${server:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: CrackLib Password Validation Plugin for MariaDB + This password validation plugin uses cracklib to allow only + sufficiently secure (as defined by cracklib) user passwords in MariaDB. + . + Install and configure this to enforce stronger passwords for MariaDB users. + +Package: mariadb-plugin-hashicorp-key-management +Architecture: any +Depends: libcurl4, + mariadb-server, + ${misc:Depends}, + ${shlibs:Depends} +Description: Hashicorp Key Management plugin for MariaDB + This encryption plugin uses Hashicorp Vault for storing encryption + keys for MariaDB Data-at-Rest encryption. + +Package: mariadb-plugin-provider-bzip2 +Architecture: any - Depends: mariadb-server, ++Depends: mariadb-server (>= 1:10.11.1-1), + ${misc:Depends}, + ${shlibs:Depends} +Description: BZip2 compression support in the server and storage engines + The various MariaDB storage engines, such as InnoDB, RocksDB, Mroonga, + can use different compression libraries. + . + Plugin provides BZip2 (https://sourceware.org/bzip2/) compression + . + Note that these affect InnoDB and Mroonga only; + RocksDB still uses the compression algorithms from its own library + +Package: mariadb-plugin-provider-lz4 +Architecture: any - Depends: mariadb-server, ++Depends: mariadb-server (>= 1:10.11.1-1), + ${misc:Depends}, + ${shlibs:Depends} +Description: LZ4 compression support in the server and storage engines + The various MariaDB storage engines, such as InnoDB, RocksDB, Mroonga, + can use different compression libraries. + . + Plugin provides LZ4 (http://lz4.github.io/lz4/) compression + . + Note that these affect InnoDB and Mroonga only; + RocksDB still uses the compression algorithms from its own library + +Package: mariadb-plugin-provider-lzma +Architecture: any - Depends: mariadb-server, ++Depends: mariadb-server (>= 1:10.11.1-1), + ${misc:Depends}, + ${shlibs:Depends} +Description: LZMA compression support in the server and storage engines + The various MariaDB storage engines, such as InnoDB, RocksDB, Mroonga, + can use different compression libraries. + . + Plugin provides LZMA (https://tukaani.org/lzma/) compression + . + Note that these affect InnoDB and Mroonga only; + RocksDB still uses the compression algorithms from its own library + +Package: mariadb-plugin-provider-lzo +Architecture: any - Depends: mariadb-server, ++Depends: mariadb-server (>= 1:10.11.1-1), + ${misc:Depends}, + ${shlibs:Depends} +Description: LZO compression support in the server and storage engines + The various MariaDB storage engines, such as InnoDB, RocksDB, Mroonga, + can use different compression libraries. + . + Plugin provides LZO (http://www.oberhumer.com/opensource/lzo/) compression + . + Note that these affect InnoDB and Mroonga only; + RocksDB still uses the compression algorithms from its own library + +Package: mariadb-plugin-provider-snappy +Architecture: any - Depends: mariadb-server, ++Depends: mariadb-server (>= 1:10.11.1-1), + ${misc:Depends}, + ${shlibs:Depends} +Description: Snappy compression support in the server and storage engines + The various MariaDB storage engines, such as InnoDB, RocksDB, Mroonga, + can use different compression libraries. + . + Plugin provides Snappy (https://github.com/google/snappy) compression + . + Note that these affect InnoDB and Mroonga only; + RocksDB still uses the compression algorithms from its own library + +Package: mariadb-test +Architecture: any +Depends: mariadb-client (= ${binary:Version}), + mariadb-server (= ${server:Version}), + mariadb-test-data (= ${source:Version}), + virtual-mysql-testsuite, + ${misc:Depends}, - ${perl:Depends}, + ${shlibs:Depends} - Conflicts: mariadb-server-5.5, - mysql-server-5.7, - mysql-server-core-8.0 - Breaks: mariadb-server-5.5, - mariadb-test-10.0, ++Breaks: mariadb-test-10.0, + mariadb-test-10.1, - mariadb-test-10.2, - mariadb-test-10.3, - mariadb-test-10.4, + mariadb-test-5.5, + mysql-client-5.5, + mysql-server-5.5, + mysql-server-5.7, + mysql-server-core-8.0, + mysql-testsuite, + mysql-testsuite-5.5, + mysql-testsuite-5.6, + mysql-testsuite-5.7, + mysql-testsuite-8.0, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7 +Replaces: mariadb-test-10.0, + mariadb-test-10.1, - mariadb-test-10.2, - mariadb-test-10.3, - mariadb-test-10.4, + mariadb-test-5.5, + mysql-client-5.5, + mysql-server-5.5, + mysql-server-5.7, + mysql-server-core-8.0, + mysql-testsuite, + mysql-testsuite-5.5, + mysql-testsuite-5.6, + mysql-testsuite-5.7, + mysql-testsuite-8.0, + percona-server-server-5.6, + percona-xtradb-cluster-server-5.6, + percona-xtradb-cluster-server-5.7, + virtual-mysql-testsuite +Provides: virtual-mysql-testsuite +Suggests: patch +Description: MariaDB database regression test suite + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package includes the regression test suite. + +Package: mariadb-test-data +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends} +Breaks: mariadb-test-10.0, + mariadb-test-10.1, - mariadb-test-10.2, + mariadb-test-5.5, + mariadb-test-data-10.0, + mysql-testsuite, + mysql-testsuite-5.5, + mysql-testsuite-5.6, + mysql-testsuite-5.7, + mysql-testsuite-8.0 +Replaces: mariadb-test-10.0, + mariadb-test-10.1, - mariadb-test-10.2, + mariadb-test-5.5, + mariadb-test-data-10.0, + mysql-testsuite, + mysql-testsuite-5.5, + mysql-testsuite-5.6, + mysql-testsuite-5.7, + mysql-testsuite-8.0 +Description: MariaDB database regression test suite - data files + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MariaDB are speed, robustness and + ease of use. + . + This package has the architecture independent data files for the test suite. diff --cc debian/copyright index 836fe89f4,000000000..0615fdf13 mode 100644,000000..100644 --- a/debian/copyright +++ b/debian/copyright @@@ -1,61 -1,0 +1,1040 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: MariaDB Server ++Upstream-Contact: https://jira.mariadb.org ++Source: https://github.com/MariaDB/server ++Comment: ++ Originally produced by a modified version of licensecheck2dep5 ++ from CDBS by Clint Byrum . Hand modified to reduce ++ redundancy in the output and add appropriate license text. The file ++ has been rechecked against the source using the development version ++ of license-reconcile, see #686485. ++ . ++ Also, MySQL carries the "FOSS License Exception" specified in README ++ . ++ Quoting from README: ++ . ++ MySQL FOSS License Exception We want free and open source ++ software applications under certain licenses to be able to use ++ specified GPL-licensed MySQL client libraries despite the fact ++ that not all such FOSS licenses are compatible with version ++ 2 of the GNU General Public License. Therefore there are ++ special exceptions to the terms and conditions of the GPLv2 ++ as applied to these client libraries, which are identified ++ and described in more detail in the FOSS License Exception at ++ . ++ . ++ The text of the Above URL is quoted below, as of Aug 17, 2011. ++ . ++ > FOSS License Exception ++ > . ++ > Updated July 1, 2010 ++ > . ++ > What is the FOSS License Exception? Oracle's Free and Open Source ++ > Software ("FOSS") License Exception (formerly known as the FLOSS ++ > License Exception) allows developers of FOSS applications to include ++ > Oracle's MySQL Client Libraries (also referred to as "MySQL Drivers" ++ > or "MySQL Connectors") with their FOSS applications. MySQL Client ++ > Libraries are typically licensed pursuant to version 2 of the General ++ > Public License ("GPL"), but this exception permits distribution of ++ > certain MySQL Client Libraries with a developer's FOSS applications ++ > licensed under the terms of another FOSS license listed below, ++ > even though such other FOSS license may be incompatible with the GPL. ++ > . ++ > The following terms and conditions describe the circumstances under ++ > which Oracle's FOSS License Exception applies. ++ > . ++ > Oracle's FOSS License Exception Terms and Conditions Definitions. ++ > "Derivative Work" means a derivative work, as defined under applicable ++ > copyright law, formed entirely from the Program and one or more ++ > FOSS Applications. ++ > . ++ > "FOSS Application" means a free and open source software application ++ > distributed subject to a license listed in the section below titled ++ > "FOSS License List." ++ > . ++ > "FOSS Notice" means a notice placed by Oracle or MySQL in a copy ++ > of the MySQL Client Libraries stating that such copy of the MySQL ++ > Client Libraries may be distributed under Oracle's or MySQL's FOSS ++ > (or FLOSS) License Exception. ++ > . ++ > "Independent Work" means portions of the Derivative Work that are not ++ > derived from the Program and can reasonably be considered independent ++ > and separate works. ++ > . ++ > "Program" means a copy of Oracle's MySQL Client Libraries that ++ > contains a FOSS Notice. ++ > . ++ > A FOSS application developer ("you" or "your") may distribute a ++ > Derivative Work provided that you and the Derivative Work meet all ++ > of the following conditions: You obey the GPL in all respects for ++ > the Program and all portions (including modifications) of the Program ++ > included in the Derivative Work (provided that this condition does not ++ > apply to Independent Works); The Derivative Work does not include any ++ > work licensed under the GPL other than the Program; You distribute ++ > Independent Works subject to a license listed in the section below ++ > titled "FOSS License List"; You distribute Independent Works in ++ > object code or executable form with the complete corresponding ++ > machine-readable source code on the same medium and under the same ++ > FOSS license applying to the object code or executable forms; All ++ > works that are aggregated with the Program or the Derivative Work ++ > on a medium or volume of storage are not derivative works of the ++ > Program, Derivative Work or FOSS Application, and must reasonably ++ > be considered independent and separate works. Oracle reserves all ++ > rights not expressly granted in these terms and conditions. If all ++ > of the above conditions are not met, then this FOSS License Exception ++ > does not apply to you or your Derivative Work. ++ > . ++ > FOSS License List ++ > . ++ > License Name Version(s)/Copyright Date ++ > Release Early Certified Software ++ > Academic Free License 2.0 ++ > Apache Software License 1.0/1.1/2.0 ++ > Apple Public Source License 2.0 ++ > Artistic license From Perl 5.8.0 ++ > BSD license "July 22 1999" ++ > Common Development and Distribution License (CDDL) 1.0 ++ > Common Public License 1.0 ++ > Eclipse Public License 1.0 ++ > European Union Public License (EUPL)[1] 1.1 ++ > GNU Library or "Lesser" General Public License (LGPL) 2.0/2.1/3.0 ++ > GNU General Public License (GPL) 3.0 ++ > IBM Public License 1.0 ++ > Jabber Open Source License 1.0 ++ > MIT License (As listed in file MIT-License.txt) - ++ > Mozilla Public License (MPL) 1.0/1.1 ++ > Open Software License 2.0 ++ > OpenSSL license (with original SSLeay license) "2003" ("1998") ++ > PHP License 3.0/3.01 ++ > Python license (CNRI Python License) - ++ > Python Software Foundation License 2.1.1 ++ > Sleepycat License "1999" ++ > University of Illinois/NCSA Open Source License - ++ > W3C License "2001" ++ > X11 License "2001" ++ > Zlib/libpng License - ++ > Zope Public License 2.0 ++ > [1] When an Independent Work is licensed under a "Compatible License" ++ > pursuant to the EUPL, the Compatible License rather than the EUPL is ++ > the applicable license for purposes of these FOSS License Exception ++ > Terms and Conditions. ++ . ++ The above text is subject to this copyright notice: ++ © 2010, Oracle and/or its affiliates. + - == MariaDB == ++Files: * ++Copyright: ++ 2000-2016, Oracle and/or its affiliates. All rights reserved. ++ 2008-2013 Monty Program AB ++ 2008-2014 SkySQL Ab ++ 2013-2016 MariaDB Corporation ++ 2012-2016 MariaDB Foundation ++License: GPL-2 ++ ++Files: debian/* ++Copyright: ++ 1997-1998, Scott Hanson ++ 1997 Christian Schwarz ++ 1999-2007, 2009, Christian Hammers ++ 2000-2001, Christopher C. Chimelis ++ 2001 Matthew Wilcox ++ 2005-2007, Sean Finney ++ 2006 Adam Conrad ++ 2007-2011, Norbert Tretkowski ++ 2007-2008, Monty Taylor ++ 2008 Devin Carraway ++ 2008 Steffen Joeris ++ 2009 Canonical Ltd ++ 2010 Xavier Oswald ++ 2011 Clint Byrum ++ 2011 Ondřej Surý ++ 2012 Nicholas Bamber ++ 2013,2016 Kristian Nielsen ++ 2013-2020 Otto Kekäläinen ++ 2014 Daniel Schepler ++ 2014 Julien Muchembled ++ 2014 Tobias Frost ++ 2015 Andreas Beckmann ++ 2015-2016 Arnaud Fontaine ++ 2015-2016 Daniel Black ++ 2015 Israel Tsadok ++ 2015 Jan Wagner ++ 2015 Jean Weisbuch ++ 2015 Olaf van der Spek ++ 2015-2106 Robie Basak ++ 2016 Axel Beckert ++ 2016 Dieter Adriaenssens ++ 2016 Ian Gilfillan ++ 2016 James Cowgill ++ 2016 Paul Gevers ++ 2016 Samuel Thibault ++ 2016 Vicențiu Ciorbaru ++License: GPL-2+ ++ ++Files: plugin/feedback/* ++Copyright: 2010 Sergei Golubchik and Monty Program Ab ++License: GPL-2 ++ ++Files: debian/additions/mariadb-report* ++Copyright: 2006-2008 Daniel Nichter ++ 2012-2015 Jean Weisbuch ++License: GPL-2+ ++ ++Files: ++ dbug/example1.c ++ dbug/example2.c ++ dbug/example3.c ++ dbug/factorial.c ++ dbug/main.c ++ dbug/my_main.c ++ dbug/remove_function_from_trace.pl ++ dbug/tests.c ++ dbug/tests-t.pl ++ mysql-test/* ++ support-files/binary-configure.sh ++ support-files/mysqld_multi.server.sh ++ Docs/* ++Copyright: UNKNOWN ++Comment: These files fall under the blanket license specified in the file ++ COPYING and README ++ GPLv2 Disclaimer: ++ For the avoidance of doubt, except that if any license choice ++ other than GPL or LGPL is available it will apply instead, ++ Oracle elects to use only the General Public License version 2 ++ (GPLv2) at this time for any software where a choice of GPL ++ license versions is made available with the language indicating ++ that GPLv2 or any later version may be used, or where a choice ++ of which version of the GPL is applied is otherwise unspecified. ++License: GPL-2 ++ ++Files: BUILD/* ++ client/* ++ cmake/* ++ dbug/dbug_add_tags.pl ++ extra/* ++ include/* ++ libmysqld/* ++ libservices/* ++ mysql-test/include/have_perfschema.inc ++ mysql-test/lib/mtr_cases.pm ++ mysql-test/lib/mtr_gprof.pl ++ mysql-test/lib/mtr_io.pl ++ mysql-test/lib/mtr_match.pm ++ mysql-test/lib/mtr_process.pl ++ mysql-test/lib/mtr_report.pm ++ mysql-test/lib/mtr_results.pm ++ mysql-test/lib/mtr_stress.pl ++ mysql-test/lib/mtr_unique.pm ++ mysql-test/lib/My/Config.pm ++ mysql-test/lib/My/CoreDump.pm ++ mysql-test/lib/My/File/* ++ mysql-test/lib/My/Find.pm ++ mysql-test/lib/My/Handles.pm ++ mysql-test/lib/My/Options.pm ++ mysql-test/lib/My/Platform.pm ++ mysql-test/lib/My/SafeProcess/Base.pm ++ mysql-test/lib/My/SafeProcess/safe_kill_win.cc ++ mysql-test/lib/My/SafeProcess/safe_process.cc ++ mysql-test/lib/My/SafeProcess/safe_process_win.cc ++ mysql-test/lib/My/SysInfo.pm ++ mysql-test/lib/My/Test.pm ++ mysql-test/lib/t/* ++ mysql-test/lib/v1/mtr_cases.pl ++ mysql-test/lib/v1/mtr_gcov.pl ++ mysql-test/lib/v1/mtr_gprof.pl ++ mysql-test/lib/v1/mtr_im.pl ++ mysql-test/lib/v1/mtr_io.pl ++ mysql-test/lib/v1/mtr_match.pl ++ mysql-test/lib/v1/mtr_process.pl ++ mysql-test/lib/v1/mtr_report.pl ++ mysql-test/lib/v1/mtr_stress.pl ++ mysql-test/lib/v1/mtr_timer.pl ++ mysql-test/lib/v1/mtr_unique.pl ++ mysql-test/lib/v1/My/* ++ mysql-test/lib/v1/mysql-test-run.pl ++ mysql-test/lib/v1/mtr_misc.pl ++ mysql-test/mariadb-stress-test.pl ++ mysql-test/mariadb-test-run.pl ++ mysql-test/std_data/* ++ mysql-test/suite/perfschema/include/* ++ mysql-test/suite/perfschema_stress/include/* ++ mysys/* ++ win/packaging/ca/* ++ plugin/audit_null/* ++ plugin/auth_* ++ plugin/daemon_example/* ++ plugin/fulltext/* ++ scripts/* ++ sql/* ++ sql-common/* ++ storage/* ++ strings/* ++ support-files/MacOSX/* ++ support-files/compiler_warnings.supp ++ support-files/mysql.* ++ support-files/dtrace/* ++ tests/* ++ unittest/* ++ vio/* ++Copyright: 1979-2009 MySQL AB ++ 1995-2010 Sun Microsystems Inc ++ 1994-1997,2000-2014 Oracle and/or its affiliates ++ 2010 Kristian Nielsen ++ 2012 MariaDB Services ++ 2013 MariaDB Foundation ++ 2010,2013 Sergei Golubchik ++ 1985,1995,2008-2011,2012-2014 Monty Program AB ++ 2008-2014 SykSQL Ab ++ 1993-2014 Olivier Bertrand ++ 2008-2014 Kentoku Shiba ++ 2013 Sergey Vojtovich and MariaDB Foundation ++ 2006 MySQL AB & MySQL Finland AB & TCX DataKonsult AB ++ 2012 Michael Widenius ++ 2010-2011 DeNA Co.,Ltd. ++ 2011 Kentoku SHIBA ++License: GPL-2 ++ ++Files: include/maria.h include/myisamchk.h ++Copyright: 2006-2008 MySQL AB ++ 2008-2009 Sun Microsystems, Inc ++ 2009, 2013, Monty Program Ab ++License: GPL-2+ ++ ++Files: plugin/auth_pam/testing/pam_mariadb_mtr.c ++Copyright: none ++License: public-domain ++ ++Files: plugin/locale_info/locale_info.cc ++Copyright: 2013, Spaempresarial - Brazil, Roberto Spadim ++License: BSD-3-clause ++ ++Files: plugin/qc_info/qc_info.cc ++Copyright: 2008, Roland Bouman ++License: BSD-3-clause ++ ++Files: tests/async_queries.c tests/nonblock-wrappers.h ++Copyright: 2011 Kristian Nielsen and Monty Program Ab ++License: LGPL-2.1+ ++ ++Files: include/ma_dyncol.h include/queues.h mysys/ma_dyncol.c mysys/queues.c ++ unittest/mysys/ma_dyncol-t.c ++Copyright: 2010,2011,2013 Monty Program Ab ++ 2011,2012 Oleksandr Byelkin ++License: BSD-2-clause ++ ++Files: mysys/my_port.c ++Copyright: 2002 MySQL AB ++License: LGPL-2 ++ ++Files: mysys/my_safehash.* ++Copyright: 2003-2007 MySQL AB ++License: GPL-2+ ++ ++Files: strings/bmove_upp.c strings/is_prefix.c strings/llstr.c ++ strings/longlong2str.c strings/strcont.c strings/strfill.c strings/strmov.c ++ strings/strnmov.c strings/bchange.c strings/int2str.c strings/my_strtoll10.c ++ strings/str2int.c strings/strappend.c strings/strcend.c ++Copyright: 2009-2013, Monty Program Ab ++ 2000,2003 TXT DataKonsult Ab & Monty Program Ab ++License: BSD-2-clause ++ ++Files: strings/strxmov.c ++ strings/strxnmov.c ++ strings/strnlen.c ++Copyright: 2009-2011, Monty Program Ab ++ 2000 TXT DataKonsult Ab & Monty Program Ab ++ Richard A. O'Keefe ++License: BSD-2-clause ++ ++Files: client/async_example.c ++Copyright: 2011 Kristian Nielsen and Monty Program Ab ++License: LGPL-2.1+ ++ ++Files: storage/oqgraph/* ++Copyright: ++ 2007-2013 Arjen G Lentz & Antony T Curtis for Open Query ++ 2000-2006 MySQL AB ++License: GPL-2+ ++ ++Files: storage/connect/connect.cc ++Copyright: 2004-2012 Olivier Bertrand ++License: GPL-2+ ++ ++Files: storage/oqgraph/ha_oqgraph.* ++ storage/oqgraph/oqgraph_probes.d ++Copyright: ++ 2007-2013 Arjen G Lentz & Antony T Curtis for Open Query ++ 2000-2006 MySQL AB ++License: GPL-2 ++ ++Files: extra/*/INSTALL ++Copyright: 1994-1996, 1999-2002, 2004-2006, Free Software Foundation, Inc. ++License: unlimited-free-doc ++ This file is free documentation; the Free Software Foundation gives ++ unlimited permission to copy, distribute and modify it. ++ ++Files: mysql-test/lib/mtr_misc.pl ++ mysql-test/lib/My/SafeProcess.pm ++Copyright: 2004, 2007, 2011, Oracle and/or its affiliates ++License: LGPL ++ ++Files: ++ storage/myisam/ft_update.c ++ storage/myisam/fulltext.h ++ storage/myisam/ft_boolean_search.c ++ storage/myisam/ft_stopwords.c ++ storage/myisam/ft_nlq_search.c ++ storage/myisam/ft_parser.c ++ storage/myisam/myisam_ftdump.c ++Copyright: ++ 2000, 2001, 2010, 2011, Oracle and/or its affiliates ++ Sergei A. Golubchik ++License: GPL-2 ++ ++Files: storage/myisam/ft_myisam.c ++Copyright: 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB ++License: GPL-2+ ++ ++Files: storage/innobase/* ++Copyright: ++ 1994-2011 Sergei A. Golubchik ++ 1996 Michael Widenius ++ 1994-2014 Oracle and/or its affiliates ++ 2008-2009 Google Inc ++ 2009 Sun Microsystems, Inc ++ 2009 Percona Inc ++ 2013, 2014 SkySQL Ab ++ 2012 Facebook Inc ++License: GPL-2 ++ ++Files: storage/maria/* ++Copyright: ++ 2008-2009 Sun Microsystems, Inc ++ 2008 Sun AB ++ 2006 MySQL Finland AB ++ 2006 TCX DataKonsult AB ++ 2003-2008 MySQL AB ++ 2007-2008 Michael Widenius ++ 2007 Guilhem Bichot ++ 2006 Sergei A. Golubchik ++ 2007 Sanja Belkin ++ 2006 Ramil Kalimullin ++ 2006 Alexey Botchkov ++ 2008-2011 Monty Program Ab ++ 2004-2008 MySQL AB & MySQL Finland AB & TCX DataKonsult AB ++License: GPL-2 ++ ++Files: storage/sphinx/* ++Copyright: 2001-2014 Andrew Aksyonoff ++ 2008-2014 Sphinx Technologies Inc ++License: GPL-2 ++ ++Files: extra/readline/* ++Copyright: 1987-2006 Free Software Foundation Inc ++License: GPL-2+ ++ ++Files: sql-bench/*.sh ++Copyright: 2009 Sun Microsystems, Inc ++ 2000-2007 MySQL AB ++License: LGPL ++ ++Files: client/completion_hash.h ++ scripts/mysqlaccess.sh ++ scripts/mysql_fix_extensions.sh ++ scripts/mysql_setpermission.sh ++ storage/myisam/ftbench/ft-test-run.sh ++ storage/myisam/mi_test_all.sh ++ strings/ctype-uca.c ++ strings/ctype-ucs2.c ++ strings/ctype-utf8.c ++ support-files/MacOSX/postflight.sh ++ support-files/MacOSX/preflight.sh ++ mysql-test/lib/My/ConfigFactory.pm ++ BUILD/*.sh ++ BUILD/compile-solaris-amd64 ++ BUILD/compile-amd64-valgrind-max ++ BUILD/compile-pentium64-max ++ BUILD/compile-pentium64 ++ scripts/mysqlhotcopy.sh ++ scripts/mysqld_multi.sh ++ mysql-test/std_data/checkDBI_DBD-MariaDB.pl ++Copyright: 2000-2013 Oracle and/or its affiliates ++ 2000-2007 MySQL AB ++ 2009 Sun Microsystems Inc ++License: LGPL ++ ++Files: BUILD/util.sh ++Copyright: 2010 Kristian Nielsen and Monty Program AB ++License: GPL-2 ++ ++Files: sql-bench/innotest1.sh ++ sql-bench/innotest1a.sh ++ sql-bench/innotest1b.sh ++ sql-bench/innotest2.sh ++ sql-bench/innotest2a.sh ++ sql-bench/innotest2b.sh ++Copyright: 2000-2002 Innobase Oy & MySQL AB ++Comment: These files fall under the blanket license specified in the file COPYING ++License: GPL-2 ++ ++Files: storage/myisam/rt_index.h ++ storage/myisam/rt_key.* ++ storage/myisam/rt_mbr.* ++ storage/myisam/sp_defs.h ++Copyright: ++ 2000,2002-2007 MySQL AB ++ Ramil Kalimullin ++License: GPL-2 ++ ++Files: strings/ctype-bin.c ++ strings/ctype-eucjpms.c ++ strings/ctype-ujis.c ++Copyright: ++ 2000,2002,2005-2011 Oracle and/or its affiliates ++ tommy@valley.ne.jp ++License: LGPL + - The Debian package of MySQL was first debianzed on 1997-04-12 by Christian - Schwarz and ist maintained since 1999-04-20 by - Christian Hammers . ++Files: scripts/mysqld_safe.sh ++ support-files/mysql-multi.server.sh ++ support-files/mysql.server.sh ++Copyright: 1996 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB ++License: public-domain + - The MariaDB packages were initially made by http://ourdelta.org/, and - are now managed by the MariaDB development team, - maria-developers@lists.launchpad.net ++Files: storage/innobase/include/pars0grm.h storage/innobase/pars/pars0grm.cc ++Copyright: 1995-2009 Innobase Oy. ++ 1984,1989-1990,2000-2004 Free Software Foundation Inc. ++License: GPL-2+-with-bison-exception ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ . ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ . ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 51 Franklin Street, Fifth Floor, ++ Boston, MA 02110-1301, USA. ++ . ++ As a special exception, you may create a larger work that contains ++ part or all of the Bison parser skeleton and distribute that work ++ under terms of your choice, so long as that work isn't itself a ++ parser generator using the skeleton or a modified version thereof ++ as a parser skeleton. Alternatively, if you modify or redistribute ++ the parser skeleton itself, you may (at your option) remove this ++ special exception, which will cause the skeleton and the resulting ++ Bison output files to be licensed under the GNU General Public ++ License without this special exception. ++ . ++ This special exception was added by the Free Software Foundation in ++ version 2.2 of Bison. + - MariaDB can be downloaded from https://downloads.mariadb.org/ ++Files: storage/innobase/fts/fts0pars.cc ++ storage/innobase/include/fts0pars.h ++Copyright: 1984, 1989-1990, 2000-2006 Free Software Foundation, Inc. ++License: GPL-3+-with-bison-exception + ++License: GPL-3+-with-bison-exception ++ This program is free software: you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation, either version 3 of the License, or ++ (at your option) any later version. ++ . ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ . ++ You should have received a copy of the GNU General Public License ++ along with this program. If not, see . ++ . ++ As a special exception, you may create a larger work that contains ++ part or all of the Bison parser skeleton and distribute that work ++ under terms of your choice, so long as that work isn't itself a ++ parser generator using the skeleton or a modified version thereof ++ as a parser skeleton. Alternatively, if you modify or redistribute ++ the parser skeleton itself, you may (at your option) remove this ++ special exception, which will cause the skeleton and the resulting ++ Bison output files to be licensed under the GNU General Public ++ License without this special exception. ++ . ++ This special exception was added by the Free Software Foundation in ++ version 2.2 of Bison. ++ ++ ++Files: include/t_ctype.h ++ strings/t_ctype.h ++Copyright: 2000 MySQL AB ++ 1998 Theppitak Karoonboonyanan ++ 1998-1999 Pruet Boonma ++License: GPL-2 ++ ++Files: strings/strend.c ++Copyright: Richard A. O'Keefe. ++ 2000 TXT DataKonsult Ab & Monty Program Ab ++ 2009-2011, Monty Program Ab ++License: BSD-2-clause ++ ++Files: dbug/dbug.c ++ dbug/dbug_long.h ++Copyright: 1987 Abandoned Fred Fish ++License: public-domain ++ ++Files: scripts/dheadgen.pl ++Copyright: 2008-2009 Sun Microsystems Inc ++License: BSD-3-clause ++ ++Files: plugin/handler_socket/* ++Copyright: ++ 2010 DeNA Co.,Ltd. ++License: BSD-3-clause ++ ++Files: plugin/auth_gssapi/* ++Copyright: 2015 Shuang Qiu ++ 2015 Robbie Harwood ++License: BSD-2-clause ++ ++Files: plugin/file_key_management/* ++Copyright: 2002-2012 eperi GmbH ++License: GPL-2 ++ ++Files: storage/mroonga/* ++Copyright: 2011-2015 Kouhei Sutou ++ 2011-2013 Kentoku SHIBA ++ 2010 Tetsuro IKEDA ++ 2014 Kenji Maruyama ++ 2014-2015 Naoya Murakami ++License: LGPL-2.1+ ++ ++Files: storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/* ++Copyright: 2009-2015 Brazil ++License: LGPL-2.1+ ++ ++Files: storage/spider/* ++Copyright: 2008-2015 Kentoku Shiba ++License: GPL-2 ++ ++Files: strings/ctype-win1250ch.c ++Copyright: 2002-2010 Oracle and/or its affiliates. ++ 2001 Jan Pazdziora ++License: GPL-2 ++ ++Files: strings/ctype-tis620.c ++Copyright: 1998 Theppitak Karoonboonyanan ++ 1989-1991 Samphan Raruenrom ++ 2000-2010 Oracle and/or its affiliates. ++ 2003 Sathit Jittanupat ++ 2001 Korakot Chaovavanich and ++ 1998-1999 Pruet Boonma ++License: GPL-2 ++ ++Files: storage/innobase/handler/ha_innodb.h ++Copyright: 2000-2010 MySQL AB & Innobase Oy. ++License: GPL-2 ++ ++Files: strings/dtoa.c ++Copyright: 2007-2012 Oracle and/or its affiliates. ++ 1991,2000-2001 Lucent Technologies ++License: LGPL ++ ++Files: scripts/mysqldumpslow.sh ++Copyright: ++ 2000-2002,2005-2008 MySQL AB ++ 2008-2009 Sun Microsystems Inc ++License: LGPL ++ ++Files: libmysqld/lib_sql.cc ++Copyright: 2000 SWsoft company ++License: SWsoft ++ This material is provided "as is", with absolutely no warranty expressed ++ or implied. Any use is at your own risk. ++ . ++ Permission to use or copy this software for any purpose is hereby granted ++ without fee, provided the above notices are retained on all copies. ++ Permission to modify the code and to distribute modified code is granted, ++ provided the above notices are retained, and a notice that the code was ++ modified is included with the above copyright notice. ++ ++Files: tests/mail_to_db.pl ++Copyright: 1998 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB ++License: public-domain ++ ++Files: scripts/mysqlaccess.conf ++Copyright: 1997, Yves.Carlier@rug.ac.be ++License: GPL-2 ++ ++Files: debian/additions/innotop/* ++Copyright: 2006-2009, Baron Schwartz ++License: GPL-2 or Artistic ++ ++Files: include/mysql_version.h.in ++Copyright: 1996, 1999, 2001 MySQL AB ++License: public-domain ++ ++Files: storage/federatedx/* ++Copyright: ++ 2007 Antony T Curtis ++ 2008-2009 Patrick Galbraith ++License: BSD-3-clause ++ ++Files: cmake/systemd.cmake ++ scripts/mariadb-service-convert ++Copyright: 2015 Daniel Black ++License: GPL-2 ++ ++Files: wsrep-lib/* ++ sql/wsrep_* ++ scripts/wsrep_* ++Copyright: 2008-2019 Codership Oy ++License: GPL-2 ++ ++Files: libmariadb/* ++Copyright: ++ 2000-2012 MySQL AB & MySQL Finland AB & TCX DataKonsult AB ++ 2006-2011 The PHP Group ++ 2012-2013 Monty Program AB ++ 2014-2020 MariaDB Corporation Ab ++ 2014 Kristian Nielsen & MariaDB Corporation ++License: LGPL-2+ ++ ++Files: libmariadb/libmariadb/mariadb_dyncol.* ++Copyright: ++ 2011-2012 Oleksandr Byelkin ++ 2011-2013 Monty Program Ab ++License: BSD-2-clause ++ ++Files: libmariadb/libmariadb/ma_dtoa.* +Copyright: ++ 1991, 2000-2001, Lucent Technologies ++ 2007, 2012, Oracle and/or its affiliates. ++License: LGPL ++ ++Files: libmariadb/unittest/libmariadb/getopt.* ++Copyright: ++ 1989-1994, Free Software Foundation, Inc ++License: LGPL-2+ ++ ++Files: libmariadb/cmake/FindIconv.cmake ++Copyright: ++ 2010, Michael Bell ++License: BSD-2-Clause ++ ++Files: storage/archive/azio.c ++ storage/archive/azlib.h ++ zlib/* ++Copyright: ++ 1995-2005 Jean-loup Gailly ++ 1995-2005 Mark Adler ++License: zlib/libpng ++ This software is provided 'as-is', without any express or implied ++ warranty. In no event will the authors be held liable for any damages ++ arising from the use of this software. ++ . ++ Permission is granted to anyone to use this software for any purpose, ++ including commercial applications, and to alter it and redistribute it ++ freely, subject to the following restrictions: ++ . ++ 1. The origin of this software must not be misrepresented; you must not ++ claim that you wrote the original software. If you use this software ++ in a product, an acknowledgment in the product documentation would be ++ appreciated but is not required. ++ 2. Altered source versions must be plainly marked as such, and must not be ++ misrepresented as being the original software. ++ 3. This notice may not be removed or altered from any source distribution. ++ ++Files: mysys/CMakeLists.txt ++Copyright: 2006, 2014, Oracle and/or its affiliates ++License: GPL-2 ++ ++Files: plugin/server_audit/CMakeLists.txt ++Copyright: 2013 Alexey Botchkov and SkySQL Ab ++License: GPL-2 ++ ++Files: zlib/CMakeLists.txt ++Copyright: 2006, 2014, Oracle and/or its affiliates ++License: GPL-2 ++ ++License: GPL-2 ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; version 2 of the License. ++ . ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ . ++ On Debian and systems the full text of the GNU General Public ++ License version 2 can be found in the file ++ `/usr/share/common-licenses/GPL-2` ++ . ++ You should have received a copy of the GNU General Public License ++ along with this program. If not, see . + - According to the file "COPYING" all parts of this package are licenced - under the terms of the GNU GPL Version 2 of which a copy is available - in /usr/share/common-licenses. ++License: GPL-2+ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ . ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ . ++ On Debian and systems the full text of the GNU General Public ++ License version 2 can be found in the file ++ `/usr/share/common-licenses/GPL-2` ++ . ++ You should have received a copy of the GNU General Public License ++ along with this program. If not, see . + - To allow free software with other licences than the GPL to link against the - shared library, special terms for "derived works" are granted in the README file of MySQL 5.5, as follows: ++License: LGPL ++ This library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Library General Public ++ License as published by the Free Software Foundation; version 2 ++ of the License. ++ . ++ This library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ . ++ You should have received a copy of the GNU Library General Public ++ License along with this library; if not, write to the Free ++ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, ++ MA 02110-1301, USA ++ . ++ On Debian and systems the full text of the GNU Library General Public ++ License version 2 can be found in the file ++ `/usr/share/common-licenses/LGPL-2` + - > MySQL FOSS License Exception - > We want free and open source software applications under certain - > licenses to be able to use specified GPL-licensed MySQL client - > libraries despite the fact that not all such FOSS licenses are - > compatible with version 2 of the GNU General Public License. - > Therefore there are special exceptions to the terms and conditions - > of the GPLv2 as applied to these client libraries, which are - > identified and described in more detail in the FOSS License - > Exception at - > . ++License: LGPL-2 ++ This library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Library General Public ++ License as published by the Free Software Foundation; version 2 ++ of the License. ++ . ++ This library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ . ++ You should have received a copy of the GNU Library General Public ++ License along with this library; if not, write to the Free ++ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, ++ MA 02110-1301, USA ++ . ++ On Debian and systems the full text of the GNU Library General Public ++ License version 2 can be found in the file ++ `/usr/share/common-licenses/LGPL-2` + - The manual had to be removed as it is not free in the sense of the - Debian Free Software Guidelines (DFSG). ++License: LGPL-2+ ++ This library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Library General Public ++ License as published by the Free Software Foundation; either ++ version 2 of the License, or (at your option) any later version. ++ . ++ This library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ . ++ You should have received a copy of the GNU Library General Public ++ License along with this library; if not see ++ or write to the Free Software Foundation, Inc., ++ 51 Franklin St., Fifth Floor, Boston, MA 02110, USA ++ . ++ On Debian systems, the complete text of the GNU Library General Public ++ License version 2 can be found in "/usr/share/common-licenses/LGPL-2". + ++License: LGPL-2.1+ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as published by ++ the Free Software Foundation; either version 2.1, or (at your option) ++ any later version. ++ . ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ . ++ You should have received a copy of the GNU Lesser General Public License along ++ with this program; if not, write to the Free Software Foundation, ++ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ ++ . ++ On Debian and systems the full text of the GNU Library General Public ++ License version 2.1 can be found in the file ++ `/usr/share/common-licenses/LGPL-2.1` + - == innotop == ++License: BSD-2-clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions are ++ met: ++ . ++ 1. Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ . ++ 2. Redistributions in binary form must the following disclaimer in ++ the documentation and/or other materials provided with the ++ distribution. + - Copyright 2006-2009, Baron Schwartz - URL: http://innotop.sourceforge.net ++License: BSD-3-clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions ++ are met: ++ 1. Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ 2. Redistributions in binary form must reproduce the above copyright ++ notice, this list of conditions and the following disclaimer in the ++ documentation and/or other materials provided with the distribution. ++ 3. Neither the name of the University nor the names of its contributors ++ may be used to endorse or promote products derived from this software ++ without specific prior written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ++ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE ++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY ++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ++ SUCH DAMAGE. + - License: - > This software is dual licensed, either GPL version 2 or Artistic License. - > - > This package is free software; you can redistribute it and/or modify - > it under the terms of the GNU General Public License as published by - > the Free Software Foundation; either version 2 of the License, or - > (at your option) any later version. - > - > This package is distributed in the hope that it will be useful, - > but WITHOUT ANY WARRANTY; without even the implied warranty of - > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - > GNU General Public License for more details. - > - > You should have received a copy of the GNU General Public License - > along with this package; if not, write to the Free Software - > Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA ++License: Artistic ++ The "Artistic License" ++ . ++ Preamble ++ . ++ The intent of this document is to state the conditions under which a ++ Package may be copied, such that the Copyright Holder maintains some ++ semblance of artistic control over the development of the package, ++ while giving the users of the package the right to use and distribute ++ the Package in a more-or-less customary fashion, plus the right to make ++ reasonable modifications. ++ . ++ Definitions: ++ . ++ "Package" refers to the collection of files distributed by the ++ Copyright Holder, and derivatives of that collection of files ++ created through textual modification. ++ . ++ "Standard Version" refers to such a Package if it has not been ++ modified, or has been modified in accordance with the wishes ++ of the Copyright Holder as specified below. ++ . ++ "Copyright Holder" is whoever is named in the copyright or ++ copyrights for the package. ++ . ++ "You" is you, if you're thinking about copying or distributing ++ this Package. ++ . ++ "Reasonable copying fee" is whatever you can justify on the ++ basis of media cost, duplication charges, time of people involved, ++ and so on. (You will not be required to justify it to the ++ Copyright Holder, but only to the computing community at large ++ as a market that must bear the fee.) ++ . ++ "Freely Available" means that no fee is charged for the item ++ itself, though there may be fees involved in handling the item. ++ It also means that recipients of the item may redistribute it ++ under the same conditions they received it. ++ . ++ 1. You may make and give away verbatim copies of the source form of the ++ Standard Version of this Package without restriction, provided that you ++ duplicate all of the original copyright notices and associated disclaimers. ++ . ++ 2. You may apply bug fixes, portability fixes and other modifications ++ derived from the Public Domain or from the Copyright Holder. A Package ++ modified in such a way shall still be considered the Standard Version. ++ . ++ 3. You may otherwise modify your copy of this Package in any way, provided ++ that you insert a prominent notice in each changed file stating how and ++ when you changed that file, and provided that you do at least ONE of the ++ following: ++ . ++ a) place your modifications in the Public Domain or otherwise make them ++ Freely Available, such as by posting said modifications to Usenet or ++ an equivalent medium, or placing the modifications on a major archive ++ site such as uunet.uu.net, or by allowing the Copyright Holder to include ++ your modifications in the Standard Version of the Package. ++ . ++ b) use the modified Package only within your corporation or organization. ++ . ++ c) rename any non-standard executables so the names do not conflict ++ with standard executables, which must also be provided, and provide ++ a separate manual page for each non-standard executable that clearly ++ documents how it differs from the Standard Version. ++ . ++ d) make other distribution arrangements with the Copyright Holder. ++ . ++ 4. You may distribute the programs of this Package in object code or ++ executable form, provided that you do at least ONE of the following: ++ . ++ a) distribute a Standard Version of the executables and library files, ++ together with instructions (in the manual page or equivalent) on where ++ to get the Standard Version. ++ . ++ b) accompany the distribution with the machine-readable source of ++ the Package with your modifications. ++ . ++ c) give non-standard executables non-standard names, and clearly ++ document the differences in manual pages (or equivalent), together ++ with instructions on where to get the Standard Version. ++ . ++ d) make other distribution arrangements with the Copyright Holder. ++ . ++ 5. You may charge a reasonable copying fee for any distribution of this ++ Package. You may charge any fee you choose for support of this ++ Package. You may not charge a fee for this Package itself. However, ++ you may distribute this Package in aggregate with other (possibly ++ commercial) programs as part of a larger (possibly commercial) software ++ distribution provided that you do not advertise this Package as a ++ product of your own. You may embed this Package's interpreter within ++ an executable of yours (by linking); this shall be construed as a mere ++ form of aggregation, provided that the complete Standard Version of the ++ interpreter is so embedded. ++ . ++ 6. The scripts and library files supplied as input to or produced as ++ output from the programs of this Package do not automatically fall ++ under the copyright of this Package, but belong to whoever generated ++ them, and may be sold commercially, and may be aggregated with this ++ Package. If such scripts or library files are aggregated with this ++ Package via the so-called "undump" or "unexec" methods of producing a ++ binary executable image, then distribution of such an image shall ++ neither be construed as a distribution of this Package nor shall it ++ fall under the restrictions of Paragraphs 3 and 4, provided that you do ++ not represent such an executable image as a Standard Version of this ++ Package. ++ . ++ 7. C subroutines (or comparably compiled subroutines in other ++ languages) supplied by you and linked into this Package in order to ++ emulate subroutines and variables of the language defined by this ++ Package shall not be considered part of this Package, but are the ++ equivalent of input as in Paragraph 6, provided these subroutines do ++ not change the language in any way that would cause it to fail the ++ regression tests for the language. ++ . ++ 8. Aggregation of this Package with a commercial distribution is always ++ permitted provided that the use of this Package is embedded; that is, ++ when no overt attempt is made to make this Package's interfaces visible ++ to the end user of the commercial distribution. Such use shall not be ++ construed as a distribution of this Package. ++ . ++ 9. The name of the Copyright Holder may not be used to endorse or promote ++ products derived from this software without specific prior written permission. ++ . ++ 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR ++ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ++ WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ++ . ++ The End + - On Debian systems, the complete text of the GNU General Public License and the - Artistic License can be found in `/usr/share/common-licenses/'. ++License: public-domain ++ The work is public domain (no license). diff --cc debian/gbp.conf index a5af3e1f7,000000000..c82f83271 mode 100644,000000..100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@@ -1,5 -1,0 +1,16 @@@ +[DEFAULT] +# Ignore requirement to use branch name 'master' to make it easier +# for contributors to work with feature and bugfix branches - # to Debian packaging +ignore-branch = True ++ ++# Always sign everything ++sign-tags = True ++upstream-signatures = on ++ ++# DEP-14 format ++debian-branch = debian/latest ++upstream-branch = 10.11 ++upstream-tag = mariadb-%(version)s ++ ++# MariaDB has submodules ++submodules = True diff --cc debian/libmariadb-dev.install index c015d59ae,000000000..b6af1d5b4 mode 100644,000000..100644 --- a/debian/libmariadb-dev.install +++ b/debian/libmariadb-dev.install @@@ -1,36 -1,0 +1,36 @@@ +usr/bin/mariadb-config +usr/bin/mariadb_config +usr/include/mariadb/errmsg.h +usr/include/mariadb/ma_list.h +usr/include/mariadb/ma_pvio.h +usr/include/mariadb/ma_tls.h - usr/include/mariadb/mariadb/ +usr/include/mariadb/mariadb/ma_io.h +usr/include/mariadb/mariadb_com.h +usr/include/mariadb/mariadb_ctype.h +usr/include/mariadb/mariadb_dyncol.h +usr/include/mariadb/mariadb_rpl.h +usr/include/mariadb/mariadb_stmt.h +usr/include/mariadb/mariadb_version.h +usr/include/mariadb/my_alloca.h +usr/include/mariadb/my_config.h +usr/include/mariadb/my_global.h +usr/include/mariadb/my_sys.h +usr/include/mariadb/mysql.h +usr/include/mariadb/mysql/ +usr/include/mariadb/mysql/client_plugin.h +usr/include/mariadb/mysql/plugin_auth.h +usr/include/mariadb/mysql/plugin_auth_common.h +usr/include/mariadb/mysql_com.h +usr/include/mariadb/mysql_version.h +usr/include/mariadb/mysqld_error.h +usr/lib/*/libmariadb.a +usr/lib/*/libmariadb.so +usr/lib/*/libmariadbclient.a +usr/lib/*/libmariadbclient.so +usr/lib/*/libmysqlservices.a +usr/lib/*/pkgconfig/libmariadb.pc ++usr/lib/*/pkgconfig/mariadb.pc +usr/share/aclocal/mysql.m4 +usr/share/man/man1/mariadb_config.1 +usr/share/man/man1/mysql_config.1 +usr/share/man/man3/*.3 diff --cc debian/libmariadb-dev.lintian-overrides index 6a162120f,000000000..ca2b76c10 mode 100644,000000..100644 --- a/debian/libmariadb-dev.lintian-overrides +++ b/debian/libmariadb-dev.lintian-overrides @@@ -1,2 -1,0 +1,2 @@@ +# This is how upstream does it, wont' fix - arch-dependent-file-not-in-arch-specific-directory usr/bin/mariadb_config ++repeated-path-segment mariadb [usr/include/mariadb/mariadb/] diff --cc debian/libmariadb3.symbols index c79676472,000000000..38d89271d mode 100644,000000..100644 --- a/debian/libmariadb3.symbols +++ b/debian/libmariadb3.symbols @@@ -1,336 -1,0 +1,342 @@@ +libmariadb.so.3 libmariadb3 #MINVER# +* Build-Depends-Package: libmariadb-dev + libmariadb_3@libmariadb_3 3.0.0 ++ libmariadb_3_3_5@libmariadb_3_3_5 3.3.5 + libmariadbclient_18@libmariadbclient_18 3.0.0 + libmysqlclient_18@libmysqlclient_18 3.0.0 + ma_pvio_register_callback@libmariadb_3 3.0.0 + mariadb_cancel@libmariadb_3 3.0.0 + mariadb_connection@libmariadb_3 3.0.0 + mariadb_convert_string@libmariadb_3 3.0.0 + mariadb_deinitialize_ssl@libmariadb_3 3.0.0 ++ mariadb_field_attr@libmariadb_3 3.1.8 + mariadb_free_rpl_event@libmariadb_3 3.1.0 + mariadb_get_charset_by_name@libmariadb_3 3.0.0 + mariadb_get_charset_by_nr@libmariadb_3 3.0.0 + mariadb_get_info@libmariadb_3 3.0.0 + mariadb_get_infov@libmariadb_3 3.0.0 + mariadb_reconnect@libmariadb_3 3.0.0 + mariadb_rpl_close@libmariadb_3 3.1.0 ++ mariadb_rpl_errno@libmariadb_3_3_5 3.3.5 ++ mariadb_rpl_error@libmariadb_3_3_5 3.3.5 ++ mariadb_rpl_extract_rows@libmariadb_3_3_5 3.3.5 + mariadb_rpl_fetch@libmariadb_3 3.1.0 + mariadb_rpl_get_optionsv@libmariadb_3 3.1.0 ++ mariadb_rpl_init_ex@libmariadb_3 3.1.13 + mariadb_rpl_open@libmariadb_3 3.1.0 + mariadb_rpl_optionsv@libmariadb_3 3.1.0 + mariadb_stmt_execute_direct@libmariadb_3 3.0.0 + mariadb_stmt_fetch_fields@libmariadb_3 3.1.0 + mysql_affected_rows@libmariadbclient_18 3.0.0 + mysql_affected_rows@libmysqlclient_18 3.0.0 + mysql_autocommit_cont@libmariadb_3 3.0.0 + mysql_autocommit@libmariadbclient_18 3.0.0 + mysql_autocommit@libmysqlclient_18 3.0.0 + mysql_autocommit_start@libmariadb_3 3.0.0 + mysql_change_user_cont@libmariadb_3 3.0.0 + mysql_change_user@libmariadbclient_18 3.0.0 + mysql_change_user@libmysqlclient_18 3.0.0 + mysql_change_user_start@libmariadb_3 3.0.0 + mysql_character_set_name@libmariadbclient_18 3.0.0 + mysql_character_set_name@libmysqlclient_18 3.0.0 + mysql_client_find_plugin@libmariadbclient_18 3.0.0 + mysql_client_find_plugin@libmysqlclient_18 3.0.0 + mysql_client_register_plugin@libmariadbclient_18 3.0.0 + mysql_client_register_plugin@libmysqlclient_18 3.0.0 + mysql_close_cont@libmariadb_3 3.0.0 + mysql_close@libmariadbclient_18 3.0.0 + mysql_close@libmysqlclient_18 3.0.0 + mysql_close_start@libmariadb_3 3.0.0 + mysql_commit_cont@libmariadb_3 3.0.0 + mysql_commit@libmariadbclient_18 3.0.0 + mysql_commit@libmysqlclient_18 3.0.0 + mysql_commit_start@libmariadb_3 3.0.0 + mysql_data_seek@libmariadbclient_18 3.0.0 + mysql_data_seek@libmysqlclient_18 3.0.0 + mysql_debug@libmariadbclient_18 3.0.0 + mysql_debug@libmysqlclient_18 3.0.0 + mysql_dump_debug_info_cont@libmariadb_3 3.0.0 + mysql_dump_debug_info@libmariadbclient_18 3.0.0 + mysql_dump_debug_info@libmysqlclient_18 3.0.0 + mysql_dump_debug_info_start@libmariadb_3 3.0.0 + mysql_embedded@libmariadbclient_18 3.0.0 + mysql_embedded@libmysqlclient_18 3.0.0 + mysql_eof@libmariadbclient_18 3.0.0 + mysql_eof@libmysqlclient_18 3.0.0 + mysql_errno@libmariadbclient_18 3.0.0 + mysql_errno@libmysqlclient_18 3.0.0 + mysql_error@libmariadbclient_18 3.0.0 + mysql_error@libmysqlclient_18 3.0.0 + mysql_escape_string@libmariadbclient_18 3.0.0 + mysql_escape_string@libmysqlclient_18 3.0.0 + mysql_fetch_field_direct@libmariadbclient_18 3.0.0 + mysql_fetch_field_direct@libmysqlclient_18 3.0.0 + mysql_fetch_field@libmariadbclient_18 3.0.0 + mysql_fetch_field@libmysqlclient_18 3.0.0 + mysql_fetch_fields@libmariadbclient_18 3.0.0 + mysql_fetch_fields@libmysqlclient_18 3.0.0 + mysql_fetch_lengths@libmariadbclient_18 3.0.0 + mysql_fetch_lengths@libmysqlclient_18 3.0.0 + mysql_fetch_row_cont@libmariadb_3 3.0.0 + mysql_fetch_row@libmariadbclient_18 3.0.0 + mysql_fetch_row@libmysqlclient_18 3.0.0 + mysql_fetch_row_start@libmariadb_3 3.0.0 + mysql_field_count@libmariadbclient_18 3.0.0 + mysql_field_count@libmysqlclient_18 3.0.0 + mysql_field_seek@libmariadbclient_18 3.0.0 + mysql_field_seek@libmysqlclient_18 3.0.0 + mysql_field_tell@libmariadbclient_18 3.0.0 + mysql_field_tell@libmysqlclient_18 3.0.0 + mysql_free_result_cont@libmariadb_3 3.0.0 + mysql_free_result@libmariadbclient_18 3.0.0 + mysql_free_result@libmysqlclient_18 3.0.0 + mysql_free_result_start@libmariadb_3 3.0.0 + mysql_get_character_set_info@libmariadbclient_18 3.0.0 + mysql_get_character_set_info@libmysqlclient_18 3.0.0 + mysql_get_charset_by_name@libmariadbclient_18 3.0.0 + mysql_get_charset_by_name@libmysqlclient_18 3.0.0 + mysql_get_charset_by_nr@libmariadbclient_18 3.0.0 + mysql_get_charset_by_nr@libmysqlclient_18 3.0.0 + mysql_get_client_info@libmariadbclient_18 3.0.0 + mysql_get_client_info@libmysqlclient_18 3.0.0 + mysql_get_client_version@libmariadbclient_18 3.0.0 + mysql_get_client_version@libmysqlclient_18 3.0.0 + mysql_get_host_info@libmariadbclient_18 3.0.0 + mysql_get_host_info@libmysqlclient_18 3.0.0 + mysql_get_option@libmariadbclient_18 3.0.0 + mysql_get_option@libmysqlclient_18 3.0.0 + mysql_get_optionv@libmariadbclient_18 3.0.0 + mysql_get_optionv@libmysqlclient_18 3.0.0 + mysql_get_parameters@libmariadbclient_18 3.0.0 + mysql_get_parameters@libmysqlclient_18 3.0.0 + mysql_get_proto_info@libmariadbclient_18 3.0.0 + mysql_get_proto_info@libmysqlclient_18 3.0.0 + mysql_get_server_info@libmariadbclient_18 3.0.0 + mysql_get_server_info@libmysqlclient_18 3.0.0 + mysql_get_server_name@libmariadbclient_18 3.0.0 + mysql_get_server_name@libmysqlclient_18 3.0.0 + mysql_get_server_version@libmariadbclient_18 3.0.0 + mysql_get_server_version@libmysqlclient_18 3.0.0 + mysql_get_socket@libmariadbclient_18 3.0.0 + mysql_get_socket@libmysqlclient_18 3.0.0 + mysql_get_ssl_cipher@libmariadbclient_18 3.0.0 + mysql_get_ssl_cipher@libmysqlclient_18 3.0.0 + mysql_get_timeout_value@libmariadb_3 3.0.19 + mysql_get_timeout_value_ms@libmariadb_3 3.0.19 + mysql_hex_string@libmariadbclient_18 3.0.0 + mysql_hex_string@libmysqlclient_18 3.0.0 + mysql_info@libmariadbclient_18 3.0.0 + mysql_info@libmysqlclient_18 3.0.0 + mysql_init@libmariadbclient_18 3.0.0 + mysql_init@libmysqlclient_18 3.0.0 + mysql_insert_id@libmariadbclient_18 3.0.0 + mysql_insert_id@libmysqlclient_18 3.0.0 + mysql_kill_cont@libmariadb_3 3.0.0 + mysql_kill@libmariadbclient_18 3.0.0 + mysql_kill@libmysqlclient_18 3.0.0 + mysql_kill_start@libmariadb_3 3.0.0 + mysql_list_dbs@libmariadbclient_18 3.0.0 + mysql_list_dbs@libmysqlclient_18 3.0.0 + mysql_list_fields_cont@libmariadb_3 3.0.0 + mysql_list_fields@libmariadbclient_18 3.0.0 + mysql_list_fields@libmysqlclient_18 3.0.0 + mysql_list_fields_start@libmariadb_3 3.0.0 + mysql_list_processes@libmariadbclient_18 3.0.0 + mysql_list_processes@libmysqlclient_18 3.0.0 + mysql_list_tables@libmariadbclient_18 3.0.0 + mysql_list_tables@libmysqlclient_18 3.0.0 + mysql_load_plugin@libmariadbclient_18 3.0.0 + mysql_load_plugin@libmysqlclient_18 3.0.0 + mysql_load_plugin_v@libmariadbclient_18 3.0.0 + mysql_load_plugin_v@libmysqlclient_18 3.0.0 + mysql_more_results@libmariadbclient_18 3.0.0 + mysql_more_results@libmysqlclient_18 3.0.0 + mysql_net_field_length@libmariadbclient_18 3.0.0 + mysql_net_field_length@libmysqlclient_18 3.0.0 + mysql_net_read_packet@libmariadbclient_18 3.0.0 + mysql_net_read_packet@libmysqlclient_18 3.0.0 + mysql_next_result_cont@libmariadb_3 3.0.0 + mysql_next_result@libmariadbclient_18 3.0.0 + mysql_next_result@libmysqlclient_18 3.0.0 + mysql_next_result_start@libmariadb_3 3.0.0 + mysql_num_fields@libmariadbclient_18 3.0.0 + mysql_num_fields@libmysqlclient_18 3.0.0 + mysql_num_rows@libmariadbclient_18 3.0.0 + mysql_num_rows@libmysqlclient_18 3.0.0 + mysql_options4@libmariadbclient_18 3.0.0 + mysql_options4@libmysqlclient_18 3.0.0 + mysql_options@libmariadbclient_18 3.0.0 + mysql_options@libmysqlclient_18 3.0.0 + mysql_optionsv@libmariadb_3 3.0.0 + mysql_ping_cont@libmariadb_3 3.0.0 + mysql_ping@libmariadbclient_18 3.0.0 + mysql_ping@libmysqlclient_18 3.0.0 + mysql_ping_start@libmariadb_3 3.0.0 + mysql_ps_fetch_functions@libmariadb_3 3.0.0 + mysql_query_cont@libmariadb_3 3.0.0 + mysql_query@libmariadbclient_18 3.0.0 + mysql_query@libmysqlclient_18 3.0.0 + mysql_query_start@libmariadb_3 3.0.0 + mysql_read_query_result_cont@libmariadb_3 3.0.0 + mysql_read_query_result@libmariadbclient_18 3.0.0 + mysql_read_query_result@libmysqlclient_18 3.0.0 + mysql_read_query_result_start@libmariadb_3 3.0.0 + mysql_real_connect_cont@libmariadb_3 3.0.0 + mysql_real_connect@libmariadbclient_18 3.0.0 + mysql_real_connect@libmysqlclient_18 3.0.0 + mysql_real_connect_start@libmariadb_3 3.0.0 + mysql_real_escape_string@libmariadbclient_18 3.0.0 + mysql_real_escape_string@libmysqlclient_18 3.0.0 + mysql_real_query_cont@libmariadb_3 3.0.0 + mysql_real_query@libmariadbclient_18 3.0.0 + mysql_real_query@libmysqlclient_18 3.0.0 + mysql_real_query_start@libmariadb_3 3.0.0 + mysql_refresh_cont@libmariadb_3 3.0.0 + mysql_refresh@libmariadbclient_18 3.0.0 + mysql_refresh@libmysqlclient_18 3.0.0 + mysql_refresh_start@libmariadb_3 3.0.0 + mysql_reset_connection_cont@libmariadb_3 3.0.0 + mysql_reset_connection@libmariadbclient_18 3.0.0 + mysql_reset_connection@libmysqlclient_18 3.0.0 + mysql_reset_connection_start@libmariadb_3 3.0.0 + mysql_rollback_cont@libmariadb_3 3.0.0 + mysql_rollback@libmariadbclient_18 3.0.0 + mysql_rollback@libmysqlclient_18 3.0.0 + mysql_rollback_start@libmariadb_3 3.0.0 + mysql_row_seek@libmariadbclient_18 3.0.0 + mysql_row_seek@libmysqlclient_18 3.0.0 + mysql_row_tell@libmariadbclient_18 3.0.0 + mysql_row_tell@libmysqlclient_18 3.0.0 + mysql_select_db_cont@libmariadb_3 3.0.0 + mysql_select_db@libmariadbclient_18 3.0.0 + mysql_select_db@libmysqlclient_18 3.0.0 + mysql_select_db_start@libmariadb_3 3.0.0 + mysql_send_query_cont@libmariadb_3 3.0.0 + mysql_send_query@libmariadbclient_18 3.0.0 + mysql_send_query@libmysqlclient_18 3.0.0 + mysql_send_query_start@libmariadb_3 3.0.0 + mysql_server_end@libmariadbclient_18 3.0.0 + mysql_server_end@libmysqlclient_18 3.0.0 + mysql_server_init@libmariadbclient_18 3.0.0 + mysql_server_init@libmysqlclient_18 3.0.0 + mysql_session_track_get_first@libmariadbclient_18 3.0.0 + mysql_session_track_get_first@libmysqlclient_18 3.0.0 + mysql_session_track_get_next@libmariadbclient_18 3.0.0 + mysql_session_track_get_next@libmysqlclient_18 3.0.0 + mysql_set_character_set_cont@libmariadb_3 3.0.0 + mysql_set_character_set@libmariadbclient_18 3.0.0 + mysql_set_character_set@libmysqlclient_18 3.0.0 + mysql_set_character_set_start@libmariadb_3 3.0.0 + mysql_set_local_infile_default@libmariadbclient_18 3.0.0 + mysql_set_local_infile_default@libmysqlclient_18 3.0.0 + mysql_set_local_infile_handler@libmariadbclient_18 3.0.0 + mysql_set_local_infile_handler@libmysqlclient_18 3.0.0 + mysql_set_server_option_cont@libmariadb_3 3.0.0 + mysql_set_server_option@libmariadbclient_18 3.0.0 + mysql_set_server_option@libmysqlclient_18 3.0.0 + mysql_set_server_option_start@libmariadb_3 3.0.0 + mysql_shutdown_cont@libmariadb_3 3.0.0 + mysql_shutdown@libmariadbclient_18 3.0.0 + mysql_shutdown@libmysqlclient_18 3.0.0 + mysql_shutdown_start@libmariadb_3 3.0.0 + mysql_sqlstate@libmariadbclient_18 3.0.0 + mysql_sqlstate@libmysqlclient_18 3.0.0 + mysql_ssl_set@libmariadbclient_18 3.0.0 + mysql_ssl_set@libmysqlclient_18 3.0.0 + mysql_stat_cont@libmariadb_3 3.0.0 + mysql_stat@libmariadbclient_18 3.0.0 + mysql_stat@libmysqlclient_18 3.0.0 + mysql_stat_start@libmariadb_3 3.0.0 + mysql_stmt_affected_rows@libmariadbclient_18 3.0.0 + mysql_stmt_affected_rows@libmysqlclient_18 3.0.0 + mysql_stmt_attr_get@libmariadbclient_18 3.0.0 + mysql_stmt_attr_get@libmysqlclient_18 3.0.0 + mysql_stmt_attr_set@libmariadbclient_18 3.0.0 + mysql_stmt_attr_set@libmysqlclient_18 3.0.0 + mysql_stmt_bind_param@libmariadbclient_18 3.0.0 + mysql_stmt_bind_param@libmysqlclient_18 3.0.0 + mysql_stmt_bind_result@libmariadbclient_18 3.0.0 + mysql_stmt_bind_result@libmysqlclient_18 3.0.0 + mysql_stmt_close_cont@libmariadb_3 3.0.0 + mysql_stmt_close@libmariadbclient_18 3.0.0 + mysql_stmt_close@libmysqlclient_18 3.0.0 + mysql_stmt_close_start@libmariadb_3 3.0.0 + mysql_stmt_data_seek@libmariadbclient_18 3.0.0 + mysql_stmt_data_seek@libmysqlclient_18 3.0.0 + mysql_stmt_errno@libmariadbclient_18 3.0.0 + mysql_stmt_errno@libmysqlclient_18 3.0.0 + mysql_stmt_error@libmariadbclient_18 3.0.0 + mysql_stmt_error@libmysqlclient_18 3.0.0 + mysql_stmt_execute_cont@libmariadb_3 3.0.0 + mysql_stmt_execute@libmariadbclient_18 3.0.0 + mysql_stmt_execute@libmysqlclient_18 3.0.0 + mysql_stmt_execute_start@libmariadb_3 3.0.0 + mysql_stmt_fetch_column@libmariadbclient_18 3.0.0 + mysql_stmt_fetch_column@libmysqlclient_18 3.0.0 + mysql_stmt_fetch_cont@libmariadb_3 3.0.0 + mysql_stmt_fetch@libmariadbclient_18 3.0.0 + mysql_stmt_fetch@libmysqlclient_18 3.0.0 + mysql_stmt_fetch_start@libmariadb_3 3.0.0 + mysql_stmt_field_count@libmariadbclient_18 3.0.0 + mysql_stmt_field_count@libmysqlclient_18 3.0.0 + mysql_stmt_free_result_cont@libmariadb_3 3.0.0 + mysql_stmt_free_result@libmariadbclient_18 3.0.0 + mysql_stmt_free_result@libmysqlclient_18 3.0.0 + mysql_stmt_free_result_start@libmariadb_3 3.0.0 + mysql_stmt_init@libmariadbclient_18 3.0.0 + mysql_stmt_init@libmysqlclient_18 3.0.0 + mysql_stmt_insert_id@libmariadbclient_18 3.0.0 + mysql_stmt_insert_id@libmysqlclient_18 3.0.0 + mysql_stmt_more_results@libmariadbclient_18 3.0.0 + mysql_stmt_more_results@libmysqlclient_18 3.0.0 + mysql_stmt_next_result_cont@libmariadb_3 3.0.0 + mysql_stmt_next_result@libmariadbclient_18 3.0.0 + mysql_stmt_next_result@libmysqlclient_18 3.0.0 + mysql_stmt_next_result_start@libmariadb_3 3.0.0 + mysql_stmt_num_rows@libmariadbclient_18 3.0.0 + mysql_stmt_num_rows@libmysqlclient_18 3.0.0 + mysql_stmt_param_count@libmariadbclient_18 3.0.0 + mysql_stmt_param_count@libmysqlclient_18 3.0.0 + mysql_stmt_param_metadata@libmariadbclient_18 3.0.0 + mysql_stmt_param_metadata@libmysqlclient_18 3.0.0 + mysql_stmt_prepare_cont@libmariadb_3 3.0.0 + mysql_stmt_prepare@libmariadbclient_18 3.0.0 + mysql_stmt_prepare@libmysqlclient_18 3.0.0 + mysql_stmt_prepare_start@libmariadb_3 3.0.0 + mysql_stmt_reset_cont@libmariadb_3 3.0.0 + mysql_stmt_reset@libmariadbclient_18 3.0.0 + mysql_stmt_reset@libmysqlclient_18 3.0.0 + mysql_stmt_reset_start@libmariadb_3 3.0.0 + mysql_stmt_result_metadata@libmariadbclient_18 3.0.0 + mysql_stmt_result_metadata@libmysqlclient_18 3.0.0 + mysql_stmt_row_seek@libmariadbclient_18 3.0.0 + mysql_stmt_row_seek@libmysqlclient_18 3.0.0 + mysql_stmt_row_tell@libmariadbclient_18 3.0.0 + mysql_stmt_row_tell@libmysqlclient_18 3.0.0 + mysql_stmt_send_long_data_cont@libmariadb_3 3.0.0 + mysql_stmt_send_long_data@libmariadbclient_18 3.0.0 + mysql_stmt_send_long_data@libmysqlclient_18 3.0.0 + mysql_stmt_send_long_data_start@libmariadb_3 3.0.0 + mysql_stmt_sqlstate@libmariadbclient_18 3.0.0 + mysql_stmt_sqlstate@libmysqlclient_18 3.0.0 + mysql_stmt_store_result_cont@libmariadb_3 3.0.0 + mysql_stmt_store_result@libmariadbclient_18 3.0.0 + mysql_stmt_store_result@libmysqlclient_18 3.0.0 + mysql_stmt_store_result_start@libmariadb_3 3.0.0 + mysql_stmt_warning_count@libmariadb_3 3.0.0 + mysql_store_result_cont@libmariadb_3 3.0.0 + mysql_store_result@libmariadbclient_18 3.0.0 + mysql_store_result@libmysqlclient_18 3.0.0 + mysql_store_result_start@libmariadb_3 3.0.0 + mysql_thread_end@libmariadbclient_18 3.0.0 + mysql_thread_end@libmysqlclient_18 3.0.0 + mysql_thread_id@libmariadbclient_18 3.0.0 + mysql_thread_id@libmysqlclient_18 3.0.0 + mysql_thread_init@libmariadbclient_18 3.0.0 + mysql_thread_init@libmysqlclient_18 3.0.0 + mysql_thread_safe@libmariadbclient_18 3.0.0 + mysql_thread_safe@libmysqlclient_18 3.0.0 + mysql_use_result@libmariadbclient_18 3.0.0 + mysql_use_result@libmysqlclient_18 3.0.0 + mysql_warning_count@libmariadbclient_18 3.0.0 + mysql_warning_count@libmysqlclient_18 3.0.0 diff --cc debian/libmariadbd-dev.install index 5a4344721,000000000..3eebe631b mode 100644,000000..100644 --- a/debian/libmariadbd-dev.install +++ b/debian/libmariadbd-dev.install @@@ -1,6 -1,0 +1,5 @@@ +usr/include/mariadb/server +usr/lib/*/libmariadbd.a +usr/lib/*/libmariadbd.so +usr/lib/*/libmysqld.a +usr/lib/*/libmysqld.so - usr/lib/*/pkgconfig/mariadb.pc diff --cc debian/libmariadbd19.lintian-overrides index 000000000,000000000..a7fd30db9 new file mode 100644 --- /dev/null +++ b/debian/libmariadbd19.lintian-overrides @@@ -1,0 -1,0 +1,6 @@@ ++# MyISAM stopwords that cannot be changed and spelling errors remain ++spelling-error-in-binary noone no one [usr/lib/*/libmariadbd.so.19] ++spelling-error-in-binary thats that's [usr/lib/*/libmariadbd.so.19] ++spelling-error-in-binary theres there's [usr/lib/*/libmariadbd.so.19] ++# False positive from Lintian, these strings are nowhere in test in source code ++spelling-error-in-binary AfE Safe [usr/lib/*/libmariadbd.so.19] diff --cc debian/mariadb-backup.lintian-overrides index 000000000,000000000..1dd2eeb92 new file mode 100644 --- /dev/null +++ b/debian/mariadb-backup.lintian-overrides @@@ -1,0 -1,0 +1,6 @@@ ++# MyISAM stopwords that cannot be changed and spelling errors remain ++spelling-error-in-binary noone no one [usr/bin/*] ++spelling-error-in-binary thats that's [usr/bin/*] ++spelling-error-in-binary theres there's [usr/bin/*] ++# False positive from Lintian, these strings are nowhere in test in source code ++spelling-error-in-binary AfE Safe [usr/bin/*] diff --cc debian/mariadb-client-core.links index 000000000,000000000..5134dd814 new file mode 100644 --- /dev/null +++ b/debian/mariadb-client-core.links @@@ -1,0 -1,0 +1,1 @@@ ++usr/bin/mariadb usr/bin/mysql diff --cc debian/mariadb-client.lintian-overrides index 000000000,000000000..a8ea542f7 new file mode 100644 --- /dev/null +++ b/debian/mariadb-client.lintian-overrides @@@ -1,0 -1,0 +1,2 @@@ ++# The Innotop changelog has this name for a valid reason ++wrong-name-for-upstream-changelog [usr/share/doc/mariadb-client/changelog.innotop.gz] diff --cc debian/mariadb-common.preinst index 000000000,000000000..84dfeeee0 new file mode 100644 --- /dev/null +++ b/debian/mariadb-common.preinst @@@ -1,0 -1,0 +1,20 @@@ ++#!/bin/sh ++set -e ++ ++if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then ++ if dpkg --compare-versions "$2" lt-nl "10.0.20-3~" ; then ++ ++ # revert fallback my.cnf symlink setup performed by mariadb-common ++ # from 10.0.17-1~exp2 upto 10.0.20-2 ++ if [ -L /etc/mysql/my.cnf ] && [ -f /etc/mysql/my.cnf.old ]; then ++ if [ "$(readlink /etc/mysql/my.cnf)" = "mariadb.cnf" ]; then ++ echo "Reverting my.cnf -> mariadb.cnf symlink setup by mariadb-common" ++ rm /etc/mysql/my.cnf ++ mv /etc/mysql/my.cnf.old /etc/mysql/my.cnf ++ fi ++ fi ++ ++ fi ++fi ++ ++#DEBHELPER# diff --cc debian/mariadb-plugin-mroonga.lintian-overrides index 000000000,000000000..64a66db65 new file mode 100644 --- /dev/null +++ b/debian/mariadb-plugin-mroonga.lintian-overrides @@@ -1,0 -1,0 +1,3 @@@ ++# False positive from Lintian, these strings are nowhere in test in source code ++spelling-error-in-binary nam name [usr/lib/mysql/plugin/ha_mroonga.so] ++spelling-error-in-binary tage stage [usr/lib/mysql/plugin/ha_mroonga.so] diff --cc debian/mariadb-plugin-rocksdb.lintian-overrides index 000000000,000000000..907669556 new file mode 100644 --- /dev/null +++ b/debian/mariadb-plugin-rocksdb.lintian-overrides @@@ -1,0 -1,0 +1,2 @@@ ++# Fixed upstream in https://github.com/facebook/rocksdb/pull/6481 but not yet in MariaDB ++spelling-error-in-binary COMMITED COMMITTED [usr/lib/mysql/plugin/ha_rocksdb.so] diff --cc debian/mariadb-server-core.install index 26870f3f4,000000000..b90cb0a14 mode 100644,000000..100644 --- a/debian/mariadb-server-core.install +++ b/debian/mariadb-server-core.install @@@ -1,52 -1,0 +1,52 @@@ +usr/bin/innochecksum +usr/bin/mariadb-install-db +usr/bin/mariadb-upgrade +usr/bin/mysql_install_db +usr/bin/mysql_upgrade +usr/bin/resolveip +usr/sbin/mariadbd +usr/sbin/mysqld +usr/share/man/man1/innochecksum.1 +usr/share/man/man1/mariadb-install-db.1 +usr/share/man/man1/mariadb-upgrade.1 +usr/share/man/man1/mysql_install_db.1 +usr/share/man/man1/mysql_upgrade.1 +usr/share/man/man1/resolveip.1 +usr/share/man/man8/mariadbd.8 +usr/share/man/man8/mysqld.8 +usr/share/mysql/bulgarian +usr/share/mysql/charsets +usr/share/mysql/chinese +usr/share/mysql/czech +usr/share/mysql/danish +usr/share/mysql/dutch +usr/share/mysql/english +usr/share/mysql/estonian +usr/share/mysql/fill_help_tables.sql +usr/share/mysql/french - usr/share/mysql/german +usr/share/mysql/georgian ++usr/share/mysql/german +usr/share/mysql/greek +usr/share/mysql/hindi +usr/share/mysql/hungarian +usr/share/mysql/italian +usr/share/mysql/japanese +usr/share/mysql/korean +usr/share/mysql/maria_add_gis_sp_bootstrap.sql +usr/share/mysql/mysql_performance_tables.sql +usr/share/mysql/mysql_sys_schema.sql +usr/share/mysql/mysql_system_tables.sql +usr/share/mysql/mysql_system_tables_data.sql +usr/share/mysql/mysql_test_data_timezone.sql +usr/share/mysql/mysql_test_db.sql +usr/share/mysql/norwegian +usr/share/mysql/norwegian-ny +usr/share/mysql/polish +usr/share/mysql/portuguese +usr/share/mysql/romanian +usr/share/mysql/russian +usr/share/mysql/serbian +usr/share/mysql/slovak +usr/share/mysql/spanish +usr/share/mysql/swedish +usr/share/mysql/ukrainian diff --cc debian/mariadb-server-core.links index 000000000,000000000..c2be98f38 new file mode 100644 --- /dev/null +++ b/debian/mariadb-server-core.links @@@ -1,0 -1,0 +1,3 @@@ ++usr/bin/mariadb-install-db usr/bin/mysql_install_db ++usr/bin/mariadb-upgrade usr/bin/mysql_upgrade ++usr/sbin/mariadbd usr/sbin/mysqld diff --cc debian/mariadb-server-core.lintian-overrides index 000000000,000000000..667228f52 new file mode 100644 --- /dev/null +++ b/debian/mariadb-server-core.lintian-overrides @@@ -1,0 -1,0 +1,8 @@@ ++# MyISAM stopwords that cannot be changed and spelling errors remain ++spelling-error-in-binary noone no one [usr/sbin/mariadbd] ++spelling-error-in-binary thats that's [usr/sbin/mariadbd] ++spelling-error-in-binary theres there's [usr/sbin/mariadbd] ++# False positive from Lintian, these strings are nowhere in test in source code ++spelling-error-in-binary AfE Safe [usr/sbin/mariadbd] ++# Valid reason for extra documentation in context in directory ++package-contains-documentation-outside-usr-share-doc [usr/share/mysql/charsets/README] diff --cc debian/mariadb-server.NEWS index 000000000,000000000..98b317680 new file mode 100644 --- /dev/null +++ b/debian/mariadb-server.NEWS @@@ -1,0 -1,0 +1,227 @@@ ++mariadb (1:10.11.2-1) unstable; urgency=medium ++ ++ MariaDB 10.11.2 was released on February 16th 2023 by the MariaDB Foundation ++ (https://mariadb.org/mariadb-10-11-2-ga-now-available/). This is the first ++ release in the 10.11 series to be announced GA (general availability). The ++ 10.11 series has long-term support with commitment from the MariaDB Foundation ++ (https://mariadb.org/about/#maintenance-policy) to publish maintenance ++ versions with fixes to software defects and security vulnerabilities until ++ February 2028. ++ ++ The previous major releases (10.7, 10.8, 10.9, 10.10) were not long-terms ++ supported versions and thus not imported to Debian. To learn what is new in ++ 10.11 it is recommended to read all the release notes: ++ ++ * https://mariadb.com/kb/en/changes-improvements-in-mariadb-1011/ ++ * https://mariadb.com/kb/en/changes-improvements-in-mariadb-1010/ ++ * https://mariadb.com/kb/en/changes-improvements-in-mariadb-109/ ++ * https://mariadb.com/kb/en/changes-improvements-in-mariadb-108/ ++ * https://mariadb.com/kb/en/changes-improvements-in-mariadb-107/ ++ ++ Noteable new features: ++ - New datatypes UUID and INET4 ++ - New functions SFORMAT (text formatting), NATURAL_SORT_KEY, RANDOM_BYTES and ++ several related to JSON ++ - New keyword AUTO in system versioned tables for partitioning ++ (https://mariadb.com/kb/en/system-versioned-tables/#automatically-creating-partitions) ++ - Unicode Collation Algorithm (UCA) upgrade to 14.0.0 ++ - New privileges 'READ ONLY ADMIN' and 'GRANT TO PUBLIC' ++ (https://mariadb.org/grant-to-public-in-mariadb/) ++ - password_reuse_check plugin (part of mariadb-server package) ++ - Hashicorp Key Management Plugin for implementing encryption using keys ++ stored in the Hashicorp Vault KMS (mariadb-plugin-hashicorp-key-management ++ package) ++ ++ Important packaging change: Compression libraries have been split into ++ separate packages named mariadb-provider-plugin-(bzip2/lz4/lzma/lzo/snappy). ++ If a non-zlib compression algorithm was used in InnoDB or Mroonga before ++ upgrading to 10.11, those tables will be unreadable until the appropriate ++ compression library is installed. ++ ++ Things to consider when upgrading from 10.6 to 10.11 are listed on the page ++ https://mariadb.com/kb/en/upgrading-from-mariadb-10-6-to-mariadb-10-11/. ++ ++ New server variables in 10.11 (compared to 10.6): ++ - binlog-alter-two-phase: When set, split ALTER at binary logging into 2 ++ statements: START ALTER and COMMIT/ROLLBACK ALTER. Defaults to 'FALSE'. ++ - innodb-log-file-buffering: Whether the file system cache for ib_logfile0 is ++ enabled ++ - optimizer-extra-pruning-depth: If the optimizer needs to enumerate join ++ prefix of this size or larger, then it will try aggressively prune away the ++ search space. ++ - log-slow-min-examined-row-limit: Don't write queries to slow log that ++ examine fewer rows than that ++ - log-slow-query: Log slow queries to a table or log file. Defaults logging to ++ a file 'hostname'-slow.log or a table mysql.slow_log if --log-output=TABLE ++ is used. Must be enabled to activate other slow log options. ++ - log-slow-query-file: Log slow queries to given log file. Defaults logging to ++ 'hostname'-slow.log. Must be enabled to activate other slow log options ++ - log-slow-query-time: Log all queries that have taken more than ++ log_slow_query_time seconds to execute to the slow query log file. The ++ argument will be treated as a decimal value with microsecond precision ++ - slave-max-statement-time: A query that has taken more than ++ slave_max_statement_time seconds to run on the slave will be aborted. The ++ argument will be treated as a decimal value with microsecond precision. A ++ value of 0 (default) means no timeout ++ - system-versioning-insert-history: Allows direct inserts into ROW_START and ++ ROW_END columns if secure_timestamp allows changing @@timestamp ++ - wsrep-allowlist: Allowed IP addresses split by comma delimiter ++ - wsrep-status-file: wsrep status output filename ++ ++ Changed behavior in server variables in 10.11 (compared to 10.6): ++ - explicit-defaults-for-timestamp: enabled by default ++ - optimizer-prune-level: defaults to 2 (instead of 1) ++ - old-mode: new options IGNORE_INDEX_ONLY_FOR_JOIN and COMPAT_5_1_CHECKSUM ++ - wsrep-mode: new option BF_ABORT_MARIABACKUP ++ - read-only: changing value requires 'READ ONLY ADMIN' privilege ++ ++ One of the most important performance related server variables ++ 'innodb_log_file_size' is now dynamic so it can be changed without having to ++ restart the server. ++ ++ Removed in 10.11 (compared to 10.6): ++ - innodb-log-write-ahead-size: the physical block size of the underlying ++ storage is instead detected and used ++ - wsrep-replicate-myisam: use wsrep_mode instead ++ - wsrep-strict-ddl: use wsrep_mode instead ++ ++ Deprecated server variables: ++ - innodb_change_buffering ++ - innodb-buffer-pool-chunk-size: defaults to 0 (instead of 134217728) in ++ server variables because the server automatically sizes it ++ - keep_files_on_create: orphan files are now deleted automatically, so this ++ setting should never be needed ++ ++ Note also that the MariaDB client settings have changed to now use SSL/TLS ++ by default. ++ ++ -- Otto Kekäläinen Thu, 16 Feb 2023 23:53:02 -0800 ++ ++mariadb (1:10.11.1-1) unstable; urgency=medium ++ ++ Version suffixed packages (e.g. mariadb-server-10.6) have now been deprecated ++ as it made maintenance complicated and there was no known use cases or users ++ of the naming scheme, as multiple different major version MariaDB server ++ packages could not be co-installed anyway and source or the 'mariadb-server' ++ and 'mariadb-client' packages is easiest controlled by repositories and ++ package versioning, not versions in package *names*. ++ ++ -- Otto Kekäläinen Mon, 02 Jan 2023 23:42:58 -0800 ++ ++mariadb-10.6 (1:10.6.4-1) unstable; urgency=medium ++ ++ Import new upstream release MariaDB 10.6.4 ++ - 10.6 introduces one new status variable: ++ * Innodb_buffer_pool_pages_lru_freed ++ (https://mariadb.com/kb/en/status-variables-added-in-mariadb-106/) ++ * Resultset_metadata_skipped ++ (undocumented upstream https://mariadb.com/docs/reference/mdb/status-variables/Resultset_metadata_skipped/) ++ ++ Read more at https://mariadb.com/kb/en/status-variables-added-in-mariadb-106/ ++ ++ - 10.6 introduces several new server variables: ++ * binlog_expire_logs_seconds ++ * innodb_deadlock_report ++ * innodb_read_only_compressed ++ ++ Read more at https://mariadb.com/kb/en/system-variables-added-in-mariadb-106/ ++ ++ - 10.6 removes several server variables: ++ * innodb_adaptive_max_sleep_delay ++ * innodb_background_scrub_data_* ++ * innodb_buffer_pool_instances ++ * innodb_commit_concurrency ++ * innodb_concurrency_tickets ++ * innodb_file_format ++ * innodb_large_prefix ++ * innodb_lock_schedule_algorithm ++ * innodb_log_checksums ++ * innodb_log_compressed_pages ++ * innodb_log_files_in_group ++ * innodb_log_optimize_ddl ++ * innodb_page_cleaners ++ * innodb_replication_delay (*not* related to https://mariadb.com/kb/en/delayed-replication/) ++ * innodb_scrub_* ++ * innodb_sync_array_size ++ * innodb_thread_* ++ * innodb_undo_logs ++ ++ Read more at https://mariadb.com/kb/en/upgrading-from-mariadb-105-to-mariadb-106/#options-that-have-been-removed-or-renamed ++ ++ - 10.6 introduces new default server variable values: ++ * character sets utf8 -> utf8mb3 ++ * innodb_flush_method fsync -> O_DIRECT ++ * innodb_use_native_aio ON -> OFF ++ * old_mode (none) -> UTF8_IS_UTF8MB3 ++ ++ - 10.6 introduces new 'sys' database and several 'sys' procedures ++ ++ Read more at https://mariadb.com/kb/en/sys-schema/ ++ ++ - Read more about above changes at ++ https://mariadb.com/kb/en/upgrading-from-mariadb-105-to-mariadb-106/ ++ https://mariadb.com/kb/en/changes-improvements-in-mariadb-106/ ++ ++ - Update libmariadb folder to match the one in MariaDB 10.6.4 ++ (MariaDB Connector C 10.6.4) ++ ++ -- Otto Kekäläinen Mon, 06 Sep 2021 22:55:39 -0700 ++ ++mariadb-10.5 (1:10.5.5-1) unstable; urgency=medium ++ ++ The latest version 10.5 of the MariaDB Server came out in June 2020 and is ++ guaranteed to have security releases at least until summer 2025. ++ ++ For more information on what is new in MariaDB 10.5 check out: ++ https://speakerdeck.com/ottok/debconf-2020-whats-new-in-mariadb-server-10-dot-5-and-galera-4 ++ or video from https://peertube.debian.social/videos/watch/bb80cf53-d9ba-4ed9-b472-a21238fb67f5. ++ ++ Quick summary: ++ - Service name is now 'mariadb', e.g. /etc/init.d/mariadb and systemctl mariadb ++ - The main server binary is now running as 'mariadbd' instead of old 'mysqld' ++ - Many commands are now mariadb-* instead of old mysql*, but old names ++ continue to work as symlinks ++ - Referencing the /etc/mysql/debian.cnf file is not advised anymore. It will ++ be deprecated in a future Debian release and has been obsolete anyway for ++ several years now since MariaDB in Debian introduced Unix socket ++ authentication for the root account in 2015. ++ ++ MariaDB 10.5 has been tested to be backwards compatible with all previous ++ versions of MariaDB and all previous versions of MySQL up until version 5.7. ++ Note that MySQL 8.0 introduces significant backwards incompatible changes ++ compared to MySQL 5.7, and thus in-place binary upgrades from MySQL 8.0 to ++ MariaDB 10.5 are not possible, but sysadmins need to upgrade by exporting and ++ importing SQL dumps of their databases. ++ ++ If you encounter any bugs, please make sure your bug report is of highest ++ standards so we can quickly reproduce and fix the issue. Even better if you ++ find the solution yourself, and can submit it as a Merge Request at ++ https://salsa.debian.org/mariadb-team/mariadb-10.5/ ++ ++ If you appreciate the Debian packaging work done, please star us on Salsa! ++ ++ -- Otto Kekäläinen Thu, 17 Sep 2020 14:37:47 +0300 ++ ++mariadb-10.1 (10.1.20-1) unstable; urgency=low ++ ++ MariaDB is now the default MySQL variant in Debian, at version 10.1. The ++ Stretch release introduces a new mechanism for switching the default ++ variant, using metapackages created from the 'mysql-defaults' source ++ package. For example, installing the metapackage 'default-mysql-server' will ++ install 'mariadb-server-10.1'. Users who had 'mysql-server-5.5' or ++ 'mysql-server-5.6' will have it removed and replaced by the MariaDB ++ equivalent. Similarly, installing 'default-mysql-client' will install ++ 'mariadb-client-10.1'. ++ ++ Note that the database binary data file formats are not backwards ++ compatible, so once you have upgraded to MariaDB 10.1 you will not be able ++ to switch back to any previous version of MariaDB or MySQL unless you have a ++ proper database dump. Therefore, before upgrading, please make backups of ++ all important databases with an appropriate tool such as 'mysqldump'. ++ ++ The 'virtual-mysql-*' and 'default-mysql-*' packages will continue to exist. ++ MySQL continues to be maintained in Debian, in the unstable release. See the ++ page https://wiki.debian.org/Teams/MySQL more information about the ++ mysql-related software available in Debian. ++ ++ -- Otto Kekäläinen Tue, 14 Mar 2017 16:21:58 +0200 diff --cc debian/mariadb-server.insserv.conf index 000000000,000000000..cb29a5477 new file mode 100644 --- /dev/null +++ b/debian/mariadb-server.insserv.conf @@@ -1,0 -1,0 +1,1 @@@ ++$database mysql diff --cc debian/mariadb-server.install index 2350196e9,000000000..a27293c15 mode 100644,000000..100755 --- a/debian/mariadb-server.install +++ b/debian/mariadb-server.install @@@ -1,94 -1,0 +1,96 @@@ ++#!/usr/bin/dh-exec +debian/additions/debian-start etc/mysql +debian/additions/debian-start.inc.sh usr/share/mysql +debian/additions/echo_stderr usr/share/mysql +debian/additions/mariadb.conf.d/50-mysqld_safe.cnf etc/mysql/mariadb.conf.d +debian/additions/mariadb.conf.d/50-server.cnf etc/mysql/mariadb.conf.d +debian/additions/source_mariadb.py usr/share/apport/package-hooks +etc/apparmor.d/usr.sbin.mariadbd +etc/logrotate.d/mariadb +etc/security/user_map.conf +lib/*/security/pam_user_map.so - lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf - lib/systemd/system/mysql.service - lib/systemd/system/mysqld.service - support-files/rpm/enable_encryption.preset etc/mysql/mariadb.conf.d/99-enable-encryption.cnf.preset ++[linux-any] lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf ++[linux-any] lib/systemd/system/mysql.service ++[linux-any] lib/systemd/system/mysqld.service +usr/bin/aria_chk +usr/bin/aria_dump_log +usr/bin/aria_ftdump +usr/bin/aria_pack +usr/bin/aria_read_log - usr/bin/galera_new_cluster - usr/bin/galera_recovery - usr/bin/mariadb-service-convert ++[linux-any] usr/bin/galera_new_cluster ++[linux-any] usr/bin/galera_recovery ++[linux-any] usr/bin/mariadb-service-convert +usr/bin/mariadbd-multi +usr/bin/mariadbd-safe +usr/bin/mariadbd-safe-helper +usr/bin/myisam_ftdump +usr/bin/myisamchk +usr/bin/myisamlog +usr/bin/myisampack +usr/bin/mysql_convert_table_format +usr/bin/mysql_plugin +usr/bin/mysql_secure_installation +usr/bin/mysql_setpermission +usr/bin/mysql_tzinfo_to_sql +usr/bin/mysqlbinlog +usr/bin/mysqld_multi +usr/bin/mysqld_safe +usr/bin/mysqld_safe_helper +usr/bin/mysqlhotcopy +usr/bin/wsrep_sst_common ++usr/bin/wsrep_sst_backup +usr/bin/wsrep_sst_mariabackup +usr/bin/wsrep_sst_mysqldump +usr/bin/wsrep_sst_rsync +usr/bin/wsrep_sst_rsync_wan +usr/lib/mysql/plugin/auth_ed25519.so +usr/lib/mysql/plugin/auth_pam.so +usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool +usr/lib/mysql/plugin/auth_pam_v1.so - usr/lib/mysql/plugin/disks.so ++[linux-any] usr/lib/mysql/plugin/disks.so +usr/lib/mysql/plugin/file_key_management.so +usr/lib/mysql/plugin/ha_archive.so +usr/lib/mysql/plugin/ha_blackhole.so +usr/lib/mysql/plugin/ha_federated.so +usr/lib/mysql/plugin/ha_federatedx.so +usr/lib/mysql/plugin/ha_sphinx.so +usr/lib/mysql/plugin/handlersocket.so +usr/lib/mysql/plugin/locales.so +usr/lib/mysql/plugin/metadata_lock_info.so +usr/lib/mysql/plugin/password_reuse_check.so +usr/lib/mysql/plugin/query_cache_info.so +usr/lib/mysql/plugin/query_response_time.so +usr/lib/mysql/plugin/server_audit.so +usr/lib/mysql/plugin/simple_password_check.so +usr/lib/mysql/plugin/sql_errlog.so +usr/lib/mysql/plugin/type_mysql_json.so +usr/lib/mysql/plugin/wsrep_info.so +usr/share/doc/mariadb-server/mariadbd.sym.gz +usr/share/man/man1/aria_chk.1 +usr/share/man/man1/aria_dump_log.1 +usr/share/man/man1/aria_ftdump.1 +usr/share/man/man1/aria_pack.1 +usr/share/man/man1/aria_read_log.1 - usr/share/man/man1/galera_new_cluster.1 - usr/share/man/man1/galera_recovery.1 - usr/share/man/man1/mariadb-service-convert.1 ++[linux-any] usr/share/man/man1/galera_new_cluster.1 ++[linux-any] usr/share/man/man1/galera_recovery.1 ++[linux-any] usr/share/man/man1/mariadb-service-convert.1 +usr/share/man/man1/mariadbd-multi.1 +usr/share/man/man1/mariadbd-safe-helper.1 +usr/share/man/man1/mariadbd-safe.1 +usr/share/man/man1/myisam_ftdump.1 +usr/share/man/man1/myisamchk.1 +usr/share/man/man1/myisamlog.1 +usr/share/man/man1/myisampack.1 +usr/share/man/man1/mysqld_multi.1 +usr/share/man/man1/mysqld_safe.1 ++usr/share/man/man1/wsrep_sst_backup.1 +usr/share/man/man1/mysqld_safe_helper.1 +usr/share/man/man1/wsrep_sst_common.1 +usr/share/man/man1/wsrep_sst_mariabackup.1 +usr/share/man/man1/wsrep_sst_mysqldump.1 +usr/share/man/man1/wsrep_sst_rsync.1 +usr/share/man/man1/wsrep_sst_rsync_wan.1 +usr/share/mysql/errmsg-utf8.txt +usr/share/mysql/mini-benchmark +usr/share/mysql/wsrep.cnf +usr/share/mysql/wsrep_notify diff --cc debian/mariadb-server.links index 000000000,000000000..9cc3a436b new file mode 100644 --- /dev/null +++ b/debian/mariadb-server.links @@@ -1,0 -1,0 +1,10 @@@ ++usr/bin/mariadb-binlog usr/bin/mysqlbinlog ++usr/bin/mariadb-convert-table-format usr/bin/mysql_convert_table_format ++usr/bin/mariadb-hotcopy usr/bin/mysqlhotcopy ++usr/bin/mariadb-plugin usr/bin/mysql_plugin ++usr/bin/mariadb-secure-installation usr/bin/mysql_secure_installation ++usr/bin/mariadb-setpermission usr/bin/mysql_setpermission ++usr/bin/mariadb-tzinfo-to-sql usr/bin/mysql_tzinfo_to_sql ++usr/bin/mariadbd-multi usr/bin/mysqld_multi ++usr/bin/mariadbd-safe usr/bin/mysqld_safe ++usr/bin/mariadbd-safe-helper usr/bin/mysqld_safe_helper diff --cc debian/mariadb-server.lintian-overrides index 000000000,000000000..dbdceb022 new file mode 100644 --- /dev/null +++ b/debian/mariadb-server.lintian-overrides @@@ -1,0 -1,0 +1,13 @@@ ++# False positive in Lintian, template is actually used ++unused-debconf-template mariadb-server/old_data_directory_saved [templates:2] ++# MyISAM stopwords that cannot be changed and spelling errors remain ++spelling-error-in-binary noone no one [usr/bin/*] ++spelling-error-in-binary thats that's [usr/bin/*] ++spelling-error-in-binary theres there's [usr/bin/*] ++# False positive from Lintian, these strings are nowhere in test in source code ++spelling-error-in-binary AfE Safe [usr/bin/*] ++# Intentional in-context documentation ++package-contains-documentation-outside-usr-share-doc [usr/share/mysql/errmsg-utf8.txt] ++# mysql(d).service are symlinks to mariadb.service, and there is indeed a init.d/mariadb shipped ++package-supports-alternative-init-but-no-init.d-script [lib/systemd/system/mysql.service] ++package-supports-alternative-init-but-no-init.d-script [lib/systemd/system/mysqld.service] diff --cc debian/mariadb-server.logcheck.ignore.server index a64fc54e1,000000000..7db321a02 mode 100644,000000..100644 --- a/debian/mariadb-server.logcheck.ignore.server +++ b/debian/mariadb-server.logcheck.ignore.server @@@ -1,30 -1,0 +1,30 @@@ +/etc/init.d/mariadb\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ +/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ +mariadbd\[[0-9]+\]: ?$ +mariadbd\[[0-9]+\]: .*InnoDB: Shutdown completed +mariadbd\[[0-9]+\]: .*InnoDB: Started; +mariadbd\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Normal shutdown$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Shutdown complete$ +mariadbd\[[0-9]+\]: /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*/usr/sbin/mariadbd: Shutdown Complete$ +mariadbd\[[0-9]+\]: Version: .* socket +mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ +mysqld_safe\[[0-9]+\]: ?$ +mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$ +mysqld_safe\[[0-9]+\]: ended$ +mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$ +mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$ - mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$ ++mysqld_safe\[[0-9]+\]: Please report any problems at https://jira.mariadb.org$ +mysqld_safe\[[0-9]+\]: See the manual for more instructions.$ +mysqld_safe\[[0-9]+\]: started$ +mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$ +mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$ +mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$ +usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ +usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --cc debian/mariadb-server.logcheck.ignore.workstation index a64fc54e1,000000000..7db321a02 mode 100644,000000..100644 --- a/debian/mariadb-server.logcheck.ignore.workstation +++ b/debian/mariadb-server.logcheck.ignore.workstation @@@ -1,30 -1,0 +1,30 @@@ +/etc/init.d/mariadb\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ +/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ +mariadbd\[[0-9]+\]: ?$ +mariadbd\[[0-9]+\]: .*InnoDB: Shutdown completed +mariadbd\[[0-9]+\]: .*InnoDB: Started; +mariadbd\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Normal shutdown$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Shutdown complete$ +mariadbd\[[0-9]+\]: /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*/usr/sbin/mariadbd: Shutdown Complete$ +mariadbd\[[0-9]+\]: Version: .* socket +mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ +mysqld_safe\[[0-9]+\]: ?$ +mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$ +mysqld_safe\[[0-9]+\]: ended$ +mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$ +mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$ - mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$ ++mysqld_safe\[[0-9]+\]: Please report any problems at https://jira.mariadb.org$ +mysqld_safe\[[0-9]+\]: See the manual for more instructions.$ +mysqld_safe\[[0-9]+\]: started$ +mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$ +mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$ +mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$ +usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ +usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --cc debian/mariadb-server.mariadb.init index f4051d4b0,000000000..2e1b3c849 mode 100644,000000..100644 --- a/debian/mariadb-server.mariadb.init +++ b/debian/mariadb-server.mariadb.init @@@ -1,225 -1,0 +1,222 @@@ +#!/bin/bash +# +### BEGIN INIT INFO +# Provides: mariadb +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Should-Start: $network $named $time +# Should-Stop: $network $named $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start and stop the mysql database server daemon +# Description: Controls the main MariaDB database server daemon "mariadbd" +# and its wrapper script "mysqld_safe". +### END INIT INFO +# +set -e +set -u +${DEBIAN_SCRIPT_DEBUG:+ set -v -x} + +test -x /usr/sbin/mariadbd || exit 0 + +. /lib/lsb/init-functions + +SELF=$(cd "$(dirname $0)"; pwd -P)/$(basename $0) + +if [ -f /usr/bin/mariadb-admin ] +then + MYADMIN="/usr/bin/mariadb-admin --defaults-file=/etc/mysql/debian.cnf" +elif [ -f /usr/bin/mysqladmin ] +then + MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" +else + log_failure_msg "Command mariadb-admin/mysqladmin not found! This SysV init script depends on it." + exit -1 +fi + - if [ ! -x /usr/bin/mariadbd-safe ] ++if [ ! -x /usr/bin/mysqld_safe ] +then - log_failure_msg "/usr/bin/mariadbd-safe not found or executable! This SysV init script depends on it." ++ log_failure_msg "/usr/bin/mysqld_safe not found or executable! This SysV init script depends on it." + exit -1 +fi + +# priority can be overridden and "-s" adds output to stderr +ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mariadb -i" + +if [ -f /etc/default/mysql ]; then + . /etc/default/mysql +fi + +# Also source default/mariadb in case the installation was upgraded from +# packages originally installed from MariaDB.org repositories, which have +# had support for reading /etc/default/mariadb since March 2016. +if [ -f /etc/default/mariadb ]; then + . /etc/default/mariadb +fi + +# Safeguard (relative paths, core dumps..) +cd / +umask 077 + +# mysqladmin likes to read /root/.my.cnf. This is usually not what I want +# as many admins e.g. only store a password without a username there and +# so break my scripts. +export HOME=/etc/mysql/ + +## Fetch a particular option from mysql's invocation. +# +# Usage: void mariadbd_get_param option +mariadbd_get_param() { + /usr/sbin/mariadbd --print-defaults \ + | tr " " "\n" \ + | grep -- "--$1" \ + | tail -n 1 \ + | cut -d= -f2 +} + +## Do some sanity checks before even trying to start mariadbd. +sanity_checks() { + # check for config file + if [ ! -r /etc/mysql/my.cnf ]; then + log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" + echo "WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" | $ERR_LOGGER + fi + + # check for diskspace shortage + datadir=`mariadbd_get_param datadir` - # As preset blocksize of GNU df is 1024 then available bytes is $df_available_blocks * 1024 - # 4096 blocks is then lower than 4 MB - df_available_blocks=`LC_ALL=C BLOCKSIZE= df --output=avail "$datadir" | tail -n 1` - if [ "$df_available_blocks" -lt "4096" ]; then ++ if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit ($4>4096) }'; then + log_failure_msg "$0: ERROR: The partition with $datadir is too full!" + echo "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER + exit 1 + fi +} + +## Checks if there is a server running and if so if it is accessible. +# +# check_alive insists on a pingable server +# check_dead also fails if there is a lost mariadbd in the process list +# +# Usage: boolean mariadbd_status [check_alive|check_dead] [warn|nowarn] +mariadbd_status () { + ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? )) + + ps_alive=0 + pidfile=`mariadbd_get_param pid-file` + if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi + + if [ "$1" = "check_alive" -a $ping_alive = 1 ] || + [ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then + return 0 # EXIT_SUCCESS + else + if [ "$2" = "warn" ]; then + echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug + fi + return 1 # EXIT_FAILURE + fi +} + +# +# main() +# + +case "${1:-''}" in + + 'start') + sanity_checks; + # Start daemon + log_daemon_msg "Starting MariaDB database server" "mariadbd" + if mariadbd_status check_alive nowarn; then + log_progress_msg "already running" + log_end_msg 0 + else + # Could be removed during boot + test -e /run/mysqld || install -m 755 -o mysql -g root -d /run/mysqld + + # Start MariaDB! - /usr/bin/mariadbd-safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER & ++ /usr/bin/mysqld_safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER & + + for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do + sleep 1 + if mariadbd_status check_alive nowarn ; then break; fi + log_progress_msg "." + done + if mariadbd_status check_alive warn; then + log_end_msg 0 + # Now start mysqlcheck or whatever the admin wants. + output=$(/etc/mysql/debian-start) + if [ -n "$output" ]; then + log_action_msg "$output" + fi + else + log_end_msg 1 + log_failure_msg "Please take a look at the syslog" + fi + fi + ;; + + 'stop') + # * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible + # at least for cron, we can rely on it here, too. (although we have + # to specify it explicit as e.g. sudo environments points to the normal + # users home and not /root) + log_daemon_msg "Stopping MariaDB database server" "mariadbd" + if ! mariadbd_status check_dead nowarn; then + set +e + shutdown_out=`$MYADMIN shutdown 2>&1`; r=$? + set -e + if [ "$r" -ne 0 ]; then + log_end_msg 1 + [ "$VERBOSE" != "no" ] && log_failure_msg "Error: $shutdown_out" + log_daemon_msg "Killing MariaDB database server by signal" "mariadbd" + killall -15 mariadbd + server_down= + for i in `seq 1 600`; do + sleep 1 + if mariadbd_status check_dead nowarn; then server_down=1; break; fi + done + if test -z "$server_down"; then killall -9 mariadbd; fi + fi + fi + + if ! mariadbd_status check_dead warn; then + log_end_msg 1 + log_failure_msg "Please stop MariaDB manually and read /usr/share/doc/mariadb-server/README.Debian.gz!" + exit -1 + else + log_end_msg 0 + fi + ;; + + 'restart') + set +e; $SELF stop; set -e + shift + $SELF start "${@}" + ;; + + 'reload'|'force-reload') + log_daemon_msg "Reloading MariaDB database server" "mariadbd" + $MYADMIN reload + log_end_msg 0 + ;; + + 'status') + if mariadbd_status check_alive nowarn; then + log_action_msg "$($MYADMIN version)" + else + log_action_msg "MariaDB is stopped." + exit 3 + fi + ;; + + 'bootstrap') + # Bootstrap the cluster, start the first node + # that initiates the cluster + log_daemon_msg "Bootstrapping the cluster" "mariadbd" + $SELF start "${@:2}" --wsrep-new-cluster + ;; + + *) + echo "Usage: $SELF start|stop|restart|reload|force-reload|status" + exit 1 + ;; +esac diff --cc debian/mariadb-server.postinst index a5ab6e8e1,000000000..bd836ca37 mode 100644,000000..100644 --- a/debian/mariadb-server.postinst +++ b/debian/mariadb-server.postinst @@@ -1,277 -1,0 +1,291 @@@ +#!/bin/bash +set -e + +. /usr/share/debconf/confmodule + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin + +# This command can be used as pipe to syslog. With "-s" it also logs to stderr. +ERR_LOGGER="logger -p daemon.err -t mariadb-server.postinst -i" +# Specify syslog tag name so it is clear the entry came from this postinst script. +# This will make an error in a logged command immediately apparent by aborting +# the install, rather than failing silently and leaving a broken install. +set -o pipefail + +case "$1" in + configure) - # This is needed because mariadb-install-db removes the pid file in /run ++ # This is needed because mysql_install_db removes the pid file in /run + # and because changed configuration options should take effect immediately. + # In case the server wasn't running at all it should be ok if the stop + # script fails. I can't tell at this point because of the cleaned /run. + set +e; invoke-rc.d mariadb stop; set -e + + # An existing /etc/init.d/mysql might be on the system if there was a + # previous MySQL or MariaDB installation, since /etc/init.d files are + # considered config files and stay around even after the package is removed. + # + # The install step of this package adds a new /etc/init.d/mariadb file. As + # we also want to ensure that there are no old (and potentially outdated) + # versions of /etc/init.d/mysql we simply replace it using a copy of the + # latest 'mariadb' file. This has also the added benefit that anything that + # invokes traditional sysv init with either 'mysql' or 'mariadb' will end up + # controlling this newly installed MariaDB, and thus we maintain better + # backwards compatibility. + # + # Note that the 'Provides' line is also updated to avoid 'insserv' exiting + # on failure (when it is run by update-rc.d) because of duplicate service + # names. + if [ -f "/etc/init.d/mysql" ] && [ -f "/etc/init.d/mariadb" ] + then + # Copy init file and rename the service name and filename on the fly + sed 's/Provides: mariadb/Provides: mysql/g' /etc/init.d/mariadb > /etc/init.d/mysql + # NOTE: Number of spaces/tabs is important here! + # Confirm if the sed worked + if ! grep --quiet "Provides: mysql" /etc/init.d/mysql + then + # If not, then delete the file to avoid failures later on + rm -f /etc/init.d/mysql + echo "Warning! Failed creating a mysql named copy of mariadb init.d file" + fi + fi + + mysql_statedir=/usr/share/mysql + mysql_datadir=/var/lib/mysql + mysql_logdir=/var/log/mysql + mysql_cfgdir=/etc/mysql + mysql_upgradedir=/var/lib/mysql-upgrade + + # If the following symlink exists, it is a preserved copy the old data dir + # created by the preinst script during a upgrade that would have otherwise + # been replaced by an empty mysql dir. This should restore it. + for dir in DATADIR LOGDIR; do + + if [ "$dir" = "DATADIR" ]; then + targetdir=$mysql_datadir + else + targetdir=$mysql_logdir + fi + + savelink="$mysql_upgradedir/$dir.link" + if [ -L "$savelink" ]; then + # If the targetdir was a symlink before we upgraded it is supposed + # to be either still be present or not existing anymore now. + if [ -L "$targetdir" ]; then + rm "$savelink" + elif [ ! -d "$targetdir" ]; then + mv "$savelink" "$targetdir" + else + # this should never even happen, but just in case... + mysql_tmp=$(mktemp -d -t mysql-symlink-restore-XXXXXX) + echo "this is very strange! see $mysql_tmp/README..." >&2 + mv "$targetdir" "$mysql_tmp" + cat << EOF > "$mysql_tmp/README" + +If you're reading this, it's most likely because you had replaced /var/lib/mysql +with a symlink, then upgraded to a new version of mysql, and then dpkg +removed your symlink (see #182747 and others). The mysql packages noticed +that this happened, and as a workaround have restored it. However, because +/var/lib/mysql seems to have been re-created in the meantime, and because +we don't want to rm -rf something we don't know as much about, we are going +to leave this unexpected directory here. If your database looks normal, +and this is not a symlink to your database, you should be able to blow +this all away. + +EOF + fi + fi + rmdir $mysql_upgradedir 2>/dev/null || true + + done + + # Upgrading from mysql.com needs might have the root user as auth_socket. + # auto.cnf is a sign of a mysql install, that doesn't exist in mariadb. + # We use lsof to protect against concurrent access by mysqld (mariadb has + # its own projection). We make sure we're not doing this on a MySQL-8.0 + # directory. + # This direct update is needed to enable an authentication mechanism to + # perform mariadb-upgrade, (MDEV-22678). To keep the impact minimal, we + # skip innodb and set key-buffer-size to 0 as it isn't reused. + if [ -f "$mysql_datadir"/auto.cnf ] && [ -f "$mysql_datadir"/mysql/user.MYD ] && + [ ! lsof -nt "$mysql_datadir"/mysql/user.MYD > /dev/null ] && [ ! -f "$mysql_datadir"/undo_001 ]; then + echo "UPDATE mysql.user SET plugin='unix_socket' WHERE plugin='auth_socket';" | + mariadbd --skip-innodb --key_buffer_size=0 --default-storage-engine=MyISAM --bootstrap 2> /dev/null + fi + + # Ensure the existence and right permissions for the database and + # log files. Use mkdir option 'Z' to create with correct SELinux context. + if [ ! -d "$mysql_statedir" ] && [ ! -L "$mysql_statedir" ]; then mkdir -Z "$mysql_statedir"; fi + if [ ! -d "$mysql_datadir" ] && [ ! -L "$mysql_datadir" ]; then mkdir -Z "$mysql_datadir" ; fi - if [ ! -d "$mysql_logdir" ] && [ ! -L "$mysql_logdir" ]; then mkdir -Z "$mysql_logdir" ; fi + # When creating an ext3 jounal on an already mounted filesystem like e.g. + # /var/lib/mysql, you get a .journal file that is not modifiable by chown. + # The mysql_statedir must not be writable by the mysql user under any + # circumstances as it contains scripts that are executed by root. + set +e - chown -R 0:0 $mysql_statedir ++ find $mysql_statedir ! -uid 0 -print0 -or ! -gid 0 -print0 | xargs -0 -r sudo chown 0:0 + find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql - chown -R mysql:adm $mysql_logdir - chmod 2750 $mysql_logdir + set -e + + ## Set the correct filesystem ownership for the PAM v2 plugin + # eg. /usr/lib/x86_64-linux-gnu/mysql/plugin/auth_pam_tool_dir/ + # NOTE! This is security sensitive, don't allow for a race condition. + # + # 1. Drop privileges of directory + # -> At this point only root can see and execute auth_pam_tool + chmod 0700 /usr/lib/mysql/plugin/auth_pam_tool_dir + # + # 2. Make binary setuid + # -> At this point only root can run the setuid binary so no escalation here yet + chmod 04755 /usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool + # + # 3. Allow user 'mysql' to see and execute auth_pam_tool + # -> Now user mysql owns the directory and can see and execute the binary inside + # -> Since the binary is setuid, user mysql gets limited root powers here to + # run the PAM authetications, which need root (e.g. to validate passwords + # against /etc/shadow) + chown mysql /usr/lib/mysql/plugin/auth_pam_tool_dir + + # This is important to avoid dataloss when there is a removed + # mysql-server version from Woody lying around which used the same + # data directory and then somehow gets purged by the admin. + db_set mariadb-server/postrm_remove_database false || true + + # Clean up old flags before setting new one + rm -f $mysql_datadir/debian-*.flag + # Flag data dir to avoid downgrades ++ # @TODO: Rewrite this to use the new upstream /var/lib/mysql_upgrade_info file ++ # instead of the legacy /var/lib/debian-XX.X.flag file + touch "$mysql_datadir/debian-__MARIADB_MAJOR_VER__.flag" + + # initiate databases. Output is not allowed by debconf :-( + # This will fail if we are upgrading an existing database; in this case - # mariadb-upgrade, called from the /etc/mysql/debian-start script, will ++ # mysql_upgrade, called from the /etc/init.d/mariadb start script, will + # handle things. + # Debian: beware of the bashisms... + # Debian: can safely run on upgrades with existing databases ++ # Workaround for Debian Bug #1022994: failure to create database when ++ # working with libpam-tmpdir (by setting TMPDIR to empty value). + set +e - bash /usr/bin/mariadb-install-db --rpm --cross-bootstrap --user=mysql \ - --disable-log-bin --skip-test-db 2>&1 | \ - $ERR_LOGGER ++ TMPDIR= bash /usr/bin/mysql_install_db --rpm --cross-bootstrap \ ++ --user=mysql --disable-log-bin \ ++ --skip-test-db 2>&1 | $ERR_LOGGER + set -e + + # On new installations root user can connect via unix_socket. + # But on upgrades, scripts rely on debian-sys-maint user and + # credentials in /etc/mysql/debian.cnf + # All tools use --defaults-file=/etc/mysql/debian.cnf + # And while it's not needed for new installations, we keep using + # --defaults-file option for tools (for the sake of upgrades) + # and thus need /etc/mysql/debian.cnf to exist, even if it's empty. + # In the long run the goal is to obsolete this file. + dc=$mysql_cfgdir/debian.cnf; + if [ ! -d "$mysql_cfgdir" ]; then + install -o 0 -g 0 -m 0755 -d $mysql_cfgdir + fi + if [ ! -e "$dc" ]; then + cat /dev/null > $dc + echo "# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE." >>$dc + echo "# This file exists only for backwards compatibility for" >>$dc + echo "# tools that run '--defaults-file=/etc/mysql/debian.cnf'" >>$dc + echo "# and have root level access to the local filesystem." >>$dc + echo "# With those permissions one can run 'mariadb' directly" >>$dc + echo "# anyway thanks to unix socket authentication and hence" >>$dc + echo "# this file is useless. See package README for more info." >>$dc + echo "[client]" >>$dc + echo "host = localhost" >>$dc + echo "user = root" >>$dc + echo "[mysql_upgrade]" >>$dc + echo "host = localhost" >>$dc + echo "user = root" >>$dc + echo "# THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE." >>$dc + fi + # Keep it only root-readable, as it always was + chown 0:0 $dc + chmod 0600 $dc + + # If there is a real AppArmor profile, we reload it. + # If the default empty profile is installed, then we remove any old + # profile that may be loaded. + # This allows upgrade from old versions (that have an apparmor profile + # on by default) to work both to disable a default profile, and to keep + # any profile installed and maintained by users themselves. + profile="/etc/apparmor.d/usr.sbin.mariadbd" + if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then + if grep -q /usr/sbin/mariadbd "$profile" 2>/dev/null ; then + apparmor_parser -r "$profile" || true + else + echo "/usr/sbin/mariadbd { }" | apparmor_parser --remove 2>/dev/null || true + fi + fi + + # The introduction of /etc/logrotate.d/mariadb has made the old config + # obsolete and it needs to be disabled to prevent logrotate running twice. + if [ -f /etc/logrotate.d/mysql-server ] + then + mv -vf /etc/logrotate.d/mysql-server /etc/logrotate.d/mysql-server.dpkg-bak + fi + - # @TODO: Remove once buildbot.askmonty.org has been updated not to expect this file - mkdir -p /etc/systemd/system/mariadb.service.d/ - # Note that file cannot be empty, otherwise systemd version in Ubuntu Bionic - # will think the service is masked - echo "# empty placeholder" > /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf ++ # The introduction of versionless server package is not fully backwards ++ # compatible as the purge of an old mariadb-server-x.y package would ++ # commands such as 'deb-systemd-helper purge mariadb.service' and ++ # 'update-rc.d mariadb remove'. Fix it by simly deleting any existing postrm ++ # stanzas opportunisticly. ++ for old_postrm_file in /var/lib/dpkg/info/mariadb-server-10.?.postrm ++ do ++ # For loop will always run, but the globbing pattern will be expanded into ++ # something only if there are files that match the pattern, so we need to ++ # not act on it if the result is just the globbing pattern itself. ++ if [ "$old_postrm_file" != "/var/lib/dpkg/info/mariadb-server-10.?.postrm" ] ++ then ++ sed '/Automatically added by dh_installinit/,/End automatically added section/d' \ ++ -i "$old_postrm_file" || true ++ sed '/Automatically added by dh_systemd_enable/,/End automatically added section/d' \ ++ -i "$old_postrm_file" || true ++ fi ++ done + + ;; + + abort-upgrade|abort-remove|abort-configure) + ;; + + triggered) + if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload - else ++ elif [ -x /etc/init.d/mariadb ]; then + invoke-rc.d mariadb restart + fi + ;; + + *) + echo "postinst called with unknown argument '$1'" 1>&2 + exit 1 + ;; +esac + +db_stop # in case invoke fails + +# dh_systemd_start doesn't emit anything since we still ship /etc/init.d/mariadb. +# Thus MariaDB server is started via init.d script, which in turn redirects to +# systemctl. If we upgrade from MySQL mysql.service may be masked, which also +# means init.d script is disabled. Unmask mysql service explicitly. +# Check first that the command exists, to avoid emitting any warning messages. +if [ -x "$(command -v deb-systemd-helper)" ]; then + deb-systemd-helper unmask mysql.service > /dev/null +fi + +#DEBHELPER# + +# Modified dh_systemd_start snippet that's not added automatically +if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true + deb-systemd-invoke start mariadb.service >/dev/null || true +# Modified dh_installinit snippet to only run with sysvinit +elif [ -x "/etc/init.d/mariadb" ]; then + if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + invoke-rc.d mariadb start || exit $? + fi +fi diff --cc debian/mariadb-server.postrm index 035f10bbb,000000000..495800fc9 mode 100644,000000..100644 --- a/debian/mariadb-server.postrm +++ b/debian/mariadb-server.postrm @@@ -1,94 -1,0 +1,95 @@@ +#!/bin/bash +set -e + +. /usr/share/debconf/confmodule + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" + +# Try to stop the server in a sane way. If it does not success let the admin +# do it himself. No database directories should be removed while the server +# is running! Another mariadbd in e.g. a different chroot is fine for us. +stop_server() { + # Return immediately if there are no mysqld processes running + # as there is no point in trying to shutdown in that case. + if ! pgrep -x --nslist pid --ns $$ "mysqld|mariadbd" > /dev/null; then return; fi + + set +e + invoke-rc.d mariadb stop + invoke-rc.d mysql stop # Backwards compatibility + errno=$? + set -e + + # systemctl could emit exit code 100=no init script (fresh install) + if [ "$errno" != 0 -a "$errno" != 100 ]; then + echo "Attempt to stop MariaDB/MySQL server returned exitcode $errno" 1>&2 + echo "There is a MariaDB/MySQL server running, but we failed in our attempts to stop it." 1>&2 - echo "Stop it yourself and try again!" 1>&2 ++ echo "Check if there is any server running with 'pgrep \"mysqld|mariadbd\"' and" 1>&2 ++ echo "try to stop it yourself by issuing 'invoke-rc.d mariadb stop'." 1>&2 + db_stop + exit 1 + fi +} + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + if [ -n "`$MYADMIN ping 2>/dev/null`" ]; then + stop_server + sleep 2 + fi + ;; + *) + echo "postrm called with unknown argument '$1'" 1>&2 + exit 1 + ;; +esac + +# +# - Purge logs and data only if they are ours (#307473) +# - Remove the mysql user only after all his owned files are purged. +# - Cleanup the initscripts only if this was the last provider of them +# +if [ "$1" = "purge" ] && [ -f "/var/lib/mysql/debian-__MARIADB_MAJOR_VER__.flag" ]; then + # we remove the mysql user only after all his owned files are purged + rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz} + rm -rf /var/log/mysql + + db_input high "mariadb-server/postrm_remove_databases" || true + db_go || true + db_get "mariadb-server/postrm_remove_databases" || true + if [ "$RET" = "true" ]; then + # never remove the debian.cnf when the databases are still existing + # else we ran into big trouble on the next install! + rm -f /etc/mysql/debian.cnf + # Remove all contents from /var/lib/mysql except if it's a + # directory with file system data. See #829491 for details and + # #608938 for potential mysql-server leftovers which erroneously + # had been renamed. + # Attempt removal only if the directory hasn't already been removed + # by dpkg to avoid failing on "No such file or directory" errors. + if [ -d /var/lib/mysql ] + then + find /var/lib/mysql -mindepth 1 \ + -not -path '*/lost+found/*' -not -name 'lost+found' \ + -not -path '*/lost@002bfound/*' -not -name 'lost@002bfound' \ + -delete + + # "|| true" still needed as rmdir still exits with non-zero if + # /var/lib/mysql is a mount point + rmdir --ignore-fail-on-non-empty /var/lib/mysql || true + fi + rm -rf /run/mysqld # this directory is created by the init script, don't leave behind + userdel mysql || true + fi + +fi + +#DEBHELPER# + +# Modified dh_systemd_start snippet that's not added automatically +if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true +fi diff --cc debian/mariadb-server.preinst index 2204d230b,000000000..026e6035e mode 100644,000000..100644 --- a/debian/mariadb-server.preinst +++ b/debian/mariadb-server.preinst @@@ -1,236 -1,0 +1,253 @@@ +#!/bin/bash -e +# +# summary of how this script can be called: +# * install +# * install +# * upgrade +# * abort-upgrade +# + +. /usr/share/debconf/confmodule + +# Just kill the invalid insserv.conf.d directory without fallback +if [ -d "/etc/insserv.conf.d/mariadb/" ]; then + rm -rf "/etc/insserv.conf.d/mariadb/" +fi + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin +mysql_datadir=/var/lib/mysql +mysql_upgradedir=/var/lib/mysql-upgrade + +# Try to stop the server in a sane way. If it does not success let the admin +# do it himself. No database directories should be removed while the server +# is running! Another mariadbd in e.g. a different chroot is fine for us. +stop_server() { + # Return immediately if there are no mysqld processes running on a host + # (leave containerized processes with the same name in other namespaces) + # as there is no point in trying to shutdown in that case. + if ! pgrep -x --nslist pid --ns $$ "mysqld|mariadbd" > /dev/null; then return; fi + + set +e + invoke-rc.d mariadb stop + invoke-rc.d mysql stop # Backwards compatibility + errno=$? + set -e + + # systemctl could emit exit code 100=no init script (fresh install) + if [ "$errno" != 0 -a "$errno" != 100 ]; then + echo "Attempt to stop MariaDB/MySQL server returned exitcode $errno" 1>&2 + echo "There is a MariaDB/MySQL server running, but we failed in our attempts to stop it." 1>&2 + echo "Stop it yourself and try again!" 1>&2 + db_stop + exit 1 + fi +} + +################################ main() ########################## + +# @TODO: Rewrite this to use the new upstream /var/lib/mysql_upgrade_info file +# instead of the legacy /var/lib/debian-XX.X.flag file +this_version=__MARIADB_MAJOR_VER__ +max_upgradeable_version=5.7 + +# Check if a flag file is found that indicates a previous MariaDB or MySQL +# version was installed. If multiple flags are found, check which one was +# the biggest version number. +for flag in $mysql_datadir/debian-*.flag +do + + # The for loop leaves $flag as the query string if there are no results, + # so the check below is needed to stop further processing when there are + # no real results. + if [ "$flag" = "$mysql_datadir/debian-*.flag" ] + then + break + fi + + flag_version=$(echo "$flag" | sed 's/.*debian-\([0-9\.]\+\).flag/\1/') + + # Initialize value if empty + if [ -z "$found_version" ] + then + found_version=$flag_version + fi + + # Update value if now bigger then before + if dpkg --compare-versions "$flag_version" '>>' "$found_version" + then + found_version=$flag_version + fi + +done + + +# If an upgrade is detected, proceed with it automatically without +# requiring any user interaction. +# +# However, if the user attempts to downgrade, warn about the incompatibility. +# Downgrade is detected if the flag version is bigger than $this_version +# (e.g. 10.1 > 10.0) or the flag version is smaller than 10.0 but bigger +# than $max_upgradeable_version. +if [ ! -z "$found_version" ] +then + + # MySQL 8.0 in Ubuntu has a bug in packaging and the file is name wrongly + # 'debian-5.7.flag', so in case '5.7' was encountered an extra check needs to + # be done to see is there is a file called undo_001, which is a sign of 8.0. + if [ "$found_version" == "5.7" ] && [ -f "$mysql_datadir/undo_001" ] + then + # Seems to be a 8.0, flag has wrongly 5.7 (know bug) + found_version=8.0 + fi + + echo "$mysql_datadir: found previous version $found_version" + + if dpkg --compare-versions "$found_version" '>>' "$this_version" + then + downgrade_detected=true + fi + + if dpkg --compare-versions "$found_version" '>>' "$max_upgradeable_version" \ + && dpkg --compare-versions "$found_version" '<<' "10.0" + then + downgrade_detected=true + fi + +fi + +# If there is no debian-*.flag, and no version was detected, but a file that - # indicated MySQL 8.0 is found (undo_001 is created by default in MySQL 8.0+ - # installs), then that file is enough of additional indication to trigger the - # move of the data directory. ++# indicated MySQL 8.0 is found, assume so and trigger data directory moval. +if [ -z "$found_version" ] && + [ -z "$(find $mysql_datadir/debian-*.flag 2> /dev/null)" ] && + [ -f "$mysql_datadir/undo_001" ] +then + echo "$mysql_datadir: no server version flag found, assuming MySQL 8.0 data encountered" + downgrade_detected=true + found_version="previous" # Just use dummy name as we don't know real version +fi + +# Don't abort dpkg if downgrade is detected (as was done previously). +# Instead simply move the old datadir and create a new for this_version. +if [ ! -z "$downgrade_detected" ] +then + db_input critical "mariadb-server/old_data_directory_saved" || true + db_go + echo "The file $mysql_datadir/debian-$found_version.flag indicates a" 1>&2 + echo "version that cannot automatically be upgraded. Therefore the" 1>&2 + echo "previous data directory will be renamed to $mysql_datadir-$found_version and" 1>&2 + echo "a new data directory will be initialized at $mysql_datadir." 1>&2 + echo "Please manually export/import your data (e.g. with mysqldump) if needed." 1>&2 + mv -f "$mysql_datadir" "$mysql_datadir-$found_version" + # Also move away the old debian.cnf file that included credentials that are + # no longer valid. If none existed, ignore error and let dpkg continue. + mv -f /etc/mysql/debian.cnf "/etc/mysql/debian.cnf-$found_version" || true +fi + +# to be sure +stop_server + +# If we use NIS then errors should be tolerated. It's up to the +# user to ensure that the mysql user is correctly setup. +# Beware that there are two ypwhich one of them needs the 2>/dev/null! +if test -n "$(which ypwhich 2>/dev/null)" && ypwhich >/dev/null 2>&1; then + set +e +fi + +# +# Now we have to ensure the following state: +# /etc/passwd: mysql:x:100:101:MySQL Server:/nonexistent:/bin/false +# /etc/group: mysql:x:101: +# +# Sadly there could any state be present on the system so we have to +# modify everything carefully i.e. not doing a chown before creating +# the user etc... +# + +# creating mysql group if he isn't already there +if ! getent group mysql >/dev/null; then + # Adding system group: mysql. + addgroup --system mysql >/dev/null +fi + +# creating mysql user if he isn't already there +if ! getent passwd mysql >/dev/null; then + # Adding system user: mysql. + adduser \ + --system \ + --disabled-login \ + --ingroup mysql \ + --no-create-home \ + --home /nonexistent \ + --gecos "MySQL Server" \ + --shell /bin/false \ - mysql >/dev/null ++ mysql >/dev/null 2>&1 +fi + +# end of NIS tolerance zone +set -e + +# if there's a symlink, let's store where it's pointing, because otherwise +# it's going to be lost in some situations +for dir in DATADIR LOGDIR; do + checkdir=$(eval echo "$"$dir) + if [ -L "$checkdir" ]; then + # Use mkdir option 'Z' to create with correct SELinux context. + mkdir -pZ "$mysql_upgradedir" + cp -dT "$checkdir" "$mysql_upgradedir/$dir.link" + fi +done + +# creating mysql home directory +if [ ! -d $mysql_datadir ] && [ ! -L $mysql_datadir ]; then + # Use mkdir option 'Z' to create with correct SELinux context. + mkdir -Z $mysql_datadir +fi + - # As preset blocksize of GNU df is 1024 then available bytes is $df_available_blocks * 1024 - # 4096 blocks is then lower than 4 MB - df_available_blocks=`LC_ALL=C BLOCKSIZE= df --output=avail "$datadir" | tail -n 1` - if [ "$df_available_blocks" -lt "4096" ]; then ++# checking disc space ++if LC_ALL=C BLOCKSIZE= df --portability $mysql_datadir/. | tail -n 1 | awk '{ exit ($4>1000) }'; then + echo "ERROR: There's not enough space in $mysql_datadir/" 1>&2 + db_stop + exit 1 +fi + +# Since the home directory was created before putting the user into +# the mysql group and moreover we cannot guarantee that the +# permissions were correctly *before* calling this script, we fix them now. +# In case we use NIS and no mysql user is present then this script should +# better fail now than later.. +# The "set +e" is necessary as e.g. a ".journal" of a ext3 partition is +# not chgrp'able (#318435). +set +e +find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql +find $mysql_datadir -follow -not -group mysql -print0 2>/dev/null \ + | xargs -0 --no-run-if-empty chgrp mysql +set -e + - +db_stop + +#DEBHELPER# ++ ++# dh_installinit/13.11.3 adds this check but only with 'install', so we need to ++# have and extra one to check 'upgrade'. This ensures that upgrades from ++# mariadb-server-x.y to mariadb-server (without version suffix) ends up with ++# the executable bit set on /etc/init.d/mariadb, which otherwise would end up ++# disabled due to the mariadb-server-x.y.postrm being triggered. ++# $1 = upgrade ++# $2 = 1:10.6.11-2 ++if [ "$1" = "upgrade" ] && [ -n "$2" ] && [ -e "/etc/init.d/mariadb" ] ; then ++ chmod +x "/etc/init.d/mariadb" >/dev/null || true ++fi ++ ++# dh_installinit/13.11.3 adds this check but with extra condition that there ++# must be a version passed as '$2', but that will always be empty when install ++# runs after the unpack that is retriggered for package 'mariadb-server' when ++# the old 'mariadb-server-10.6' is purged, so we need to repeat the same check ++# here without any expectation for '$2'. This ensures that upgrades from ++# mariadb-server-x.y to mariadb-server (without version suffix) ends up with the ++# executable bit set on /etc/init.d/mariadb. ++if [ "$1" = "install" ] && [ -e "/etc/init.d/mariadb" ] ; then ++ chmod +x "/etc/init.d/mariadb" >/dev/null || true ++fi diff --cc debian/mariadb-test-data.install index 718fc0e12,000000000..0f2f5f0a4 mode 100644,000000..100644 --- a/debian/mariadb-test-data.install +++ b/debian/mariadb-test-data.install @@@ -1,6 -1,0 +1,7 @@@ ++debian/unstable-tests.* usr/share/mysql/mysql-test/ +usr/share/mysql/mysql-test/collections +usr/share/mysql/mysql-test/include +usr/share/mysql/mysql-test/main +usr/share/mysql/mysql-test/plugin +usr/share/mysql/mysql-test/std_data +usr/share/mysql/mysql-test/suite diff --cc debian/mariadb-test-data.lintian-overrides index b73e31029,000000000..b05848570 mode 100644,000000..100644 --- a/debian/mariadb-test-data.lintian-overrides +++ b/debian/mariadb-test-data.lintian-overrides @@@ -1,32 -1,0 +1,26 @@@ +# These should be moved, see https://jira.mariadb.org/browse/MDEV-21654 +arch-dependent-file-in-usr-share [usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so] +arch-independent-package-contains-binary-or-object [usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so] - # Mainly for support for *BSD family. Not right way to do but this is test package and not for production - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/std_data/checkDBI_DBD-MariaDB.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/engines/rr_trx/run_stress_tx_rr.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/funcs_1/lib/DataGen_local.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/funcs_1/lib/DataGen_modify.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/rpl/extension/checksum.pl] +# Intentional for test files - national-encoding usr/share/mysql/mysql-test/* ++national-encoding [usr/share/mysql/mysql-test/*] +# Extra test documentation files that really need to be kept in context in test directory - package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/* ++package-contains-documentation-outside-usr-share-doc [usr/share/mysql/mysql-test/*] +# Intentional directory structure - repeated-path-segment auth_gssapi usr/share/mysql/mysql-test/plugin/auth_gssapi/auth_gssapi/ - repeated-path-segment connect usr/share/mysql/mysql-test/plugin/connect/connect/ - repeated-path-segment disks usr/share/mysql/mysql-test/plugin/disks/disks/ - repeated-path-segment func_test usr/share/mysql/mysql-test/plugin/func_test/func_test/ - repeated-path-segment metadata_lock_info usr/share/mysql/mysql-test/plugin/metadata_lock_info/metadata_lock_info/ - repeated-path-segment mroonga usr/share/mysql/mysql-test/plugin/mroonga/mroonga/ - repeated-path-segment mroonga usr/share/mysql/mysql-test/plugin/mroonga/mroonga/include/mroonga/ - repeated-path-segment oqgraph usr/share/mysql/mysql-test/plugin/oqgraph/oqgraph/ - repeated-path-segment query_response_time usr/share/mysql/mysql-test/plugin/query_response_time/query_response_time/ - repeated-path-segment rocksdb usr/share/mysql/mysql-test/plugin/rocksdb/rocksdb/ - repeated-path-segment sequence usr/share/mysql/mysql-test/plugin/sequence/sequence/ - repeated-path-segment sphinx usr/share/mysql/mysql-test/plugin/sphinx/sphinx/ - repeated-path-segment spider usr/share/mysql/mysql-test/plugin/spider/spider/ - repeated-path-segment type_inet usr/share/mysql/mysql-test/plugin/type_inet/type_inet/ - repeated-path-segment type_test usr/share/mysql/mysql-test/plugin/type_test/type_test/ - repeated-path-segment user_variables usr/share/mysql/mysql-test/plugin/user_variables/user_variables/ - repeated-path-segment wsrep_info usr/share/mysql/mysql-test/plugin/wsrep_info/wsrep_info/ ++repeated-path-segment auth_gssapi [usr/share/mysql/mysql-test/plugin/auth_gssapi/auth_gssapi/] ++repeated-path-segment connect [usr/share/mysql/mysql-test/plugin/connect/connect/] ++repeated-path-segment disks [usr/share/mysql/mysql-test/plugin/disks/disks/] ++repeated-path-segment func_test [usr/share/mysql/mysql-test/plugin/func_test/func_test/] ++repeated-path-segment metadata_lock_info [usr/share/mysql/mysql-test/plugin/metadata_lock_info/metadata_lock_info/] ++repeated-path-segment mroonga [usr/share/mysql/mysql-test/plugin/mroonga/mroonga/] ++repeated-path-segment mroonga [usr/share/mysql/mysql-test/plugin/mroonga/mroonga/include/mroonga/] ++repeated-path-segment oqgraph [usr/share/mysql/mysql-test/plugin/oqgraph/oqgraph/] ++repeated-path-segment query_response_time [usr/share/mysql/mysql-test/plugin/query_response_time/query_response_time/] ++repeated-path-segment rocksdb [usr/share/mysql/mysql-test/plugin/rocksdb/rocksdb/] ++repeated-path-segment sequence [usr/share/mysql/mysql-test/plugin/sequence/sequence/] ++repeated-path-segment sphinx [usr/share/mysql/mysql-test/plugin/sphinx/sphinx/] ++repeated-path-segment spider [usr/share/mysql/mysql-test/plugin/spider/spider/] ++repeated-path-segment type_inet [usr/share/mysql/mysql-test/plugin/type_inet/type_inet/] ++repeated-path-segment type_test [usr/share/mysql/mysql-test/plugin/type_test/type_test/] ++repeated-path-segment type_uuid [usr/share/mysql/mysql-test/plugin/type_uuid/type_uuid/] ++repeated-path-segment user_variables [usr/share/mysql/mysql-test/plugin/user_variables/user_variables/] ++repeated-path-segment wsrep_info [usr/share/mysql/mysql-test/plugin/wsrep_info/wsrep_info/] diff --cc debian/mariadb-test.lintian-overrides index d09cfe3c5,000000000..c553f8df1 mode 100644,000000..100644 --- a/debian/mariadb-test.lintian-overrides +++ b/debian/mariadb-test.lintian-overrides @@@ -1,8 -1,0 +1,18 @@@ +# These should be moved, see https://jira.mariadb.org/browse/MDEV-21653 +arch-dependent-file-in-usr-share [usr/share/mysql/mysql-test/lib/My/SafeProcess/my_safe_process] +arch-dependent-file-in-usr-share [usr/share/mysql/mysql-test/lib/My/SafeProcess/wsrep_check_version] - # Mainly for support for *BSD family. Not right way to do but this is test package and not for production - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/lib/process-purecov-annotations.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/lib/v1/mysql-test-run.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/mysql-stress-test.pl] - incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/mysql-test-run.pl] ++# MyISAM stopwords that cannot be changed and spelling errors remain ++spelling-error-in-binary noone no one [usr/bin/*] ++spelling-error-in-binary thats that's [usr/bin/*] ++spelling-error-in-binary theres there's [usr/bin/*] ++# False positive from Lintian, these strings are nowhere in test in source code ++spelling-error-in-binary AfE Safe [usr/bin/*] ++# Valid reason for documentation in context in directory ++package-contains-documentation-outside-usr-share-doc [usr/share/mysql/mysql-test/README*] ++# Test plugins intentionally not fully featured ++shared-library-lacks-prerequisites [usr/lib/mysql/plugin/auth_0x0100.so] ++shared-library-lacks-prerequisites [usr/lib/mysql/plugin/debug_key_management.so] ++shared-library-lacks-prerequisites [usr/lib/mysql/plugin/test_sql_service.so] ++# The file mysql-test-run.pl is a symlink for mariadb-test-run.pl, which does ++# not have a man page, so the man page is indeed used and not a spare one ++spare-manual-page [usr/share/man/man1/mysql-test-run.pl.1.gz] diff --cc debian/not-installed index c0d085656,000000000..12714c3f2 mode 100644,000000..100644 --- a/debian/not-installed +++ b/debian/not-installed @@@ -1,73 -1,0 +1,69 @@@ +etc/columnstore/storagemanager.cnf.example # Copy of etc/columnstore/storagemanager.cnf that is installed ++etc/logrotate.d/mysql # Debian packaging uses mariadb-server.mysql-server.logrotate +etc/my.cnf # Debian packaging has /etc/mysql/my.cnf, which is a symlink to mariadb.cnf +etc/mysql/mariadb.conf.d/client.cnf # Debian packaging uses files from debian/additions/mariadb.cnf.d/ +etc/mysql/mariadb.conf.d/enable_encryption.preset # Debian packaging uses files from debian/additions/mariadb.cnf.d/ +etc/mysql/mariadb.conf.d/mysql-clients.cnf # Debian packaging uses files from debian/additions/mariadb.cnf.d/ +etc/mysql/mariadb.conf.d/server.cnf # Debian packaging uses files from debian/additions/mariadb.cnf.d/ +lib/systemd/system/mariadb-extra.socket # Installed by rules file +lib/systemd/system/mariadb-extra@.socket # Installed by rules file +lib/systemd/system/mariadb.service # Installed by rules file - lib/systemd/system/mariadb.socket # Installed by rules file +lib/systemd/system/mariadb@.service # Installed by rules file ++lib/systemd/system/mariadb.socket # Installed by rules file +lib/systemd/system/mariadb@.socket # Installed by rules file +usr/bin/mariadb-embedded # Shipping the embedded server in distro packaging does not make sense +usr/bin/mysql_config # Debian packaging has mysql_config as symlink to mariadb_config +usr/bin/mysql_embedded # Symlink to mariadb-embedded which is intentionally not included +usr/bin/sst_dump # Use the one from rocksdb-tools package - usr/lib/aarch64-linux-gnu/libdbbc.a # ColumnStore header file - usr/lib/aarch64-linux-gnu/libidbboot.a # ColumnStore header file - usr/lib/aarch64-linux-gnu/libprocessor.a # ColumnStore header file - usr/lib/aarch64-linux-gnu/libwe_xml.a # ColumnStore header file - usr/lib/x86_64-linux-gnu/libdbbc.a # ColumnStore header file - usr/lib/x86_64-linux-gnu/libidbboot.a # ColumnStore header file - usr/lib/x86_64-linux-gnu/libprocessor.a # ColumnStore header file - usr/lib/x86_64-linux-gnu/libwe_xml.a # ColumnStore header file +usr/bin/test-connect-t - usr/bin/uca-dump - usr/bin/wsrep_sst_backup ++usr/lib/*/libdbbc.a # ColumnStore header file ++usr/lib/*/libidbboot.a # ColumnStore header file ++usr/lib/*/libprocessor.a # ColumnStore header file ++usr/lib/*/libwe_xml.a # ColumnStore header file +usr/lib/mysql/plugin/type_test.so ++usr/lib/*/pkgconfig/mariadb.pc # Server (not client) helper has confusing naming https://jira.mariadb.org/browse/MDEV-23538 +usr/lib/sysusers.d/mariadb.conf # Not used (yet) in Debian systemd +usr/lib/tmpfiles.d/mariadb.conf # Not used (yet) in Debian systemd +usr/sbin/rcmysql +usr/share/doc/mariadb-server/COPYING (related file: "debian/tmp/usr/share/mysql/mroonga/COPYING") +usr/share/doc/mariadb-server/CREDITS +usr/share/doc/mariadb-server/INSTALL-BINARY - usr/share/doc/mariadb-server/README-wsrep +usr/share/doc/mariadb-server/README.md ++usr/share/doc/mariadb-server/README-wsrep +usr/share/doc/mariadb-server/THIRDPARTY - usr/share/groonga-normalizer-mysql/README.md - usr/share/groonga-normalizer-mysql/lgpl-2.0.txt +usr/share/groonga/COPYING ++usr/share/groonga-normalizer-mysql/lgpl-2.0.txt ++usr/share/groonga-normalizer-mysql/README.md +usr/share/groonga/README.md +usr/share/man/man1/mariadb-embedded.1 # Shipping the embedded server in distro packaging does not make sense - usr/share/man/man1/mysql_embedded.1 # Symlink to mariadb-embedded.1 which is intentionally not included +usr/share/man/man1/my_safe_process.1 - usr/share/man/man1/mysql-stress-test.pl.1 ++usr/share/man/man1/mysql-test-run.pl.1 # Spare manual page, should be deleted upstream ++usr/share/man/man1/mysql_embedded.1 # Symlink to mariadb-embedded.1 which is intentionally not included +usr/share/man/man1/mysql.server.1 - usr/share/mysql/JavaWrappers.jar - usr/share/mysql/JdbcInterface.jar - usr/share/mysql/Mongo2.jar - usr/share/mysql/Mongo3.jar ++usr/share/man/man1/mysql-stress-test.pl.1 +usr/share/mysql/binary-configure - usr/share/mysql/magic ++usr/share/mysql/JavaWrappers.jar # These are only built if JNI/libjawt.so is installed from e.g. openjdk-8-jre-headless ++usr/share/mysql/JdbcInterface.jar # These are only built if JNI/libjawt.so is installed from e.g. openjdk-8-jre-headless +usr/share/mysql/mariadb.logrotate ++usr/share/mysql/magic +usr/share/mysql/maria_add_gis_sp.sql # mariadb-server-core.install has *_bootstrap.sql ++usr/share/mysql/Mongo2.jar ++usr/share/mysql/Mongo3.jar ++usr/share/mysql/mysqld_multi.server ++usr/share/mysql/mysql.server # Debian packaging uses mariadb-server.mariadb.init +usr/share/mysql/mysql-test/asan.supp +usr/share/mysql/mysql-test/lsan.supp - usr/share/mysql/mysql-test/unstable-tests - usr/share/mysql/mysql.server # Debian packaging uses mariadb-server.mariadb.init - usr/share/mysql/mysqld_multi.server +usr/share/mysql/policy/apparmor/README # In MariaDB we don't want to use AppArmor at the moment +usr/share/mysql/policy/apparmor/usr.sbin.mysqld # In MariaDB we don't want to use AppArmor at the moment +usr/share/mysql/policy/apparmor/usr.sbin.mysqld.local # In MariaDB we don't want to use AppArmor at the moment - usr/share/mysql/policy/selinux/README # In MariaDB we don't want to use SELinux at the moment +usr/share/mysql/policy/selinux/mariadb-server.fc # In MariaDB we don't want to use SELinux at the moment +usr/share/mysql/policy/selinux/mariadb-server.te # In MariaDB we don't want to use SELinux at the moment +usr/share/mysql/policy/selinux/mariadb.te # In MariaDB we don't want to use SELinux at the moment ++usr/share/mysql/policy/selinux/README # In MariaDB we don't want to use SELinux at the moment +usr/share/mysql/systemd/mariadb-extra@.socket # Installed by rules file +usr/share/mysql/systemd/mariadb.service # Installed by rules file +usr/share/mysql/systemd/mariadb@.service # Installed by rules file +usr/share/mysql/systemd/mariadb@.socket # Installed by rules file - usr/share/mysql/systemd/mysql.service # Installed by rules file +usr/share/mysql/systemd/mysqld.service # Installed by rules file ++usr/share/mysql/systemd/mysql.service # Installed by rules file +usr/share/mysql/systemd/use_galera_new_cluster.conf diff --cc debian/patches/0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch index 000000000,000000000..77ced3370 new file mode 100644 --- /dev/null +++ b/debian/patches/0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch @@@ -1,0 -1,0 +1,54 @@@ ++From: Ondrej Sury ++Date: Wed, 22 Nov 2017 20:32:51 +0000 ++Subject: Change the default optimization from -O3 to -O2 in ++ mysql_release.cmake BUILD_CONFIG profile ++Forwarded: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606 ++ ++--- ++ cmake/build_configurations/mysql_release.cmake | 12 ++++++------ ++ .../PerconaFT/cmake_modules/TokuSetupCompiler.cmake | 16 ++++++++-------- ++ 2 files changed, 14 insertions(+), 14 deletions(-) ++ ++--- a/cmake/build_configurations/mysql_release.cmake +++++ b/cmake/build_configurations/mysql_release.cmake ++@@ -174,12 +174,12 @@ IF(UNIX) ++ IF(CMAKE_COMPILER_IS_GNUCC) ++ SET(COMMON_C_FLAGS "-g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized") ++ SET(CMAKE_C_FLAGS_DEBUG "-O ${COMMON_C_FLAGS}") ++- SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_C_FLAGS}") +++ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_C_FLAGS}") ++ ENDIF() ++ IF(CMAKE_COMPILER_IS_GNUCXX) ++ SET(COMMON_CXX_FLAGS "-g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized") ++ SET(CMAKE_CXX_FLAGS_DEBUG "-O ${COMMON_CXX_FLAGS}") ++- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_CXX_FLAGS}") +++ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_CXX_FLAGS}") ++ ENDIF() ++ ++ # IBM Z flags ++@@ -228,8 +228,8 @@ IF(UNIX) ++ ENDIF() ++ SET(CMAKE_C_FLAGS_DEBUG "${COMMON_C_FLAGS}") ++ SET(CMAKE_CXX_FLAGS_DEBUG "${COMMON_CXX_FLAGS}") ++- SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -unroll2 -ip ${COMMON_C_FLAGS}") ++- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -unroll2 -ip ${COMMON_CXX_FLAGS}") +++ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -unroll2 -ip ${COMMON_C_FLAGS}") +++ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -unroll2 -ip ${COMMON_CXX_FLAGS}") ++ SET(WITH_SSL no) ++ ENDIF() ++ ENDIF() ++@@ -238,12 +238,12 @@ IF(UNIX) ++ IF(CMAKE_C_COMPILER_ID MATCHES "Clang") ++ SET(COMMON_C_FLAGS "-g -fno-omit-frame-pointer -fno-strict-aliasing -Wno-parentheses-equality -Wno-string-plus-int") ++ SET(CMAKE_C_FLAGS_DEBUG "${COMMON_C_FLAGS}") ++- SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_C_FLAGS}") +++ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_C_FLAGS}") ++ ENDIF() ++ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") ++ SET(COMMON_CXX_FLAGS "-g -fno-omit-frame-pointer -fno-strict-aliasing -Wno-parentheses-equality -Wno-string-plus-int") ++ SET(CMAKE_CXX_FLAGS_DEBUG "${COMMON_CXX_FLAGS}") ++- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_CXX_FLAGS}") +++ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_CXX_FLAGS}") ++ ENDIF() ++ ++ # Solaris flags diff --cc debian/patches/2129-new-script-wsrep-sst-backup-fixes.patch index 000000000,000000000..4e26364aa new file mode 100644 --- /dev/null +++ b/debian/patches/2129-new-script-wsrep-sst-backup-fixes.patch @@@ -1,0 -1,0 +1,51 @@@ ++Forwarded: https://github.com/MariaDB/server/pull/2129 ++Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/2129.patch ++From: Otto Kekäläinen ++Date: Sun, 22 May 2022 10:13:33 -0700 ++Subject: [PATCH] Properly introduce wsrep_sst_backup script in project ++ packaging ++ ++The script wsrep_sst_backup was introduced on MariaDB 10.3 in commit ++9b2fa2a. The new script was automatically included in RPM packages but not ++in Debian packages (which started to fail on waring about stray file). ++ ++Include wsrep_sst_backup in the mariadb-server-10.{3..8} package, and ++also include a stub man page so that packaging of a new script is complete. ++ ++--- ++ debian/mariadb-server-10.6.install | 2 ++ ++ man/CMakeLists.txt | 2 +- ++ man/wsrep_sst_backup.1 | 16 ++++++++++++++++ ++ 3 files changed, 19 insertions(+), 1 deletion(-) ++ create mode 100644 man/wsrep_sst_backup.1 ++ ++--- a/man/CMakeLists.txt +++++ b/man/CMakeLists.txt ++@@ -13,7 +13,7 @@ ++ # along with this program; if not, write to the Free Software ++ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA ++ ++-SET(MAN1_WSREP wsrep_sst_rsync.1 wsrep_sst_common.1 wsrep_sst_mariabackup.1 +++SET(MAN1_WSREP wsrep_sst_rsync.1 wsrep_sst_common.1 wsrep_sst_mariabackup.1 wsrep_sst_backup.1 ++ wsrep_sst_mysqldump.1 wsrep_sst_rsync_wan.1 galera_recovery.1 galera_new_cluster.1) ++ SET(MAN1_SERVER innochecksum.1 myisam_ftdump.1 myisamchk.1 ++ aria_chk.1 aria_dump_log.1 aria_ftdump.1 aria_pack.1 aria_read_log.1 ++--- /dev/null +++++ b/man/wsrep_sst_backup.1 ++@@ -0,0 +1,16 @@ +++'\" t +++.\" +++.TH "\FBWSREP_SST_BACKUP\FR" "1" "22 May 2022" "MariaDB 10\&.3" "MariaDB Database System" +++.\" ----------------------------------------------------------------- +++.\" * set default formatting +++.\" ----------------------------------------------------------------- +++.\" disable hyphenation +++.nh +++.\" disable justification (adjust text to left margin only) +++.ad l +++.SH NAME +++wsrep_sst_backup \- backup helper script for the MariaDB Galera Cluster +++.SH DESCRIPTION +++Use: See source code of script\. +++.PP +++For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/ diff --cc debian/patches/2541-fix-stack-overflow-in-pinbox-allocator.patch index 000000000,000000000..b103bf3cc new file mode 100644 --- /dev/null +++ b/debian/patches/2541-fix-stack-overflow-in-pinbox-allocator.patch @@@ -1,0 -1,0 +1,283 @@@ ++Forwarded: https://github.com/MariaDB/server/pull/2541 ++Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/2541.patch ++From: Hugo Wen ++Date: Sat, 11 Mar 2023 00:27:42 +0000 ++Subject: [PATCH] Fix a stack overflow in pinbox allocator ++ ++MariaDB supports a "wait-free concurrent allocator based on pinning addresses". ++In `lf_pinbox_real_free()` it tries to sort the pinned addresses for better ++performance to use binary search during "real free". `alloca()` was used to ++allocate stack memory and copy addresses. ++ ++To prevent a stack overflow when allocating the stack memory the function checks ++if there's enough stack space. However, the available stack size was calculated ++inaccurately which eventually caused database crash due to stack overflow. ++ ++The crash was seen on MariaDB 10.6.11 but the same code defect exists on all ++MariaDB versions. ++ ++A similar issue happened previously and the fix in fc2c1e43 was to add a ++`ALLOCA_SAFETY_MARGIN` which is 8192 bytes. However, that safety margin is not ++enough during high connection workloads. ++ ++MySQL also had a similar issue and the fix ++https://github.com/mysql/mysql-server/commit/b086fda was to remove the use of ++`alloca` and replace qsort approach by a linear scan through all pointers (pins) ++owned by each thread. ++ ++This commit is mostly the same as it is the only way to solve this issue as: ++1. Frame sizes in different architecture can be different. ++2. Number of active (non-null) pinned addresses varies, so the frame ++ size for the recursive sorting function `msort_with_tmp` is also hard ++ to predict. ++3. Allocating big memory blocks in stack doesn't seem to be a very good ++ practice. ++ ++For further details see the mentioned commit in MySQL and the inline comments. ++ ++All new code of the whole pull request, including one or several files ++that are either new files or modified ones, are contributed under the ++BSD-new license. I am contributing on behalf of my employer Amazon Web ++Services, Inc. ++--- ++ mysys/lf_alloc-pin.c | 180 ++++++++++++++----------------------------- ++ 1 file changed, 59 insertions(+), 121 deletions(-) ++ ++--- a/mysys/lf_alloc-pin.c +++++ b/mysys/lf_alloc-pin.c ++@@ -103,12 +103,6 @@ ++ #include ++ #include "my_cpu.h" ++ ++-/* ++- when using alloca() leave at least that many bytes of the stack - ++- for functions we might be calling from within this stack frame ++-*/ ++-#define ALLOCA_SAFETY_MARGIN 8192 ++- ++ #define LF_PINBOX_MAX_PINS 65536 ++ ++ static void lf_pinbox_real_free(LF_PINS *pins); ++@@ -239,24 +233,21 @@ void lf_pinbox_put_pins(LF_PINS *pins) ++ } while (!my_atomic_cas32((int32 volatile*) &pinbox->pinstack_top_ver, ++ (int32*) &top_ver, ++ top_ver-pins->link+nr+LF_PINBOX_MAX_PINS)); ++- return; ++ } ++ ++-static int ptr_cmp(void **a, void **b) +++/* +++ Get the next pointer in the purgatory list. +++ Note that next_node is not used to avoid the extra volatile. +++*/ +++#define pnext_node(P, X) (*((void **)(((char *)(X)) + (P)->free_ptr_offset))) +++ +++static inline void add_to_purgatory(LF_PINS *pins, void *addr) ++ { ++- return *a < *b ? -1 : *a == *b ? 0 : 1; +++ pnext_node(pins->pinbox, addr)= pins->purgatory; +++ pins->purgatory= addr; +++ pins->purgatory_count++; ++ } ++ ++-#define add_to_purgatory(PINS, ADDR) \ ++- do \ ++- { \ ++- my_atomic_storeptr_explicit( \ ++- (void **)((char *)(ADDR)+(PINS)->pinbox->free_ptr_offset), \ ++- (PINS)->purgatory, MY_MEMORY_ORDER_RELEASE); \ ++- (PINS)->purgatory= (ADDR); \ ++- (PINS)->purgatory_count++; \ ++- } while (0) ++- ++ /* ++ Free an object allocated via pinbox allocator ++ ++@@ -271,138 +262,85 @@ void lf_pinbox_free(LF_PINS *pins, void ++ lf_pinbox_real_free(pins); ++ } ++ ++-struct st_harvester { ++- void **granary; ++- int npins; +++struct st_match_and_save_arg { +++ LF_PINS *pins; +++ LF_PINBOX *pinbox; +++ void *old_purgatory; ++ }; ++ ++ /* ++- callback forlf_dynarray_iterate: ++- scan all pins of all threads and accumulate all pins +++ Callback for lf_dynarray_iterate: +++ Scan all pins of all threads, for each active (non-null) pin, +++ scan the current thread's purgatory. If present there, move it +++ to a new purgatory. At the end, the old purgatory will contain +++ pointers not pinned by any thread. ++ */ ++-static int harvest_pins(LF_PINS *el, struct st_harvester *hv) +++static int match_and_save(LF_PINS *el, struct st_match_and_save_arg *arg) ++ { ++ int i; ++- LF_PINS *el_end= el+MY_MIN(hv->npins, LF_DYNARRAY_LEVEL_LENGTH); +++ LF_PINS *el_end= el + LF_DYNARRAY_LEVEL_LENGTH; ++ for (; el < el_end; el++) ++ { ++ for (i= 0; i < LF_PINBOX_PINS; i++) ++ { ++ void *p= el->pin[i]; ++ if (p) ++- *hv->granary++= p; +++ { +++ void *cur= arg->old_purgatory; +++ void **list_prev= &arg->old_purgatory; +++ while (cur) +++ { +++ void *next= pnext_node(arg->pinbox, cur); +++ +++ if (p == cur) +++ { +++ /* pinned - keeping */ +++ add_to_purgatory(arg->pins, cur); +++ /* unlink from old purgatory */ +++ *list_prev= next; +++ } +++ else +++ list_prev= (void **)((char *)cur+arg->pinbox->free_ptr_offset); +++ cur= next; +++ } +++ if (!arg->old_purgatory) +++ return 1; +++ } ++ } ++ } ++- /* ++- hv->npins may become negative below, but it means that ++- we're on the last dynarray page and harvest_pins() won't be ++- called again. We don't bother to make hv->npins() correct ++- (that is 0) in this case. ++- */ ++- hv->npins-= LF_DYNARRAY_LEVEL_LENGTH; ++ return 0; ++ } ++ ++ /* ++- callback forlf_dynarray_iterate: ++- scan all pins of all threads and see if addr is present there ++-*/ ++-static int match_pins(LF_PINS *el, void *addr) ++-{ ++- int i; ++- LF_PINS *el_end= el+LF_DYNARRAY_LEVEL_LENGTH; ++- for (; el < el_end; el++) ++- for (i= 0; i < LF_PINBOX_PINS; i++) ++- if (el->pin[i] == addr) ++- return 1; ++- return 0; ++-} ++- ++-#define next_node(P, X) (*((uchar * volatile *)(((uchar *)(X)) + (P)->free_ptr_offset))) ++-#define anext_node(X) next_node(&allocator->pinbox, (X)) ++- ++-/* ++ Scan the purgatory and free everything that can be freed ++ */ ++ static void lf_pinbox_real_free(LF_PINS *pins) ++ { ++- int npins; ++- void *list; ++- void **addr= NULL; ++- void *first= NULL, *last= NULL; ++- struct st_my_thread_var *var= my_thread_var; ++- void *stack_ends_here= var ? var->stack_ends_here : NULL; ++ LF_PINBOX *pinbox= pins->pinbox; ++ ++- npins= pinbox->pins_in_array+1; +++ /* Store info about current purgatory. */ +++ struct st_match_and_save_arg arg = {pins, pinbox, pins->purgatory}; +++ /* Reset purgatory. */ +++ pins->purgatory= NULL; +++ pins->purgatory_count= 0; ++ ++-#ifdef HAVE_ALLOCA ++- if (stack_ends_here != NULL) ++- { ++- int alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins; ++- /* create a sorted list of pinned addresses, to speed up searches */ ++- if (available_stack_size(&pinbox, stack_ends_here) > ++- alloca_size + ALLOCA_SAFETY_MARGIN) ++- { ++- struct st_harvester hv; ++- addr= (void **) alloca(alloca_size); ++- hv.granary= addr; ++- hv.npins= npins; ++- /* scan the dynarray and accumulate all pinned addresses */ ++- lf_dynarray_iterate(&pinbox->pinarray, ++- (lf_dynarray_func)harvest_pins, &hv); ++- ++- npins= (int)(hv.granary-addr); ++- /* and sort them */ ++- if (npins) ++- qsort(addr, npins, sizeof(void *), (qsort_cmp)ptr_cmp); ++- } ++- } ++-#endif ++ ++- list= pins->purgatory; ++- pins->purgatory= 0; ++- pins->purgatory_count= 0; ++- while (list) +++ lf_dynarray_iterate(&pinbox->pinarray, +++ (lf_dynarray_func)match_and_save, &arg); +++ +++ if (arg.old_purgatory) ++ { ++- void *cur= list; ++- list= *(void **)((char *)cur+pinbox->free_ptr_offset); ++- if (npins) ++- { ++- if (addr) /* use binary search */ ++- { ++- void **a, **b, **c; ++- for (a= addr, b= addr+npins-1, c= a+(b-a)/2; (b-a) > 1; c= a+(b-a)/2) ++- if (cur == *c) ++- a= b= c; ++- else if (cur > *c) ++- a= c; ++- else ++- b= c; ++- if (cur == *a || cur == *b) ++- goto found; ++- } ++- else /* no alloca - no cookie. linear search here */ ++- { ++- if (lf_dynarray_iterate(&pinbox->pinarray, ++- (lf_dynarray_func)match_pins, cur)) ++- goto found; ++- } ++- } ++- /* not pinned - freeing */ ++- if (last) ++- last= next_node(pinbox, last)= (uchar *)cur; ++- else ++- first= last= (uchar *)cur; ++- continue; ++-found: ++- /* pinned - keeping */ ++- add_to_purgatory(pins, cur); +++ /* Some objects in the old purgatory were not pinned, free them. */ +++ void *last= arg.old_purgatory; +++ while (pnext_node(pinbox, last)) +++ last= pnext_node(pinbox, last); +++ pinbox->free_func(arg.old_purgatory, last, pinbox->free_func_arg); ++ } ++- if (last) ++- pinbox->free_func(first, last, pinbox->free_func_arg); ++ } ++ +++#define next_node(P, X) (*((uchar * volatile *)(((uchar *)(X)) + (P)->free_ptr_offset))) +++#define anext_node(X) next_node(&allocator->pinbox, (X)) +++ ++ /* lock-free memory allocator for fixed-size objects */ ++ ++ /* diff --cc debian/patches/env-perl-usr-bin-perl.patch index 000000000,000000000..559e7f2e0 new file mode 100644 --- /dev/null +++ b/debian/patches/env-perl-usr-bin-perl.patch @@@ -1,0 -1,0 +1,99 @@@ ++Forwarded: https://github.com/MariaDB/server/pull/1718 ++Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/1718.patch ++From: Otto Kekäläinen ++Date: Sun, 20 Dec 2020 20:58:42 +0200 ++Subject: Fix perl path in scripts ++ Fix Lintian issue ++ https://lintian.debian.org/tags/incorrect-path-for-interpreter.html ++ . ++ Upstream will never accept this patch, see ++ https://github.com/MariaDB/server/pull/1718 ++ ++--- a/mysql-test/lib/process-purecov-annotations.pl +++++ b/mysql-test/lib/process-purecov-annotations.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ # -*- cperl -*- ++ ++ # This script processes a .gcov coverage report to honor purecov ++--- a/mysql-test/lib/v1/mysql-test-run.pl +++++ b/mysql-test/lib/v1/mysql-test-run.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ # -*- cperl -*- ++ ++ # Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. ++--- a/mysql-test/mariadb-stress-test.pl +++++ b/mysql-test/mariadb-stress-test.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ++ # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. ++ # ++--- a/mysql-test/mariadb-test-run.pl +++++ b/mysql-test/mariadb-test-run.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ # -*- cperl -*- ++ ++ # Copyright (c) 2004, 2014, Oracle and/or its affiliates. ++--- a/mysql-test/std_data/checkDBI_DBD-MariaDB.pl +++++ b/mysql-test/std_data/checkDBI_DBD-MariaDB.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ++ # Copyright (c) 2011, Oracle and/or its affiliates ++ # ++--- a/mysql-test/suite/engines/rr_trx/run_stress_tx_rr.pl +++++ b/mysql-test/suite/engines/rr_trx/run_stress_tx_rr.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ################################################################################ ++ # ++ # This script runs the transactional stress test "stress_tx_rr" against the ++--- a/mysql-test/suite/funcs_1/lib/DataGen_local.pl +++++ b/mysql-test/suite/funcs_1/lib/DataGen_local.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ++ ++ if ( (scalar(@ARGV) != 1 ) || ($ARGV[0] =~ /[^0-9]/i ) ) ++--- a/mysql-test/suite/funcs_1/lib/DataGen_modify.pl +++++ b/mysql-test/suite/funcs_1/lib/DataGen_modify.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ++ ++ if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) ) ++--- a/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl +++++ b/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ++ ################################################################################# ++ # Author: Serge Kozlov # ++--- a/mysql-test/suite/rpl/extension/checksum.pl +++++ b/mysql-test/suite/rpl/extension/checksum.pl ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ ++ # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. ++ # ++--- a/scripts/mytop.sh +++++ b/scripts/mytop.sh ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env perl +++#!/usr/bin/perl ++ # ++ # $Id: mytop,v 1.99-maria6 2019/10/22 14:53:51 jweisbuch Exp $ ++ diff --cc debian/patches/fix-reproducible-builds-rocksdb.patch index 000000000,000000000..1bc012529 new file mode 100644 --- /dev/null +++ b/debian/patches/fix-reproducible-builds-rocksdb.patch @@@ -1,0 -1,0 +1,26 @@@ ++Origin: https://github.com/facebook/rocksdb/commit/0a9a05ae12943b1529ef1eabbca5ce5a71c986bf ++# Merged in RocksDB 6.19.3, but not updated into MariaDB yet ++Bug: https://github.com/facebook/rocksdb/issues/7035 ++Author: Otto Kekäläinen ++Subject: Make RocksDB build reproducible ++ ++The RocksDB binary included a string with the build timestamp: ++> rocksdb_build_git_date:@2021-05-23·16:04:38@ ++ ++As this changes from build to build, it makes the builds unreproducible. ++Simply removing it solves the issue. ++ ++This temporary fix can be removed when a proper fix already done in upstream ++lands in MariaDB when the RocksDB submodule is updated to a newer release. ++ ++--- a/storage/rocksdb/rocksdb/util/build_version.cc.in +++++ b/storage/rocksdb/rocksdb/util/build_version.cc.in ++@@ -1,5 +1,5 @@ ++ // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. ++ #include "build_version.h" ++-const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:@@GIT_SHA@@"; ++-const char* rocksdb_build_git_date = "rocksdb_build_git_date:@@GIT_DATE_TIME@@"; ++-const char* rocksdb_build_compile_date = __DATE__; +++const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:REDACTED"; +++const char* rocksdb_build_git_date = "rocksdb_build_git_date:REDACTED"; +++const char* rocksdb_build_compile_date = "REDACTED"; diff --cc debian/patches/fix-spelling-rocksdb.patch index 000000000,000000000..d9007c3af new file mode 100644 --- /dev/null +++ b/debian/patches/fix-spelling-rocksdb.patch @@@ -1,0 -1,0 +1,38 @@@ ++Forwarded: https://github.com/facebook/rocksdb/pull/9653 ++Origin: https://patch-diff.githubusercontent.com/raw/facebook/rocksdb/pull/9653.patch ++From: Otto Kekäläinen ++Date: Wed, 2 Mar 2022 18:13:18 -0800 ++Subject: Fix various spelling errors still found in code ++ Two upstream PRs remain that have been merged, but not imported on MariaDB yet. ++ ++--- a/storage/rocksdb/rocksdb/db/external_sst_file_ingestion_job.cc +++++ b/storage/rocksdb/rocksdb/db/external_sst_file_ingestion_job.cc ++@@ -46,7 +46,7 @@ Status ExternalSstFileIngestionJob::Prep ++ TablePropertiesCollectorFactory::Context::kUnknownColumnFamily && ++ f.cf_id != cfd_->GetID()) { ++ return Status::InvalidArgument( ++- "External file column family id dont match"); +++ "External file column family id don't match"); ++ } ++ } ++ ++@@ -646,7 +646,7 @@ Status ExternalSstFileIngestionJob::Assi ++ return Status::InvalidArgument("Global seqno is required, but disabled"); ++ } else if (file_to_ingest->global_seqno_offset == 0) { ++ return Status::InvalidArgument( ++- "Trying to set global seqno for a file that dont have a global seqno " +++ "Trying to set global seqno for a file that don't have a global seqno " ++ "field"); ++ } ++ ++--- a/storage/rocksdb/rocksdb/include/rocksdb/cache.h +++++ b/storage/rocksdb/rocksdb/include/rocksdb/cache.h ++@@ -60,7 +60,7 @@ struct LRUCacheOptions { ++ // If greater than zero, the LRU list will be split into a high-pri ++ // list and a low-pri list. High-pri entries will be insert to the ++ // tail of high-pri list, while low-pri entries will be first inserted to ++- // the low-pri list (the midpoint). This is refered to as +++ // the low-pri list (the midpoint). This is referred to as ++ // midpoint insertion strategy to make entries never get hit in cache ++ // age out faster. ++ // diff --cc debian/patches/mroonga-mrn-lib-dirs-path-reproducible-build.patch index 000000000,000000000..1034f8c62 new file mode 100644 --- /dev/null +++ b/debian/patches/mroonga-mrn-lib-dirs-path-reproducible-build.patch @@@ -1,0 -1,0 +1,39 @@@ ++Forwarded: not-needed ++Origin: https://github.com/mroonga/mroonga/issues/298#issuecomment-1030815927 ++Bug: https://github.com/mroonga/mroonga/issues/298 ++From: Sutou Kouhei ++Date: Sat, 5 Feb 2022 11:05:39 +0900 ++Subject: [PATCH] cmake: add support for reproducible buildS ++ . ++ We should use relative path not absolute path. ++ We can use target without breaking reproducibility. ++--- a/storage/mroonga/CMakeLists.txt +++++ b/storage/mroonga/CMakeLists.txt ++@@ -209,7 +209,7 @@ set(MYSQL_INCLUDE_DIRS ++ ++ if(MRN_BUNDLED) ++ set(MYSQL_PLUGIN_DIR "${INSTALL_PLUGINDIR}") ++- set(MYSQL_SERVICES_LIB_DIR "${MYSQL_BUILD_DIR}/libservices") +++ set(MYSQL_SERVICES_LIB_DIR) ++ set(MYSQL_CFLAGS "${CMAKE_C_FLAGS}") ++ set(MYSQL_VERSION "${MYSQL_BASE_VERSION}") ++ else() ++@@ -248,15 +248,11 @@ endif() ++ ++ if(MRN_GROONGA_BUNDLED) ++ set(GROONGA_INCLUDE_DIRS "${MRN_BUNDLED_GROONGA_DIR}/include") ++- set(GROONGA_LIBRARY_DIRS "${MRN_BUNDLED_GROONGA_DIR}/lib") ++- set(GROONGA_LIBRARIES "libgroonga") +++ set(GROONGA_LIBRARY "libgroonga") ++ ++- set(MRN_LIBRARY_DIRS ${GROONGA_LIBRARY_DIRS}) ++- set(MRN_LIBRARIES ${GROONGA_LIBRARIES}) +++ set(MRN_LIBRARY_DIRS) +++ set(MRN_LIBRARIES ${GROONGA_LIBRARY}) ++ if(MRN_GROONGA_NORMALIZER_MYSQL_EMBED) ++- set(MRN_LIBRARY_DIRS ++- ${MRN_LIBRARY_DIRS} ++- "${MRN_BUNDLED_GROONGA_NORMALIZER_MYSQL_DIR}/normalizers") ++ set(MRN_LIBRARIES ${MRN_LIBRARIES} mysql_normalizer) ++ endif() ++ else() diff --cc debian/patches/rocksdb-kfreebsd.patch index 000000000,000000000..da15484b1 new file mode 100644 --- /dev/null +++ b/debian/patches/rocksdb-kfreebsd.patch @@@ -1,0 -1,0 +1,150 @@@ ++Forwarded: https://github.com/facebook/rocksdb/pull/6992 ++From: Andrew Kryczka ++Date: Tue, 16 Jun 2020 19:34:21 -0700 ++# Merged in RocksDB 6.13.fb, but not updated into MariaDB yet ++Bug: https://jira.mariadb.org/browse/MDEV-19251 ++Description: ++ Upstream has merged this but we still need to wait for it to be included ++ in a RocksDB release and imported into MariaDB and then into Debian. ++--- a/storage/rocksdb/build_rocksdb.cmake +++++ b/storage/rocksdb/build_rocksdb.cmake ++@@ -90,6 +90,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Linux" ++ add_definitions(-DOS_LINUX) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS") ++ add_definitions(-DOS_SOLARIS) +++elseif(CMAKE_SYSTEM_NAME MATCHES "kFreeBSD") +++ add_definitions(-DOS_GNU_KFREEBSD) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") ++ add_definitions(-DOS_FREEBSD) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD") ++--- a/storage/rocksdb/rocksdb/CMakeLists.txt +++++ b/storage/rocksdb/rocksdb/CMakeLists.txt ++@@ -91,7 +91,7 @@ if(MSVC) ++ option(WITH_XPRESS "build with windows built in compression" OFF) ++ include(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty.inc) ++ else() ++- if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") +++ if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" AND NOT CMAKE_SYSTEM_NAME MATCHES "kFreeBSD") ++ # FreeBSD has jemalloc as default malloc ++ # but it does not have all the jemalloc files in include/... ++ set(WITH_JEMALLOC ON) ++@@ -413,6 +413,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Linux" ++ add_definitions(-DOS_LINUX) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS") ++ add_definitions(-DOS_SOLARIS) +++elseif(CMAKE_SYSTEM_NAME MATCHES "kFreeBSD") +++ add_definitions(-DOS_GNU_KFREEBSD) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") ++ add_definitions(-DOS_FREEBSD) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD") ++--- a/storage/rocksdb/rocksdb/build_tools/build_detect_platform +++++ b/storage/rocksdb/rocksdb/build_tools/build_detect_platform ++@@ -190,6 +190,17 @@ EOF ++ PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lpthread" ++ # PORT_FILES=port/freebsd/freebsd_specific.cc ++ ;; +++ GNU/kFreeBSD) +++ PLATFORM=OS_GNU_KFREEBSD +++ COMMON_FLAGS="$COMMON_FLAGS -DOS_GNU_KFREEBSD" +++ if [ -z "$USE_CLANG" ]; then +++ COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp" +++ else +++ PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -latomic" +++ fi +++ PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lpthread -lrt" +++ # PORT_FILES=port/gnu_kfreebsd/gnu_kfreebsd_specific.cc +++ ;; ++ NetBSD) ++ PLATFORM=OS_NETBSD ++ COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp -D_REENTRANT -DOS_NETBSD" ++--- a/storage/rocksdb/rocksdb/env/env_posix.cc +++++ b/storage/rocksdb/rocksdb/env/env_posix.cc ++@@ -41,7 +41,7 @@ ++ #include ++ #include ++ // Get nano time includes ++-#if defined(OS_LINUX) || defined(OS_FREEBSD) +++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD) ++ #elif defined(__MACH__) ++ #include ++ #include ++@@ -287,7 +287,8 @@ class PosixEnv : public CompositeEnvWrap ++ } ++ ++ uint64_t NowNanos() override { ++-#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_AIX) +++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD) || \ +++ defined(OS_AIX) ++ struct timespec ts; ++ clock_gettime(CLOCK_MONOTONIC, &ts); ++ return static_cast(ts.tv_sec) * 1000000000 + ts.tv_nsec; ++@@ -307,8 +308,8 @@ class PosixEnv : public CompositeEnvWrap ++ } ++ ++ uint64_t NowCPUNanos() override { ++-#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_AIX) || \ ++- (defined(__MACH__) && defined(__MAC_10_12)) +++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD) || \ +++ defined(OS_AIX) || (defined(__MACH__) && defined(__MAC_10_12)) ++ struct timespec ts; ++ clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); ++ return static_cast(ts.tv_sec) * 1000000000 + ts.tv_nsec; ++--- a/storage/rocksdb/rocksdb/port/stack_trace.cc +++++ b/storage/rocksdb/rocksdb/port/stack_trace.cc ++@@ -32,7 +32,7 @@ namespace port { ++ ++ namespace { ++ ++-#if defined(OS_LINUX) || defined(OS_FREEBSD) +++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD) ++ const char* GetExecutableName() { ++ static char name[1024]; ++ ++--- a/storage/rocksdb/rdb_io_watchdog.h +++++ b/storage/rocksdb/rdb_io_watchdog.h ++@@ -56,19 +56,19 @@ class Rdb_io_watchdog { ++ int stop_timers() { ++ int ret = 0; ++ ++- if (m_io_check_watchdog_timer) { +++ if (m_io_check_watchdog_timer != reinterpret_cast(-1)) { ++ ret = timer_delete(m_io_check_watchdog_timer); ++ ++ if (!ret) { ++- m_io_check_watchdog_timer = nullptr; +++ m_io_check_watchdog_timer = reinterpret_cast(-1); ++ } ++ } ++ ++- if (m_io_check_timer && !ret) { +++ if (m_io_check_timer != reinterpret_cast(-1) && !ret) { ++ ret = timer_delete(m_io_check_timer); ++ ++ if (!ret) { ++- m_io_check_timer = nullptr; +++ m_io_check_timer = reinterpret_cast(-1); ++ } ++ } ++ ++@@ -93,8 +93,8 @@ class Rdb_io_watchdog { ++ ++ public: ++ explicit Rdb_io_watchdog(std::vector &&directories) ++- : m_io_check_timer(nullptr), ++- m_io_check_watchdog_timer(nullptr), +++ : m_io_check_timer(reinterpret_cast(-1)), +++ m_io_check_watchdog_timer(reinterpret_cast(-1)), ++ m_io_in_progress(false), ++ m_dirs_to_check(std::move(directories)), ++ m_buf(nullptr) { ++--- a/storage/rocksdb/rdb_io_watchdog.cc +++++ b/storage/rocksdb/rdb_io_watchdog.cc ++@@ -111,7 +111,7 @@ void Rdb_io_watchdog::io_check_callback( ++ sql_print_warning("Deleting the watchdog I/O timer failed with %d.", errno); ++ } ++ ++- m_io_check_watchdog_timer = nullptr; +++ m_io_check_watchdog_timer = reinterpret_cast(-1); ++ ++ RDB_MUTEX_UNLOCK_CHECK(m_reset_mutex); ++ } diff --cc debian/patches/series index 000000000,000000000..fd212bbf4 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,8 @@@ ++0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch ++rocksdb-kfreebsd.patch ++env-perl-usr-bin-perl.patch ++fix-spelling-rocksdb.patch ++fix-reproducible-builds-rocksdb.patch ++mroonga-mrn-lib-dirs-path-reproducible-build.patch ++2129-new-script-wsrep-sst-backup-fixes.patch ++2541-fix-stack-overflow-in-pinbox-allocator.patch diff --cc debian/po/ar.po index 171200593,000000000..3737c7595 mode 100644,000000..100644 --- a/debian/po/ar.po +++ b/debian/po/ar.po @@@ -1,107 -1,0 +1,107 @@@ +# translation of templates.po to Arabic +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Ossama M. Khayat , 2007. +msgid "" +msgstr "" - "Project-Id-Version: templates\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2007-05-01 13:04+0300\n" +"Last-Translator: Ossama M. Khayat \n" +"Language-Team: Arabic \n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=6; plural=n==1 ? 0 : n==0 ? 1 : n==2 ? 2: n%100>=3 && " +"n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" +": n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" +": n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" +": n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" +": n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" +": n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" +": n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "ملاحظة هامة لمستخدمي NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +#, fuzzy +#| msgid "" +#| "You should also check the permissions and the owner of the /var/lib/mysql " +#| "directory:" +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "عليك أيضاً أن تقوم بالتأكد من صلاحيات مالك الملف /var/lib/mysql: " + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "إزالة جميع قواعد بيانات MariaDB؟" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "الدليل /var/lib/mysql الذي يحتوي قواعد بيانات MariaDB ستتم إزالته." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"إن كنت تقوم بإزالة حزمة MariaDB كي تقوم لاحقاً بتثبيت نسخة أحدث أو إن كانت " +"حزمة mariadb-server مختلفة تستخدمها، فيجب إبقاء البيانات." diff --cc debian/po/ca.po index 5eb310971,000000000..cf41099aa mode 100644,000000..100644 --- a/debian/po/ca.po +++ b/debian/po/ca.po @@@ -1,109 -1,0 +1,109 @@@ +# mariadb (debconf) translation to Catalan. +# his file is distributed under the same license as the mariadb package. +# Aleix Badia i Bosch 2004 +# Innocent De Marchi 2017 +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-03-20 17:55+0100\n" +"Last-Translator: Innocent De Marchi \n" +"Language-Team: Debian l10n Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "El directori de dades antigues es desarà a una nova localització" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Ja hi ha un fitxer amb el nom «/var/lib/mysql/debian-*.flag» en aquests " +"sistema. El número indica la versió de format binari de la base de dades que " +"no és possible actualitzar (o tornar a una versió anterior) automàticament." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"En conseqüència, el directori de dades anterior serà renomenat a «/var/lib/" +"mysql-*» i s'iniciarà un nou directori de dades a «/var/lib/mysql»." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Si us plau, importau o exportau manualment les vostres dades (p. ex. amb " +"«mysqldump») si és necessari." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Nota important pels usuaris de «NIS/YP»" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Fer servir MariaDB sota «NIS/YP» requereix afegir un compte d'usuari MySQL " +"al sistema local fent servir:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"També heu de comprovar els permisos i els propietaris del directori «/var/" +"lib/mysql»" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Eliminar totes les bases de dades MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"El directori «/var/lib/mysql» que conté totes les bases de dades MariaDB " +"està a punt d'ésser eliminat." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Si estau des-instal·lant el paquet MariaDB amb la intenció d'instal·lar a " +"continuació una versió més recent o hi ha una versió diferent del paquet " +"«mariadb-server» que l'està fent servir, cal mantenir les dades." diff --cc debian/po/cs.po index 67619ca1c,000000000..d55024a43 mode 100644,000000..100644 --- a/debian/po/cs.po +++ b/debian/po/cs.po @@@ -1,115 -1,0 +1,115 @@@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2020-10-18 17:13+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Starý adresář s daty bude uložen na novém místě." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" - "V systému existuje soubor /var/lib/mysql/debian-*.flag. Číslo znamená " - "verzi binárního formátu databáze, kterou nelze automaticky aktualizovat " - "(ani degradovat)." ++"V systému existuje soubor /var/lib/mysql/debian-*.flag. Číslo znamená verzi " ++"binárního formátu databáze, kterou nelze automaticky aktualizovat (ani " ++"degradovat)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" - "Z tohoto důvodu bude původní adresář přejmenován na /var/lib/mysql-* " - "a ve /var/lib/mysql se inicializuje nové datové úložiÅ¡tě." ++"Z tohoto důvodu bude původní adresář přejmenován na /var/lib/mysql-* a ve /" ++"var/lib/mysql se inicializuje nové datové úložiÅ¡tě." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Pokud je to potřeba, vyexportujte/naimportujte data ručně (např. pomocí " +"mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Důležitá poznámka pro uživatele NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Používání MariaDB pod NIS/YP vyžaduje, aby byl účet mysql uživatele přidán " +"na lokálním systému příkazem:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Také byste měli zkontrolovat vlastníka a oprávnění adresáře /var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Odstranit vÅ¡echny MariaDB databáze?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"Adresář /var/lib/mysql, ve kterém se nachází MariaDB databáze, bude " +"odstraněn." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Jestliže odstraňujete balík MariaDB za účelem instalace novější verze " +"MariaDB, nebo pokud tato data souběžně využívá jiný balík mariadb-server, " +"měli byste data ponechat." diff --cc debian/po/da.po index c639f03a9,000000000..4a82051f5 mode 100644,000000..100644 --- a/debian/po/da.po +++ b/debian/po/da.po @@@ -1,109 -1,0 +1,109 @@@ +# Danish translation mariadb. +# Copyright (C) 2014 mariadb og nedenstÃ¥ende oversættere. +# This file is distributed under the same license as the mariadb package. +# Claus Hindsgaul , 2005, 2006, 2007. +# Joe Hansen , 2014, 2016. +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2016-07-09 22:41+0200\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Den gamle datamappe vil blive gemt pÃ¥ en ny placering" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"En fil navngivet /var/lib/msyql/debian-*.flag findes pÃ¥ dette system. " +"Nummeret antyder en databaseversion i binært format, som ikke automatisk kan " +"opgraderes (eller nedgraderes)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Derfor vil den tidligere datamappe blive omdøbt til /var/lib/mysql-* og en " +"ny datamappe vil blive initialiseret i /var/lib/msyql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Eksporter/importer venligst manuelt dine data (f.eks. med mysqldump) hvis " +"krævet." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Vigtig oplysning til NIS/YP-brugere" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Brug af MariaDB under NIS/YP kræver, at en mysql-brugerkonto tilføjes pÃ¥ det " +"lokale system med:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Du bør ogsÃ¥ kontrollere filrettighederne og ejerskabet af mappen /var/lib/" +"mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Fjern alle MariaDB-databaser?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"Mappen /var/lib/mysql, der indeholder MariaDB-databaserne, er ved at blive " +"fjernet." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Hvis du fjerner MariaDB-pakken for senere at installere en nyere version, " +"eller hvis en anden mariadb-server-pakke allerede benytter den, bør dataene " +"bevares." diff --cc debian/po/de.po index 9d3056013,000000000..2292e3be3 mode 100644,000000..100644 --- a/debian/po/de.po +++ b/debian/po/de.po @@@ -1,109 -1,0 +1,109 @@@ - # German translation of mariadb 10.0.13-1 ++# German translation of mariadb +# Alwin Meschede , 2006, 2007. +# Thomas Mueller , 2009. +# Chris Leick , 2014-2016. +# +msgid "" +msgstr "" - "Project-Id-Version: mariadb 10.0.25-1\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2016-05-12 22:39+0100\n" +"Last-Translator: Chris Leick \n" +"Language-Team: German \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Das alte Datenverzeichnis wird an einer neuen Stelle gespeichert" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Auf diesem System gibt es bereits eine Datei namens /var/lib/mysql/debian-*." +"flag. Die Zahl gibt eine Binärformatversion der Datenbank an, von der nicht " +"automatisch ein Upgrade (oder Downgrade) durchgeführt werden kann." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Daher wird das vorherige Datenverzeichnis in /var/lib/mysql-* umbenannt und " +"unter /var/lib/mysql wird ein neues Datenverzeichnis initialisiert." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Bitte exportieren/importieren Sie im Bedarfsfall Ihre Daten (z.B. mit " +"Mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Wichtige Anmerkung für NIS/YP-Benutzer!" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Falls MariaDB mit NIS/YP genutzt wird, muss ein »mysql«-Benutzerkonto auf " +"dem lokalen System hinzugefügt werden mit:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Sie sollten außerdem Besitzer und Zugriffsrechte des Verzeichnisses /var/lib/" +"mysql überprüfen:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Alle MariaDB-Datenbanken entfernen?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"Das Verzeichnis /var/lib/mysql mit den MariaDB-Datenbanken soll entfernt " +"werden." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Falls geplant ist, das MariaDB-Paket zu entfernen, um lediglich eine höhere " +"Version zu installieren oder ein anderes mariadb-server-Paket die Daten " +"benutzt, sollten diese beibehalten werden." diff --cc debian/po/es.po index 1dd087782,000000000..4a383b175 mode 100644,000000..100644 --- a/debian/po/es.po +++ b/debian/po/es.po @@@ -1,144 -1,0 +1,144 @@@ +# MariaDB translation to Spanish +# Copyright (C) 2005-2016 Software in the Public Interest, SPI Inc. +# This file is distributed under the same license as the mariadb package. +# +# Changes: +# - Initial translation +# Jesus Aneiros, 2006 +# - Updated +# Javier Fernandez-Sanguino, 2006-2007, 2012, 2016 +# - Revision +# Nacho Barrientos Arias +# Fernando Cerezal +# David Martínez Moreno +# Ricardo Mones +# Carlos Galisteo +# Javier Fernandez-Sanguino +# +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traducción consulte con el último +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traducción de Debian al español () +msgid "" +msgstr "" - "Project-Id-Version: mysql-dfsg-5.1_5.0.24-3\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2016-04-30 21:26+0200\n" +"Last-Translator: Javier Fernández-Sanguino \n" +"Language-Team: Debian l10 Spanish \n" +"Language: Spanish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POFile-SpellExtra: YP mariadb lib ej server flag mysqldump mysql var NIS\n" +"X-POFile-SpellExtra: MariaDB\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Se guardará el directorio antiguo de datos a la nueva ubicación" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Se ha encontrado un archivo «/var/lib/mysql/debian-*.flag» en el sistema. " +"Este número indica una versión de base de datos en formato binario que no " +"puede ser subirse (o bajarse) de versión automáticamente." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Por tanto, el archivo de datos anterior se renombrará a «/var/lib/mysql-*» y " +"se inicializará un nuevo directorio de datos en «/var/lib/mysql»." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Si lo necesita, tendrá que exportar e importar sus datos manualmente (p.ej. " +"con mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Nota importante para los usuarios de NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Para utilizar MariaDB bajo NIS/YP es necesario añadir una cuenta de usuario " +"mysql en el sistema local con:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"También debería comprobar los permisos y el propietario del directorio /var/" +"lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "¿Desea eliminar todas las bases de datos MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"El directorio /var/lib/mysql contiene bases de datos MariaDB que van a " +"eliminarse." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Debería mantener los datos si tiene planificado instalar una versión de " +"MariaDB más reciente o si hay un paquete «mariadb-server» distinto que los " +"está utilizando." diff --cc debian/po/eu.po index ee7191356,000000000..cf9826f77 mode 100644,000000..100644 --- a/debian/po/eu.po +++ b/debian/po/eu.po @@@ -1,104 -1,0 +1,104 @@@ +# translation of eu.po to Euskara +# Piarres BEobide , 2006. +# Piarres Beobide , 2009. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +msgid "" +msgstr "" - "Project-Id-Version: eu\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2009-07-29 11:59+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "NIS/YP erabiltzaileentzat ohar garrantzitsua" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +#, fuzzy +#| msgid "" +#| "You should also check the permissions and the owner of the /var/lib/mysql " +#| "directory:" +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Honetaz gain /var/lib/mysql direktorioaren jabea eta baimenak egiaztatu " +"beharko zenituzke:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Ezabatu MariaDB datubase guztiak?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"MariaDB datubaseak dituen /var/lib/mysql direktorioa ezabatua izango da." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"MariaDB paketea beranduago bertsio berriago bat instalatzeko kentzen ari " +"bazara, edo beste mariadb-server pakete bat berau erabiltzen ari bada, " +"datuak mantendu egin beharko lirateke." diff --cc debian/po/fi.po index d5a1b6d7b,000000000..a58a51630 mode 100644,000000..100644 --- a/debian/po/fi.po +++ b/debian/po/fi.po @@@ -1,105 -1,0 +1,105 @@@ +# Finnish translations for mariadb package +# This file is distributed under the same license as the mariadb package. +# Antti Järvinen , 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-03-15 22:36+0200\n" +"Last-Translator: antti.jarvinen@katiska.org\n" +"Language-Team: \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Vanha datahakemisto tullaan tallentamaan uuteen paikkaan" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Järjestelmässä on tiedosto /var/lib/mysql/debian-*.flag. Numero osoittaa " +"tietokantatiedoston binääriformaatin version, josta/johon päivittäminen ei " +"automaattisesti onnistu. " + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Siksipä vanha datahakemisto tullaan siirtämään nimelle /var/lib/mysql-* ja " +"uudet tiedostot luodaan hakemistoon /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Tarpeittesi mukaan tuo tai vie tietokannan sisältö käsipelillä, esim. " +"käyttäen mysqldump-ohjelmaa." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Merkittävä huomio NIS/YP -käyttäjille" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"MariaDB:n käyttäminen NIS/YP:n kanssa edellyttää, että järjestelmään luodaan " +"käyttäjätunnus mysql:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "Tarkista myös hakemiston /var/lib/mysql omistaja ja oikeudet:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Poistetaanko kaikki MariaDB-tietokannat?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"MariaDB-tietokannat sisältävä hakemisto /var/lib/mysql ollaan poistamassa." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Jos poistat MariaDB-paketin asentaaksesi uudemman version tai jos joku muu " +"mariadb-server -paketti jo käyttää tietoja, tiedot tulisi säästää. " diff --cc debian/po/fr.po index 14b4c84a1,000000000..d18cc719b mode 100644,000000..100644 --- a/debian/po/fr.po +++ b/debian/po/fr.po @@@ -1,113 -1,0 +1,112 @@@ - # Translation of mariadb debconf templates to French +# Copyright (C) 2004-2016 Debian French l10n team - # This file is distributed under the same license as the mariadb packages. - # ++# French translation of mariadb ++# This file is distributed under the same license as the mariadb package. +# Translators: - # Christian Perrier , 2004, 2006, 2007, 2009, 2013. +# Baptiste Jammet , 2016. ++# Christian Perrier , 2004-2013 ++# bubu , 2023. ++# +msgid "" +msgstr "" - "Project-Id-Version: fr\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" - "PO-Revision-Date: 2016-12-31 18:35+0100\n" - "Last-Translator: Baptiste Jammet \n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" ++"PO-Revision-Date: 2023-01-30 18:38+0100\n" ++"Last-Translator: bubu \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" - "debian.org>\n" - "X-Generator: Lokalize 1.5\n" - "Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n" ++"X-Generator: Poedit 2.4.2\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "L'ancien répertoire de données sera sauvegardé à un nouvel emplacement" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" - "Un fichier nommé /var/lib/mysql/debian-*.flag existe déjà sur ce système. Le " ++"Un fichier nommé /var/lib/mysql/debian-*.flag existe sur ce système. Le " +"numéro indique une version de base de données au format binaire qui ne peut " - "pas être mise à niveau (ou rétrogradée) automatiquement." ++"être mise à niveau automatiquement (ni rétrogradée)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" - "L'ancien répertoire sera renommé en /var/lib/mysql-* et un nouveau " - "répertoire de données sera initialisé à l'emplacement /var/lib/mysql." ++"Par conséquent, le répertoire de données précédent sera renommé /var/lib/" ++"mysql.* et un nouveau répertoire sera initialisé à /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" - "Veuillez exporter puis importer vos données manuellement si besoin (par " - "exemple avec mysqldump)." ++"Veuillez importer et exporter vos données manuellement (par exemple avec " ++"mysqldump) si nécessaire." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" - msgstr "Note importante pour les utilisateurs NIS/YP" ++msgstr "Remarque importante pour les utilisateurs de NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" - "L'utilisation de MariaDB avec NIS/YP impose l'ajout d'un compte local " - "« mysql » avec la commande :" ++"L'utilisation de MariaDB sous NIS/YP nécessite qu'un compte utilisateur " ++"« mysql » soit ajouté au système local avec :" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" - "Vous devez également vérifier le propriétaire et les permissions du " - "répertoire /var/lib/mysql :" ++"Vous devriez aussi vérifier les permissions et propriétaire du répertoire /" ++"var/lib/mysql :" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Faut-il supprimer toutes les bases de données MariaDB ?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" - "Le répertoire /var/lib/mysql qui contient les bases de données de MariaDB va " - "être supprimé." ++"Le répertoire /var/lib/mysql qui contient les bases de données MariaDB est " ++"sur le point d'être supprimé." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" - "Si vous retirez le paquet MariaDB en vue d'en installer une version plus " - "récente ou si un autre paquet mariadb-server les utilise déjà, vous devriez " - "les conserver." ++"Si vous supprimez le paquet MariaDB pour installer ultérieurement une " ++"version plus récente ou si un autre paquet mariadb-server l'utilise déjà, " ++"les données devraient être conservées." diff --cc debian/po/gl.po index 5567c6098,000000000..cda277c95 mode 100644,000000..100644 --- a/debian/po/gl.po +++ b/debian/po/gl.po @@@ -1,102 -1,0 +1,106 @@@ - # Galician translation of mysql-dfsg-5.1's debconf templates - # This file is distributed under the same license as the mysql-dfsg-5.1 package. ++# Galician translation of mariadb debconf templates ++# This file is distributed under the same license as the mariadb package. +# Jacobo Tarrio , 2007. +# +msgid "" +msgstr "" - "Project-Id-Version: mysql-dfsg-5.1\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" - "PO-Revision-Date: 2007-04-20 09:44+0200\n" - "Last-Translator: Jacobo Tarrio \n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" ++"PO-Revision-Date: 2023-01-30 10:35+0100\n" ++"Last-Translator: Pablo \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++"X-Generator: Poedit 3.2.2\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" - msgstr "" ++msgstr "O antigo directorio con datos gardarase noutro sitio." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" ++"Xa existe un ficheiro chamado /var/lib/mysql/debian-*.flag. O número indica " ++"unha versión do formato binario da base de datos que non se pode actualizar " ++"(ou desactualizar) de forma automática." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" ++"Por mor disto, o directorio de datos antigo moverase a /var/lib/mysql-* e " ++"crearase un novo directorio de datos en /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" ++"Se o precisa, exporte e importe os datos de forma manual (v.g. con " ++"mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" - msgstr "Nota importante para os usuarios de NIS/YP" ++msgstr "Aviso importante se usa NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" ++"Para usar MariaDB con NIS/YP precisa engadir a conta de usuario mysql ao " ++"sistema local facendo:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 - #, fuzzy - #| msgid "" - #| "You should also check the permissions and the owner of the /var/lib/mysql " - #| "directory:" +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" - msgstr "" - "Tamén debería comprobar os permisos e o propietario do directorio /var/lib/" - "mysql:" ++msgstr "Tamén comprobe os permisos e propietario do directorio /var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" - msgstr "¿Eliminar tódalas bases de datos de MariaDB?" ++msgstr "Eliminar todas as bases de datos MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" - "Hase eliminar o directorio /var/lib/mysql, que contén as bases de datos de " - "MariaDB." ++"Vaise eliminar o directorio /var/lib/mysql con todas as base de datos MariaDB" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" - "Se está a eliminar o paquete MariaDB para instalar despois unha versión máis " - "recente ou se xa hai un paquete mariadb-server diferente a empregalo, " - "debería conservar os datos." ++"Recomendamos que non elimine os datos se vai eliminar o paquete MariaDB para " ++"instalar unha versión máis nova, ou se inda os usa algún paquete mariadb-" ++"server." diff --cc debian/po/it.po index 56f134fd5,000000000..6afcd3581 mode 100644,000000..100644 --- a/debian/po/it.po +++ b/debian/po/it.po @@@ -1,107 -1,0 +1,107 @@@ +# Italian (it) translation of debconf templates for mariadb +# This file is distributed under the same license as the mariadb package. +# Luca Monducci , 2006-2017. +# +msgid "" +msgstr "" - "Project-Id-Version: mariadb 10.0.13 Italian debconf templates\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-083-20 20:29+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "La vecchia directory data verrà salvata in una nuova posizione" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Su questo sistema esiste già un file con nome /var/lib/mysql/debian-*.flag. " +"Il numero indica una versione del database in formato binario che non è " +"possibile promuovere (o retrocedere) a una nuova versione automaticamente." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Di conseguenza la precedene directory data verrà rinominata in /var/lib/" +"mysql-* e verrà preparata una nuova directory data in /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Se necessario eseguire manualmente l'export/import (per esempio con " +"mysqldump) dei propri dati." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Nota importante per gli utenti NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Per usare MariaDB con NIS/YP è necessario aggiungere al sistema un account " +"utente locale con nome mysql con:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Inoltre è opportuno verificare i permessi e la proprietà della directory /" +"var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Eliminare tutti i database MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"La directory /var/lib/mysql che contiene i database di MariaDB sta per " +"essere eliminata." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Se si rimuove il pacchetto MariaDB per poi installare una versione più " +"recente oppure se sono già in uso da un altro pacchetto mariadb-server, i " +"dati non devono essere eliminati." diff --cc debian/po/ja.po index a8b2a0a96,000000000..556a3ea0d mode 100644,000000..100644 --- a/debian/po/ja.po +++ b/debian/po/ja.po @@@ -1,118 -1,0 +1,118 @@@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Hideki Yamane (Debian-JP) , 2013. +# Takuma Yamada , 2016-2017. +# +msgid "" +msgstr "" - "Project-Id-Version: mariadb 10.0.32-1\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2016-05-01 11:27+0900\n" +"Last-Translator: Takuma Yamada \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Gtranslator 2.91.6\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "古いデータディレクトリは、新しい場所に保存されます" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"/var/lib/mysql/debian-*.flag という名前のファイルがこのシステム上に存在しま" +"す。番号は、自動的にアップグレード (またはダウングレード) することができない" +"データベースバイナリフォーマットのバージョンを示します。" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"そのため、以前のデータディレクトリは /var/lib/mysql-* にリネームされ、新しい" +"データディレクトリは /var/lib/mysql に初期化されます。" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"必要に応じて、(例えば mysqldump で) データを手動でエクスポート/インポートして" +"ください。" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "NIS/YP ユーザへの重要な注意" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"NIS/YP 配下で MariaDB を使うにはローカルのシステムに mysql のユーザアカウント" +"を追加するのが必要です。" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "/var/lib/mysql の所有者権限をチェックする必要もあります。" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "すべての MariaDB データベースを削除しますか?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"MariaDB データベースを含んでいるディレクトリ /var/lib/mysql を削除しようとし" +"ています。" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"後でより新しいバージョンのものをインストールしようとするために MariaDB パッ" +"ケージを削除しようとしている、あるいは別の mariadb-server パッケージを既に" +"使っている場合、データは保持する必要があります。" diff --cc debian/po/nb.po index e4255bdea,000000000..c0efb3235 mode 100644,000000..100644 --- a/debian/po/nb.po +++ b/debian/po/nb.po @@@ -1,103 -1,0 +1,103 @@@ +# translation of mysql_nb.po to Norwegian BokmÃ¥l +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bjørn Steensrud , 2007. +msgid "" +msgstr "" - "Project-Id-Version: mysql_nb\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2007-02-18 12:13+0100\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian BokmÃ¥l \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +#, fuzzy +#| msgid "Important note for NIS/YP users!" +msgid "Important note for NIS/YP users" +msgstr "Viktig merknad for NIS/YP-brukere!" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +#, fuzzy +#| msgid "" +#| "The script is about to remove the data directory /var/lib/mysql. If it is " +#| "planned to just install a higher MySQL version or if a different mysql-" +#| "server package is already using it, the data should be kept." +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Dette skriptet skal til Ã¥ fjerne data-mappa /var/lib/mysql. Denne mappa bør " +"beholdes hvis det bare skal installeres en høyere MariaDB-versjon, eller " +"hvis en annen mariadb-server-pakke allerede bruker den." diff --cc debian/po/nl.po index 2cf0a2b1f,000000000..58f0a61e7 mode 100644,000000..100644 --- a/debian/po/nl.po +++ b/debian/po/nl.po @@@ -1,111 -1,0 +1,111 @@@ - # Dutch mariadb-10 po-debconf translation, ++# Dutch mariadb po-debconf translation, +# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the mariadb package. +# Vincent Zweije , 2006. +# Frans Spiesschaert , 2014, 2016, 2018. +# +msgid "" +msgstr "" - "Project-Id-Version: mariadb-10.2.7-1\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2018-03-29 21:25+0200\n" +"Last-Translator: Frans Spiesschaert \n" +"Language-Team: Debian Dutch l10n Team \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Gtranslator 2.91.7\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "De oude data-map zal op een nieuwe locatie bewaard worden" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Er bestaat op dit systeem een bestand met als naam /var/lib/mysql/debian-*." +"flag. Het nummer duidt op een versie van het binair database-bestandsformaat " +"dat niet automatisch opgewaardeerd (of gedegradeerd) kan worden." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Daarom zal de vroegere data-map hernoemd worden naar /var/lib/mysql-* en zal " +"er een nieuwe data-map geïnitialiseerd worden op /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Gelieve uw data zo nodig handmatig te exporteren/importeren (bijv. met " +"mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Belangrijke opmerking voor gebruikers van NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Het gebruik van MariaDB onder NIS/YP vereist dat een mysql gebruikersaccount " +"wordt toegevoegd aan het lokale systeem met:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"U moet ook controleren wie eigenaar is en wat de gebruikersrechten zijn van " +"de map /var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Wilt u alle MariaDB-databases verwijderen?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"De map /var/lib/mysql die de MariaDB-databases bevat staat op het punt om " +"verwijderd te worden." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Als u het MariaDB-pakket verwijdert om later een meer recente versie te " +"installeren of als een ander mariadb-serverpakket het al gebruikt, zou de " +"data behouden moeten worden." diff --cc debian/po/pt.po index fae123972,000000000..2f3149df6 mode 100644,000000..100644 --- a/debian/po/pt.po +++ b/debian/po/pt.po @@@ -1,109 -1,0 +1,109 @@@ - # Portuguese translation for mysql-dfsg-5.1's debconf messages ++# Portuguese translation for mariadb debconf messages +# Copyright (C) 2006 Miguel Figueiredo +# This file is distributed under the same license as the mariadb package. +# Miguel Figueiredo , 2014 +# Rui Branco , 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-08-06 10:00+0100\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "O antigo directório de data será guardado num novo local" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Já existe um ficheiro /var/lib/mysql/debian-*.flag no sistema. O número " +"indica uma base de dados de formato binário que não pode ser actualizada " +"automaticamente (ou baixar de versão)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Assim o directório de dados anterior será renomeado para /var/lib/mysql-* e " +"um novo directório de dados será inicializado em /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Por favor, se necessário, exporte/importe manualmente os seus dados (p.ex. " +"com mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Nota importante para os utilizadores de NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Utilizar MariaDB com NIS/YP necessita de uma conta de utilizador de mysql " +"para ser acrescentada ao sistema local com:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Deve também verificar as permissões e o dono do directório /var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Remover todas as bases de dados MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"O directório /var/lib/mysql que contém as bases de dados MariaDB está " +"prestes a ser removido." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Se está a remover o pacote MariaDB de forma a posteriormente instalar uma " +"versão mais recente ou se um pacote mariadb-server já o está a utilizar, " +"então os dados devem ser mantidos." diff --cc debian/po/pt_BR.po index 0249342c5,000000000..faba8c966 mode 100644,000000..100644 --- a/debian/po/pt_BR.po +++ b/debian/po/pt_BR.po @@@ -1,109 -1,0 +1,109 @@@ +# Debconf translations for mariadb. +# This file is distributed under the same license as the mariadb package. +# André Luís Lopes, , 2005-2007. - # Adriano Rafael Gomes , 2015-2016. ++# Adriano Rafael Gomes , 2015-2023. +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" - "PO-Revision-Date: 2016-04-30 16:16-0300\n" - "Last-Translator: Adriano Rafael Gomes \n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" ++"PO-Revision-Date: 2023-02-04 15:43-0300\n" ++"Last-Translator: Adriano Rafael Gomes \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "O diretório de dados antigo será salvo em novo local" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Um arquivo chamado /var/lib/mysql/debian-*.flag já existe nesse sistema. O " - "número indicou uma versão de formato binário de banco de dados que não pode " ++"número indica uma versão de formato binário de banco de dados que não pode " +"ser atualizada (ou rebaixada) automaticamente." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Portanto, o diretório de dados anterior será renomeado para /var/lib/mysql-* " +"e um novo diretório de dados será inicializado em /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Por favor, exporte/importe manualmente seus dados (por exemplo, com " +"mysqldump) se necessário." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Aviso importante para usuários NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Usar o MariaDB sob NIS/YP requer que uma conta de usuário mysql seja " +"adicionada ao sistema local com:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Você deverá também verificar as permissões e o dono do diretório /var/lib/" +"mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Remover todas as bases de dados do MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"O diretório /var/lib/mysql, o qual contém as bases de dados do MariaDB, está " +"prestes a ser removido." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Caso você esteja removendo o pacote MariaDB para posteriormente instalar uma " +"versão mais recente ou, caso uma versão diferente do pacote mariadb-server " +"esteja sendo utilizada, os dados deverão ser mantidos." diff --cc debian/po/ro.po index 66ea63ef7,000000000..c2851f002 mode 100644,000000..100644 --- a/debian/po/ro.po +++ b/debian/po/ro.po @@@ -1,103 -1,0 +1,110 @@@ - # Romanian translation of mysql-dfsg. - # Copyright (C) 2006 THE mysql-dfsg'S COPYRIGHT HOLDER - # This file is distributed under the same license as the mysql-dfsg package. ++# Romanian translation of mariadb. ++# Copyright © 2006, 2023 THE mariadb COPYRIGHT HOLDER ++# This file is distributed under the same license as the mariadb package. +# +# Stan Ioan-Eugen , 2006. ++# Remus-Gabriel Chelu , 2023. ++# +msgid "" +msgstr "" - "Project-Id-Version: po-debconf://mysql-dfsg\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" - "PO-Revision-Date: 2006-12-20 21:27+0200\n" - "Last-Translator: stan ioan-eugen \n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" ++"PO-Revision-Date: 2023-01-29 23:56+0100\n" ++"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: romanian \n" - "Language: \n" ++"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" - "X-Generator: KBabel 1.11.4\n" ++"X-Generator: Poedit 3.2.2\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" - msgstr "" ++msgstr "Vechiul director de date va fi salvat în noua locație" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" ++"Un fișier numit „/var/lib/mysql/debian-*.flag” există în acest sistem. Numărul " ++"indică o versiune în format binar al bazei de date care nu poate fi actualizată " ++"(sau retrogradată) automat." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" - "Therefore the previous data directory will be renamed to /var/lib/mysql-* " - "and a new data directory will be initialized at /var/lib/mysql." ++"Therefore the previous data directory will be renamed to /var/lib/mysql-* and a " ++"new data directory will be initialized at /var/lib/mysql." +msgstr "" ++"Prin urmare, directorul de date anterior va fi redenumit în „/var/lib/mysql-*” " ++"și un nou director de date va fi inițializat la „/var/lib/mysql”." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 - msgid "" - "Please manually export/import your data (e.g. with mysqldump) if needed." ++msgid "Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" ++"Exportați/importați manual datele dumneavoastră (de exemplu, cu «mysqldump»), " ++"dacă este necesar." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 - #, fuzzy - #| msgid "Important note for NIS/YP users!" +msgid "Important note for NIS/YP users" - msgstr "Notă importantă pentru utilizatorii NIS/YP!" ++msgstr "Notă importantă pentru utilizatorii NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" ++"Dacă MariaDB se utilizează sub NIS/YP, se necesită adăugarea unui cont de " ++"utilizator „mysql” în sistemul local cu:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" ++"Ar trebui să verificați, de asemenea, permisiunile și dreptul de proprietate " ++"asupra directorului „/var/lib/mysql”:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" - msgstr "" ++msgstr "Eliminați toate bazele de date MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" - "The /var/lib/mysql directory which contains the MariaDB databases is about " - "to be removed." ++"The /var/lib/mysql directory which contains the MariaDB databases is about to " ++"be removed." +msgstr "" ++"Directorul „/var/lib/mysql” care conține bazele de date MariaDB este pe cale să " ++"fie eliminat." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 - #, fuzzy - #| msgid "" - #| "The script is about to remove the data directory /var/lib/mysql. If it is " - #| "planned to just install a higher MySQL version or if a different mysql-" - #| "server package is already using it, the data should be kept." +msgid "" - "If you're removing the MariaDB package in order to later install a more " - "recent version or if a different mariadb-server package is already using it, " - "the data should be kept." ++"If you're removing the MariaDB package in order to later install a more recent " ++"version or if a different mariadb-server package is already using it, the data " ++"should be kept." +msgstr "" - "Scriptul urmează să şteargă directorul de date /var/lib/mysql. Dacă plănuiÅ£i " - "doar să instalaÅ£i o versiune nouă MariaDB sau datele sunt folosite de către " - "un alt pachet mariadb-server, atunci ar trebui păstraÅ£i datele." ++"Dacă eliminați pachetul MariaDB pentru a instala ulterior o versiune mai " ++"recentă sau dacă un alt pachet mariadb-server îl folosește deja, datele ar " ++"trebui păstrate." diff --cc debian/po/ru.po index 9b36c68fd,000000000..5271c568d mode 100644,000000..100644 --- a/debian/po/ru.po +++ b/debian/po/ru.po @@@ -1,110 -1,0 +1,110 @@@ +# translation of ru.po to Russian +# +# Ilgiz Kalmetev , 2003. +# Yuriy Talakan' , 2005, 2006. +# Yuriy Talakan' , 2007. +# Yuri Kozlov , 2009, 2014, 2016. +msgid "" +msgstr "" - "Project-Id-Version: mariadb 10.0.25-1\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2016-05-04 18:56+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.5\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Каталог со старыми данными будет сохранён в новом месте" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"В системе найден файл /var/lib/mysql/debian-*.flag. Число представляет " +"версию двоичного формата базы данных, которую невозможно обновить " +"автоматически (или откатить к старой версии)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"В следствии этого, предыдущий каталог с данными будет переименован в /var/" +"lib/mysql-*, а в /var/lib/mysql будет инициализирован каталог для новых " +"данных." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Если нужно, выполните экспорт/импорт данных вручную (например, с помощью " +"mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Важное замечание для пользователей NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Использование MariaDB в NIS/YP требует добавления учётной записи mysql в " +"локальную систему с:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "Также проверьте права доступа и владельца каталога /var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Удалить все базы данных MariaDB?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"Запрос на удаление каталога /var/lib/mysql, содержащий базы данных MariaDB." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Если вы удаляете пакет MariaDB для установки более новой версии MariaDB, или " +"есть другие пакеты mariadb-server, использующие этот каталог, то данные " +"лучше сохранить." diff --cc debian/po/sv.po index 4cd09734e,000000000..806ebba3c mode 100644,000000..100644 --- a/debian/po/sv.po +++ b/debian/po/sv.po @@@ -1,110 -1,0 +1,110 @@@ +# Translation of mariadb debconf template to Swedish +# Copyright (C) 2017 Martin Bagge +# This file is distributed under the same license as the mariadb package. +# +# Andreas Henriksson , 2007 +# Martin Bagge , 2009, 2015, 2017 +msgid "" +msgstr "" - "Project-Id-Version: mysql-dfsg-5.1 5.0.21-3\n" ++"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-03-23 09:20+0100\n" +"Last-Translator: Martin Bagge / brother \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Den gamla data-katalogen kommer att sparas till en ny plats" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"En fil med namn pÃ¥ formatet /var/lib/mysql/debian-*.flag hittades i " +"systemet. Siffran indikerar ett binärformat pÃ¥ databasen som inte kan " +"uppgraderas (eller nedgraderas)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Därför kommer den gamla data-katalogen att byta namn till /var/lib/mysql-* " +"och en ny katalog kommer att initieras pÃ¥ /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Exportera/importera din data manuellt (exempelvis med mysqldump) om detta är " +"nödvändigt." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Viktig information för NIS/YP-användare" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"För att kunna använda MariaDB under NIS/YP mÃ¥ste ett användarkonto för mysql " +"läggas till i systemet." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Du bör ocksÃ¥ kontrollera rättigheterna och ägaren av katalogen /var/lib/" +"mysql." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Ta bort alla MariaDB-databaser?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"Katalogen /var/lib/mysql som innehÃ¥ller MariaDB-databaser kommer att tas " +"bort." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Om avinstallationen av MariaDB-paketet görs för att senare kunna installera " +"en nyare version eller om en annan mariadb-server redan använder filerna ska " +"de inte raderas." diff --cc debian/po/templates.pot index 102b6214c,000000000..49daaa3ed mode 100644,000000..100644 --- a/debian/po/templates.pot +++ b/debian/po/templates.pot @@@ -1,93 -1,0 +1,93 @@@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the mariadb package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" diff --cc debian/po/tr.po index 74320c147,000000000..b8ec2a7f6 mode 100644,000000..100644 --- a/debian/po/tr.po +++ b/debian/po/tr.po @@@ -1,107 -1,0 +1,107 @@@ +# Turkish translation of mariadb-server. +# This file is distributed under the same license as the mariadb-server package. +# Gürkan Aslan , 2004 +# Atila KOÇ , 2015, 2017 +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-03-16 13:16+0300\n" +"Last-Translator: Atila KOÇ \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 1.8.7.1\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Eski veritabanı dizini yeni konumuna kaydedilecektir" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Bu sistemde /var/lib/mysql/debian-*.flag adlı bir dosya bulunmaktadır. " +"Belirtilen numara kendiliğinden yükseltilemeyecek ya da alçaltılamayacak bir " +"ikilik veritabanı biçimini işaret etmektedir." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Önceki veri dizini /var/lib/mysql-* olarak yeniden adlandırılacak ve yeni " +"veri dizini /var/lib/mysql konumunda hazırlanacaktır." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "Gerektiğinde verinizi elle (ör. mysqldump ile) içe/dışa aktarın." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "NIS/YP kullanıcıları için önemli not" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"MariaDB'nin NIS/YP ile kullanılması için yerel sisteme aşağıdaki komut " +"çalıştırılarak mysql kullanıcı hesabının eklenmesi gereklidir:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"/var/lib/mysql dizininin sahiplik ve izin ayarlarını da gözden " +"geçirmelisiniz:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Tüm MariaDB veritabanları kaldırılsın mı?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"MariaDB veritabanlarını barındıran /var/lib/mysql dizini kaldırılmak üzere" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Eğer MariaDB paketini daha sonra güncel bir sürümünü kurmak üzere " +"kaldırıyorsanız ya da veritabanlarınıza başka bir mariadb-server paketi ile " +"erişiyorsanız, veritabanlarınızı kaldırmamalısınız." diff --cc debian/po/vi.po index bd048b56b,000000000..3600ec3af mode 100644,000000..100644 --- a/debian/po/vi.po +++ b/debian/po/vi.po @@@ -1,109 -1,0 +1,109 @@@ +# Vietnamese translations for mariadb package +# Bản dịch Tiếng Việt dành cho gói mariadb. +# This file is distributed under the same license as the mariadb package. +# Trần Ngọc Quân , 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: mariadb\n" +"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" - "POT-Creation-Date: 2019-07-23 19:16-0300\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" +"PO-Revision-Date: 2017-03-18 13:32+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Gtranslator 2.91.7\n" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "The old data directory will be saved at new location" +msgstr "Thư mục dữ liệu cÅ© sẽ được lưu tại vị trí mới" + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " +"indicates a database binary format version that cannot automatically be " +"upgraded (or downgraded)." +msgstr "" +"Một tập tin có tên /var/lib/mysql/debian-*.flag đã sẵn có trên hệ thống này. " +"Con số chỉ ra rằng một phiên bản định dạng cÆ¡ sở dữ liệu không thể tá»± động " +"nâng cấp (hoặc hạ cấp)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Therefore the previous data directory will be renamed to /var/lib/mysql-* " +"and a new data directory will be initialized at /var/lib/mysql." +msgstr "" +"Do đó thư mục dữ liệu trước đây sẽ được đổi tên thành /var/lib/mysql-* và " +"thư mục dữ liệu mới sẽ được khởi tạo tại /var/lib/mysql." + +#. Type: note +#. Description +#: ../mariadb-server.templates:2001 +msgid "" +"Please manually export/import your data (e.g. with mysqldump) if needed." +msgstr "" +"Vui lòng xuất/nhập dữ liệu cá»§a bạn bằng tay nếu thấy cần (ví dụ bằng " +"mysqldump)." + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "Important note for NIS/YP users" +msgstr "Chú ý quan trọng cho người dùng NIS/YP" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"Using MariaDB under NIS/YP requires a mysql user account to be added on the " +"local system with:" +msgstr "" +"Dùng MariaDB dưới NIS/YP cần một tài khoản người dùng được thêm vào một hệ " +"thống nội bộ với:" + +#. Type: note +#. Description +#: ../mariadb-server.templates:3001 +msgid "" +"You should also check the permissions and ownership of the /var/lib/mysql " +"directory:" +msgstr "" +"Bạn cÅ©ng nên kiểm tra phân quyền và chá»§ sở hữu cá»§a thư mục /var/lib/mysql:" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "Remove all MariaDB databases?" +msgstr "Xóa bỏ mọi cÆ¡ sở dữ liệu MariaDB chứ?" + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"The /var/lib/mysql directory which contains the MariaDB databases is about " +"to be removed." +msgstr "" +"Thư mục /var/lib/mysql nÆ¡i mà chứa các cÆ¡ sở dữ liệu MariaDB chuẩn bị bị xóa " +"bỏ." + +#. Type: boolean +#. Description +#: ../mariadb-server.templates:4001 +msgid "" +"If you're removing the MariaDB package in order to later install a more " +"recent version or if a different mariadb-server package is already using it, " +"the data should be kept." +msgstr "" +"Nếu bạn gỡ bỏ gói cốt để mà sau này cài đặt gói máy phục vụ phiên bản gần " +"đây hoặc là một gói mariadb-server khác đang được dùng, dữ liệu nên được giữ " +"lại." diff --cc debian/po/zh_CN.po index 000000000,000000000..7a621796a new file mode 100644 --- /dev/null +++ b/debian/po/zh_CN.po @@@ -1,0 -1,0 +1,99 @@@ ++# Simplified Chinese translation of mariadb-server ++# This file is distributed under the same license as the mariadb package. ++# Tianyu Chen , 2023. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: mariadb\n" ++"Report-Msgid-Bugs-To: mariadb@packages.debian.org\n" ++"POT-Creation-Date: 2022-12-31 18:55-0800\n" ++"PO-Revision-Date: 2023-02-02 03:08+0800\n" ++"Last-Translator: Tianyu Chen \n" ++"Language-Team: \n" ++"Language: zh_CN\n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=1; plural=0;\n" ++"X-Generator: Poedit 3.2.2\n" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:2001 ++msgid "The old data directory will be saved at new location" ++msgstr "旧的数据目录将被保存在新位置" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:2001 ++msgid "" ++"A file named /var/lib/mysql/debian-*.flag exists on this system. The number " ++"indicates a database binary format version that cannot automatically be " ++"upgraded (or downgraded)." ++msgstr "" ++"系统中存在名为 /var/lib/mysql/debian-*.flag 的文件。这个数字说明系统中存在一" ++"个对应版本的数据库无法自动升级(或降级)。" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:2001 ++msgid "" ++"Therefore the previous data directory will be renamed to /var/lib/mysql-* " ++"and a new data directory will be initialized at /var/lib/mysql." ++msgstr "" ++"因此之前的数据目录将被重命名至 /var/lib/mysql-*,新的数据目录将被初始化为 /" ++"var/lib/mysql。" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:2001 ++msgid "" ++"Please manually export/import your data (e.g. with mysqldump) if needed." ++msgstr "如必要,请手动导出/导入你的数据。(如,使用 mysqldump)" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:3001 ++msgid "Important note for NIS/YP users" ++msgstr "对 NIS/YP 用户的重要提示" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:3001 ++msgid "" ++"Using MariaDB under NIS/YP requires a mysql user account to be added on the " ++"local system with:" ++msgstr "在 NIS/YP 下使用 MariaDB 需要使用以下命令在系统中添加一个 mysql 用户:" ++ ++#. Type: note ++#. Description ++#: ../mariadb-server.templates:3001 ++msgid "" ++"You should also check the permissions and ownership of the /var/lib/mysql " ++"directory:" ++msgstr "你还需要检查 /var/lib/mysql 目录的权限和所有权:" ++ ++#. Type: boolean ++#. Description ++#: ../mariadb-server.templates:4001 ++msgid "Remove all MariaDB databases?" ++msgstr "移除全部 MariaDB 数据库?" ++ ++#. Type: boolean ++#. Description ++#: ../mariadb-server.templates:4001 ++msgid "" ++"The /var/lib/mysql directory which contains the MariaDB databases is about " ++"to be removed." ++msgstr "包含 MariaDB 数据库的目录 /var/lib/mysql 将被删除。" ++ ++#. Type: boolean ++#. Description ++#: ../mariadb-server.templates:4001 ++msgid "" ++"If you're removing the MariaDB package in order to later install a more " ++"recent version or if a different mariadb-server package is already using it, " ++"the data should be kept." ++msgstr "" ++"如果您是为了安装新版本而卸载 MariaDB 包,或正在使用另一个 mariadb-server 包," ++"您应该保留数据。" diff --cc debian/rules index 95ab0844a,000000000..d6e80d12b mode 100755,000000..100755 --- a/debian/rules +++ b/debian/rules @@@ -1,223 -1,0 +1,256 @@@ +#!/usr/bin/make -f + +# Enable Debian Hardening +# https://wiki.debian.org/Hardening +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# Disable LTO on Ubuntu, see LP: #1970634 and https://jira.mariadb.org/browse/MDEV-25633 +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes) + export DEB_BUILD_MAINT_OPTIONS += optimize=-lto +endif + +DPKG_EXPORT_BUILDFLAGS = 1 +# Include all defaults, including buildflags.mk +include /usr/share/dpkg/default.mk +# CPPFLAGS are nor read by CMake, so copy them to CXXFLAGS +# See why at https://cmake.org/Bug/view.php?id=12928 +# This is needed for e.g. all automatic Debian hardening flags to apply on all cmake builds. +CFLAGS+=$(CPPFLAGS) +CXXFLAGS+=$(CPPFLAGS) + +# Only do a strict symbol checking on Linux ++# https://manpages.debian.org/testing/dpkg-dev/dpkg-gensymbols.1.en.html ++# Level 4: Fails if some libraries have been introduced. +ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS))) - DPKG_GENSYMBOLS_CHECK_LEVEL := 4 ++ export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 +endif + +BUILDDIR := builddir +DEB_VERSION_REVISION := $(shell echo $(DEB_VERSION) | sed -e 's/^.*-//') +DEB_VERSION_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/^.*:\(.*\)\(-\|+\).*/\1/') +DEB_VERSION_MAJOR := $(shell echo $(DEB_VERSION_VERSION) | sed -e 's/^\(.*\)\..*$$/\1/') +RELEASE := $(shell lsb_release -r -s) # Use changelog based DEB_DISTRIBUTION instead? - TMP:=$(CURDIR)/debian/tmp ++TMP := $(CURDIR)/debian/tmp ++MTR_SKIP_TEST_LIST := $(shell mktemp) + +# According to Debian Policy version 4.2.0 builds should be as verbose as +# possible unless 'terse' is specifically passed. +ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS))) + export DH_VERBOSE=1 +endif + +# Parallel build support as advised +# at https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +else + # NUMJOBS cannot be empty as it is used as a parameter to mtr, default to 'auto'. + NUMJOBS = auto +endif + +# RocksDB cannot build on 32-bit platforms +ifeq (32,$(DEB_HOST_ARCH_BITS)) + CMAKEFLAGS += -DPLUGIN_ROCKSDB=NO +endif + +# Cross building requires stack direction instruction +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) + ifneq (,$(filter $(DEB_HOST_ARCH_CPU),alpha amd64 arm arm64 i386 ia64 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64)) + CMAKEFLAGS += -DSTACK_DIRECTION=-1 + endif + ifneq (,$(filter $(DEB_HOST_ARCH_CPU),hppa)) + CMAKEFLAGS += -DSTACK_DIRECTION=1 + endif +endif + +# Only attempt to build with PMEM on archs that have package libpmem-dev available +# See https://packages.debian.org/search?searchon=names&keywords=libpmem-dev +ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el riscv64)) + CMAKEFLAGS += -DWITH_PMEM=ON +endif + ++# Fix compilation errors like "relocation truncated to fit: GPREL16 against symbol `wsrep_debug'" ++ifeq ($(DEB_HOST_ARCH),alpha) ++ export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-relax ++endif ++ ++# Disable native IO and force regular fsync() on selected architectures which ++# seem to sugger from random crashes that stem from Linux kernel incompatibility ++# (Debian Bug#1030510 and perhaps also Bug#1031656, MariaDB MDEV-30728, ++# https://lists.ozlabs.org/pipermail/linuxppc-dev/2023-March/256189.html) ++ifneq (,$(filter $(DEB_HOST_ARCH),ppc64el s390x)) ++ export MTR_ARGUMENTS_APPEND += --mysqld=--loose-innodb-flush-method=fsync --mysqld=--loose-skip-innodb-use-native-aio ++endif ++ +# Add support for verbose builds +MAKEFLAGS += VERBOSE=1 + +override_dh_auto_clean: + @echo "RULES.$@" + dh_testdir + dh_testroot - rm -rf $(BUILDDIR) builddir-native mysql-test/unstable-tests ++ # Delete obsolete/unstable components and embedded source code copies ++ # to ensure they are not used in Debian and in general to keep MariaDB binaries ++ # secure and using only system libraries that can be updated quickly and easily ++ # in case security vulnerabilities are found in any of the libraries ++ rm -rf $(BUILDDIR) builddir-native extra/readline extra/wolfssl zlib libmariadb/external/zlib ++ # Remove columnstore as the source code is dirty and software not mature enough for Debian anyway ++ rm -rf storage/columnstore ++ # Delete precompiled binaries in upstream sources to ensure they are not used in Debian ++ rm -rf storage/connect/JavaWrappers.jar storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2 ++ + debconf-updatepo # Update po-files when clean runs before each build + +override_dh_auto_configure: + @echo "RULES.$@" + dh_testdir + +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) + dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --builddirectory=builddir-native + dh_auto_build --builddirectory=builddir-native -- import_executables +endif + + echo "server:Version=$(DEB_VERSION)" >> debian/substvars + - # As packages does not have major version any more on package name there is no way as it not set by dpkg - # to use this on postinst script. Use sed to determine major version ++ # As packages does not have major version any more in package name there is no ++ # way as it not set by dpkg to use this on postinst script. Use sed to ++ # determine major version instead. ++ # @TODO: Rewrite this to use the new upstream /var/lib/mysql_upgrade_info file ++ # instead of the legacy /var/lib/debian-XX.X.flag file + sed -i 's/__MARIADB_MAJOR_VER__/$(DEB_VERSION_MAJOR)/g' debian/mariadb-server.post* debian/mariadb-server.preinst + - # Don't build ColumnStore as part of the native build as it does not meet the - # quality standards in Debian. Also building it requires an extra 4 GB of disk - # space which makes native Debian builds fail as the total disk space needed - # for MariaDB becomes over 10 GB. Only build CS via autobake-deb.sh. - # - # Note: Don't use '-DWITH_URING=ON' as some Buildbot builders are missing it - # and would fail permanently. ++ # Don't build ColumnStore, not mature enough for Debian yet. + PATH=$${MYSQL_BUILD_PATH:-"/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin"} \ - NO_UPDATE_BUILD_VERSION=1 \ + dh_auto_configure --builddirectory=$(BUILDDIR) -- \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + $(CMAKEFLAGS) \ + $(if $(filter $(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)),,-DIMPORT_EXECUTABLES=$(CURDIR)/builddir-native/import_executables.cmake) \ - -DCOMPILATION_COMMENT="mariadb.org binary distribution" \ ++ -DCOMPILATION_COMMENT="$(DEB_VENDOR) $(RELEASE)" \ + -DMYSQL_SERVER_SUFFIX="-$(DEB_VERSION_REVISION)" \ + -DSYSTEM_TYPE="debian-$(DEB_HOST_GNU_SYSTEM)" \ + -DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \ + -DBUILD_CONFIG=mysql_release \ + -DCONC_DEFAULT_CHARSET=utf8mb4 \ + -DPLUGIN_AWS_KEY_MANAGEMENT=NO \ + -DPLUGIN_COLUMNSTORE=NO \ ++ -DWITH_NUMA=AUTO \ + -DIGNORE_AIO_CHECK=ON \ ++ -DWITH_URING=ON \ ++ -DWITH_INNODB_SNAPPY=ON \ + -DDEB=$(DEB_VENDOR) + +# This is needed, otherwise 'make test' will run before binaries have been built +override_dh_auto_build: + @echo "RULES.$@" + # Print build env info to help debug builds on different platforms + dpkg-architecture - cd $(BUILDDIR) && $(MAKE) --output-sync=target ++ cd $(BUILDDIR) && $(MAKE) + +override_dh_auto_test: + @echo "RULES.$@" + dh_testdir - # Ensure at least an empty file exists - touch mysql-test/unstable-tests ++ # Skip running test suite after build if DEB_BUILD_OPTIONS contains 'nocheck' ++ @echo "DEB_BUILD_OPTIONS: $(DEB_BUILD_OPTIONS)" ++ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + # Skip unstable tests if such are defined for arch - [ ! -f debian/unstable-tests.$(DEB_HOST_ARCH) ] || cat debian/unstable-tests.$(DEB_HOST_ARCH) >> mysql-test/unstable-tests ++ [ ! -f debian/unstable-tests.$(DEB_HOST_ARCH) ] || cat debian/unstable-tests.$(DEB_HOST_ARCH) >> $(MTR_SKIP_TEST_LIST) ++ # Show contents of skip list on this architecture ++ @echo "On arcitecture $(DEB_HOST_ARCH) skip tests:" ++ cat $(MTR_SKIP_TEST_LIST) + # Run testsuite - ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + cd $(BUILDDIR)/mysql-test && \ - ./mtr --force --mem \ ++ export MTR_PRINT_CORE=detailed && \ ++ ./mtr --force --testcase-timeout=120 --suite-timeout=540 --retry=3 \ ++ --verbose-restart --max-save-core=1 --max-save-datadir=1 \ + --parallel=$(NUMJOBS) --skip-rpl --suite=main \ - --skip-test-list=unstable-tests ++ --skip-test-list=$(MTR_SKIP_TEST_LIST) \ ++ $(MTR_ARGUMENTS_APPEND) ++ # Don't use --mem here as official Debian builders and most Docker systems don't have a large mem device available and ++ # would fail with errors on lack of disk space. +endif + +override_dh_auto_install: + @echo "RULES.$@" + dh_testdir + dh_testroot + +ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS))) + # Copy systemd files to a location available for dh_installinit + cp $(BUILDDIR)/support-files/mariadb.service debian/mariadb-server.mariadb.service + cp $(BUILDDIR)/support-files/mariadb.socket debian/mariadb-server.mariadb.socket + cp $(BUILDDIR)/support-files/mariadb-extra.socket debian/mariadb-server.mariadb-extra.socket + cp $(BUILDDIR)/support-files/mariadb@.service debian/mariadb-server.mariadb@.service + cp $(BUILDDIR)/support-files/mariadb@.socket debian/mariadb-server.mariadb@.socket + cp $(BUILDDIR)/support-files/mariadb-extra@.socket debian/mariadb-server.mariadb-extra@.socket +endif + + # Run 'make install' without output since it is uninteresting and + # silencing it helps to make overall build log shorter and more readable + @echo "Running $(MAKE) install DESTDIR=$(TMP) ..." + cd $(BUILDDIR) && $(MAKE) install DESTDIR=$(TMP) > /dev/null + + # If mariadb-test package is removed, also remove most of it's files + grep --quiet "Package: mariadb-test" debian/control || rm -rf $(TMP)/usr/share/mysql/mysql-test + + # Delete private files from libraries so they don't get shipped in the -dev packages + rm -r $(TMP)/usr/include/mariadb/server/private + + # Don't ship sql-bench at all, just delete it completely even though it builds + rm -r $(TMP)/usr/sql-bench + + # nm numeric soft is not enough, therefore extra sort in command + # to satisfy Debian reproducible build requirements + mkdir -p $(TMP)/usr/share/doc/mariadb-server + nm --defined-only $(BUILDDIR)/sql/mariadbd | LC_ALL=C sort | gzip -n -9 > $(TMP)/usr/share/doc/mariadb-server/mariadbd.sym.gz + + # Rename and install AppArmor profile + install -D -m 644 debian/apparmor-profile $(TMP)/etc/apparmor.d/usr.sbin.mariadbd + ++ # Install mariadb.pc as a symlink for the client library, ++ # use -f to override the existing server mariadb.pc file ++ ln -sf libmariadb.pc $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/mariadb.pc ++ + # Install libmariadbclient18 compatibility links + ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.so - ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.so.18 - - # Install libmysqlclientclientXX compatibility links - ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmysqlclient.so.18 - ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmysqlclient.so.19 - ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmysqlclient.so.20 + + # Install libmariadbclient.a compatibility link + ln -s libmariadb.a $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.a + + # Symlink plugins that are used by both server and client and thus need to + # load from the libmariadb path as well + ln -s ../../../mysql/plugin/auth_test_plugin.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/auth_test_plugin.so + ln -s ../../../mysql/plugin/qa_auth_interface.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/qa_auth_interface.so + ln -s ../../../mysql/plugin/test_sql_service.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/test_sql_service.so + # Move test plugins that are only needed by the client to the libmariadb path + mv -v $(TMP)/usr/lib/mysql/plugin/qa_auth_client.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/ + ++# Install mariadb.socket without enabling it, keep using mariadb.service by default ++# @TODO: Temporarily disable extra and socket systemd file installation until ++# a '--build=all' compatible mechanism is found +override_dh_systemd_enable: + dh_systemd_enable --name=mariadb - dh_systemd_enable --no-enable --name=mariadb mariadb.socket - dh_systemd_enable --no-enable --name=mariadb-extra mariadb-extra.socket - dh_systemd_enable --no-enable --name=mariadb@ mariadb.socket - dh_systemd_enable --no-enable --name=mariadb-extra@ mariadb-extra.socket - dh_systemd_enable --no-enable --name=mariadb@ mariadb@.service ++ dh_systemd_enable --no-enable --name=mariadb@ # mariadb@.service ++# dh_systemd_enable --no-enable --name=mariadb mariadb.socket ++# dh_systemd_enable --no-enable --name=mariadb-extra mariadb-extra.socket ++# dh_systemd_enable --no-enable --name=mariadb@ mariadb.socket ++# dh_systemd_enable --no-enable --name=mariadb-extra@ mariadb-extra.socket + - # Start MariaDB at sequence number 19 before 20 where apache, proftpd etc gets ++# Start mysql at sequence number 19 before 20 where apache, proftpd etc gets +# started which might depend on a running database server. +override_dh_installinit-arch: + dh_installinit --name=mariadb --no-start -- defaults 19 21 + dh_systemd_start --restart-after-upgrade + +# Use custom server version string variable +override_dh_gencontrol: + dh_gencontrol -- -Tdebian/substvars + +# If a file is not supposed to be included anywhere, add it to the not-installed +# file and document the reason. Note that dh_install supports the above mentioned +# white list file only starting from Debian Stretch and Ubuntu Xenial. +# To find more, grep build logs for 'but is not installed to anywhere'. +%: - dh $@ --parallel --with systemd --fail-missing ++ dh $@ --fail-missing + +# vim: ts=8 diff --cc debian/salsa-ci.yml index a5c0ec3ee,000000000..6e9a5465f mode 100644,000000..100644 --- a/debian/salsa-ci.yml +++ b/debian/salsa-ci.yml @@@ -1,884 -1,0 +1,951 @@@ +--- +# Include Salsa-CI as a base +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +# Override Salsa-CI with MariaDB specific variations +variables: ++ BUILT_PACKAGES: "libmariadb-dev libmariadb-dev-compat libmariadb3 libmariadbd19 libmariadbd-dev mariadb-common mariadb-client mariadb-server mariadb-backup mariadb-plugin-connect mariadb-plugin-s3 mariadb-plugin-rocksdb mariadb-plugin-oqgraph mariadb-plugin-mroonga mariadb-plugin-spider mariadb-plugin-cracklib-password-check mariadb-test mariadb-test-data" + DEB_BUILD_OPTIONS: "nocheck noautodbgsym" - RELEASE: bullseye ++ RELEASE: sid ++ # Reprotest works, but takes very long time and often fails due to timeouts. ++ # Thus is is best kept disabled and only occasionally manually enabled to ++ # test that reproducibility works, along with atomic reprotest to directly ++ # pinpoint what aspect of the build is broken if not reproducible. + SALSA_CI_DISABLE_REPROTEST: 1 ++ SALSA_CI_ENABLE_ATOMIC_REPROTEST: 0 + SALSA_CI_DISABLE_MISSING_BREAKS: 0 - SALSA_CI_DISABLE_RC_BUGS: 1 - SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1 - SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1 - GIT_SUBMODULE_STRATEGY: recursive - SALSA_CI_GBP_BUILDPACKAGE_ARGS: "--git-submodules" # did not apply to extract-sources ++ SALSA_CI_DISABLE_RC_BUGS: 0 + +# Extend Salsa-CI build jobs to have longer timeout as the default GitLab +# timeout (1h) is often not enough +.build-package: + timeout: 3h + +stages: + - provisioning + - build + - test - - upgrade in Bullseye - - upgrade from Buster - - upgrade extras ++ - upgrade MariaDB ++ - upgrade MariaDB and distro ++ - upgrade MariaDB variant + - test extras + - publish # Stage referenced by Salsa-CI template aptly stanza, so must exist even though not used + - build: - extends: .build-package - script: &autobake-deb-steps - # Run Salsa-CI .build-before-script equivalent - - mkdir -p ${WORKING_DIR} ${CCACHE_WORK_DIR} - - mv ${CCACHE_WORK_DIR} ${CCACHE_TMP_DIR} - # Run Salsa-CI .build-script equivalent, with extra devscripts so autobake-deb.sh can run 'dch' - - export CCACHE_DIR=${CCACHE_TMP_DIR} - - apt-get update && eatmydata apt-get install --no-install-recommends -y ccache fakeroot build-essential devscripts lsb-release - - cd ${WORKING_DIR}/${SOURCE_DIR} - - eatmydata apt-get build-dep --no-install-recommends -y . - - update-ccache-symlinks; ccache -z # Zero out ccache counters - - while true; do sleep 600; echo "10 minutes passed" >&2; done & # Progress keeper since build is long and silent - - debian/autobake-deb.sh |& tail -n 10000 # Keep Gitlab-CI output under 4 MB - - cd ${WORKING_DIR} - - rm -rf ${WORKING_DIR}/${SOURCE_DIR} - - du -shc ${WORKING_DIR}/* # Show total file size of artifacts. Must stay are under 100 MB. - - ccache -s # Show ccache stats to validate it worked - - mv ${CCACHE_TMP_DIR} ${CCACHE_WORK_DIR} - - build i386: - extends: .build-package-i386 - script: - - *autobake-deb-steps - - build sid: - extends: .build-package ++gnitpick: ++ stage: provisioning ++ image: debian:sid-slim ++ script: | ++ # Bare minimal (<4MB) for apt-key and gnitpick to work ++ apt-get update -qq && apt-get -qq install --no-install-recommends --yes ca-certificates curl python3-minimal git ++ curl -sS https://raw.githubusercontent.com/Seravo/gnitpick/master/gnitpick.py -o /usr/bin/gnitpick; chmod +x /usr/bin/gnitpick ++ # Actual Gnitpick part ++ gnitpick --target-repository https://salsa.debian.org/mariadb-team/mariadb-server.git --target-branch debian/latest ++ except: ++ variables: ++ - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ ++ allow_failure: true # Gnitpick does not fully support this branch naming scheme so ignore it for now ++ ++packaging-fix-checks: ++ stage: provisioning ++ image: debian:sid-slim + script: - - *autobake-deb-steps - variables: - RELEASE: sid ++ - apt-get update -qq && apt-get -qq install --no-install-recommends --yes git devscripts python3-debian ++ - | ++ if [ "$(find debian/patches/ -type f -not -name series | wc -l)" -eq "$(cat debian/patches/series | wc -l)" ] ++ then ++ echo "The directory debian/patches/ contents and debian/patches/series file match by count." ++ else ++ find debian/patches -type f -not -name series -printf "%P\n" | sort > /tmp/patches-directory-sorted ++ sort debian/patches/series > /tmp/patches-series-sorted ++ diff -y /tmp/patches-series-sorted /tmp/patches-directory-sorted ++ echo ++ echo "The directory debian/patches/ file count does not match that in debian/series. Check that there are no unaccounted patches!" ++ exit 1 ++ fi ++ - | ++ wrap-and-sort -a ++ git checkout debian/tests/control # Revert touching this file, wrap-and-sort shouldn't do it ++ if [ "$(git diff --name-only | wc -l)" -eq 0 ] ++ then ++ echo "No uncommitted changes after 'wrap-and-sort -av', maintainer has done good job keeping files in order." ++ else ++ git diff ++ echo ++ echo "Debian packaging files are unordered! Please run 'wrap-and-sort -av'." ++ exit 1 ++ fi ++ except: ++ variables: ++ - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - # Build native deb without using autobake-deb.sh. This way we will detect - # if the debian/control file and other packaging is correct as-is for Debian Sid. - build native deb amd64: ++build bullseye-backports: + extends: .build-package ++ variables: ++ RELEASE: bullseye-backports ++ ++# Buster only has libfmt 6.1 but 7.0 is required, so backport build for Buster ++# is not possible unless somebody packages libfmt7-dev for Buster. + - build native deb i386: - extends: .build-package-i386 ++test-crossbuild-arm64: ++ stage: build + +autopkgtest: + extends: .test-autopkgtest + artifacts: + reports: + junit: ${WORKING_DIR}/debci/artifacts/mysql-test-run-junit.xml + +piuparts: - extends: .test-piuparts + stage: test extras + +blhc: - extends: .test-blhc + stage: test extras - # Build log checker needs a .build file and thus only works on native build - needs: - - job: build native deb amd64 + +# In addition to Salsa-CI, also run these fully MariaDB specific build jobs + +# Define snippets used to construct jobs + +.test-prepare-container: &test-prepare-container | + cd ${WORKING_DIR} # Don't repeat this step, it's just cd ./debian/output + # Enable automatic restarts from maint scripts + sed -i "s/101/0/g" -i /usr/sbin/policy-rc.d + # Fake /sbin/runlevel to avoid warnings of "invoke-rc.d: could not determine current runlevel" + echo -e '#!/bin/sh\necho "N 5"' > /sbin/runlevel; chmod +x /sbin/runlevel + # Avoid the warnings of "debconf: unable to initialize frontend: Dialog" + echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections ++ # Emit non-zero exit code also on warnings ++ echo 'APT::Update::Error-Mode "any";' > /etc/apt/apt.conf.d/non-zero-exit-on-warnings + # Prime the apt cache so later apt commands can run + apt-get update -qq + ++# Readline was removed from Debian Sid (and Bullseye) in Feb 2021. To be able to install older ++# versions of MariaDB that depend on it, fetch and install it from Buster. ++.test-install-readline-in-sid-for-backwards-compat: &test-install-readline-in-sid-for-backwards-compat | ++ curl -sS -O https://snapshot.debian.org/archive/debian/20190316T031117Z/pool/main/r/readline5/libreadline5_5.2%2Bdfsg-3%2Bb13_amd64.deb ++ apt-get -qq install --no-install-recommends --yes ./libreadline5_5.2%2Bdfsg-3%2Bb13_amd64.deb ++ ++# OpenSSL 1.1 was Debian Sid in Dec 2022 (as Bookworm will ship with OpenSSL 3.0 ++# only). To be able to install versions of MariaDB that depend on OpenSSL 1.1, ++# fetch and install it manually. ++.test-install-openssl1-in-sid-for-backwards-compat: &test-install-openssl1-in-sid-for-backwards-compat | ++ curl -sS -O https://snapshot.debian.org/archive/debian/20220507T034236Z/pool/main/o/openssl/libssl1.1_1.1.1o-1_amd64.deb ++ apt-get -qq install --no-install-recommends --yes ./libssl1.1_1.1.1o-1_amd64.deb ++ +.test-verify-initial: &test-verify-initial | + dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - service mysql status || service mariadb status # Early MariaDB 10.5 only had 'mariadb' ++ # MariaDB until 10.5 only had 'mysql', and since only 'mariadb', so try both ++ service mysql status || service mariadb status + mysql --skip-column-names -e "select @@version, @@version_comment" # Show version + mysql --table -e "SHOW DATABASES;" # List databases before upgrade + mysql --table -e "SELECT host,user,plugin,authentication_string FROM user;" mysql + mysql --table -e "SELECT * FROM plugin;" mysql + mysql --table -e "SHOW PLUGINS;" mysql + - .test-enable-bullseye-repos: &test-enable-bullseye-repos ++.test-enable-sid-repos: &test-enable-sid-repos ++ # Apply usrmerge workaround for Stretch/Buster/Bullseye to Bookworm/Sid upgrades ++ - echo 'this system will not be supported in the future' > /etc/unsupported-skip-usrmerge-conversion + # Replace any old repos with just Sid - - echo 'deb http://deb.debian.org/debian bullseye main' > /etc/apt/sources.list ++ - echo 'deb http://deb.debian.org/debian sid main' > /etc/apt/sources.list + # Upgrade minimal stack first + - apt-get update -qq ++ # Next step will fail on https://bugs.debian.org/993755 ++ # /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot ++ # open shared object file: No such file or directory ++ # dpkg: error processing package libc6:amd64 (--configure): ++ - apt-get install -y apt || true ++ # Apply workaround ++ - cd $(mktemp -d) # Use temp dir where apt can download and unpack files ++ - apt-get -y download libcrypt1 ++ - dpkg-deb -x libcrypt1_*.deb . ++ - cp -ra lib/* /lib/ ++ - cd - # Back to /builds/$USER/mariadb-server/debian/output ++ - find /lib/*/libcrypt.* -ls # Show that new libcrypt is there ++ - apt-get -y --fix-broken install ++ # Complete upgrade of minimal stack + - apt-get install -y apt + +.test-enable-bullseye-backports-repos: &test-enable-bullseye-backports-repos | + # Enable bullseye-backports (assumes environment already Debian Bullseye) + echo 'deb http://deb.debian.org/debian bullseye-backports main' > /etc/apt/sources.list.d/bullseye-backports.list + # Increase default backports priority policy from '100' to '500' so it can actually be used + cat << EOF > /etc/apt/preferences.d/enable-backports-to-satisfy-dependencies + Package: * + Pin: release n=bullseye-* + Pin-Priority: 500 + EOF + apt-get update -qq + - .test-enable-buster-backports-repos: &test-enable-buster-backports-repos | - # Enable buster-backports (assumes environment already Debian Buster) - echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/buster-backports.list - # Increase default backports priority policy from '100' to '500' so it can actually be used - cat << EOF > /etc/apt/preferences.d/enable-backports-to-satisfy-dependencies - Package: * - Pin: release n=buster-* - Pin-Priority: 500 - EOF - apt-get update -qq ++.test-enable-artifacts-repo: &test-enable-artifacts-repo | ++ apt-get install -y apt-utils ++ apt-ftparchive packages . > Packages ++ echo "deb [trusted=yes] file:$(pwd) ./" > /etc/apt/sources.list.d/mariadb-local.list ++ apt-get update + - .test-install: &test-install - # Install MariaDB built in this commit - - apt-get install -y ./*.deb ++.test-install-all: &test-install-all ++ - *test-enable-artifacts-repo ++ - apt-get install -yq ${BUILT_PACKAGES} ++ # Verify installation of MariaDB built in this commit ++ - mariadb --version ++ - dpkg -l | grep -iE 'maria|mysql|galera' ++ - find /etc -name '*mariadb*' -ls -or -name '*mysql*' -ls | sort -k 11 ++ # Purge old versions if they exist ++ - apt-get purge -y mariadb*10.? ++ - find /etc -name '*mariadb*' -ls -or -name '*mysql*' -ls | sort -k 11 ++ ++.test-full-upgrade: &test-full-upgrade ++ - *test-enable-artifacts-repo ++ - apt-get full-upgrade -y + # Verify installation of MariaDB built in this commit - - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - - mariadb --version # Client version ++ - mariadb --version ++ - dpkg -l | grep -iE 'maria|mysql|galera' ++ - find /etc -name '*mariadb*' -ls -or -name '*mysql*' -ls | sort -k 11 ++ # Purge old versions if they exist ++ - apt-get purge -y mariadb*10.? ++ - find /etc -name '*mariadb*' -ls -or -name '*mysql*' -ls | sort -k 11 ++ # Purging the old server might stop the running server, so restart it just in case ++ - service mariadb restart ++ ++.test-install-all-libs: &test-install-all-libs ++ - *test-enable-artifacts-repo ++ - apt-get install -yq --no-install-recommends libmariadb-dev-compat libmariadbd-dev ++ # Installs 31 packages, including: ++ # libmariadb3 libmariadb-dev libmariadb-dev-compat libmariadbd19 libmariadbd-dev ++ ++.test-full-upgrade-libs: &test-full-upgrade-libs ++ - *test-enable-artifacts-repo ++ - apt-get full-upgrade -y ++ - dpkg -l | grep -iE 'maria|mysql|galera' ++ # library tests don't have the mariadb client nor server, so don't check them + +.test-verify-final: &test-verify-final | + mkdir -p debug # Ensure dir exists before using it + find /var/lib/mysql -ls > debug/var-lib-mysql.list || true # Ignore errors about "no such file or directory" + cp -ra /etc/mysql debug/etc-mysql - cp -ra /var/log/mysql debug/var-log-mysql + mariadb --skip-column-names -e "select @@version, @@version_comment" # Show version + mariadb --table -e "SHOW DATABASES;" # List databases + mariadb --table -e "SELECT host,user,plugin,authentication_string FROM user;" mysql + mariadb --table -e "SELECT * FROM plugin;" mysql + mariadb --table -e "SHOW PLUGINS;" mysql + # Test that InnoDB works and that command 'mysql' is also still usable + mysql -e "CREATE DATABASE test; USE test; CREATE TABLE t(a INT PRIMARY KEY) ENGINE=INNODB; INSERT INTO t VALUEs (1); SELECT * FROM t; DROP TABLE t; DROP DATABASE test;" + +.test-verify-libs: &test-verify-libs + # Don't use a collapsed command as Gitlab-CI would hide each command from the output + - ldconfig -p | grep -e mariadb -e mysql + - pkg-config --list-all + - pkg-config --cflags --libs mysqlclient + - pkg-config --cflags --libs libmariadb + - pkg-config --cflags --libs mariadb + - apt-get install -y --no-install-recommends g++ + - | + # Build a test binary that depends on libmysqlclient + cat > b933063.cpp < + #include + #include + int main() + { + MYSQL h; + if (!mysql_init(&h) + || mysql_options(&h, MYSQL_READ_DEFAULT_GROUP, "") + // || mysql_options(&h, MYSQL_SET_CHARSET_NAME, "utf8mb4") + || !mysql_real_connect(&h, "", "", NULL, "", 0, NULL, 0)) + throw std::runtime_error(mysql_error(&h)); + std::string q = "show variables like '%char%'"; + if (mysql_real_query(&h, q.data(), q.size())) + throw std::runtime_error(mysql_error(&h)); + MYSQL_RES* result = mysql_store_result(&h); + if (!result && mysql_errno(&h)) + throw std::runtime_error(mysql_error(&h)); + while (MYSQL_ROW row = mysql_fetch_row(result)) + { + std::cout << row[0] << ": " << row[1] << "\n"; + } + return 0; + } + EOF + apt-get install -y ./*.deb # Server must be installed for client to connect + echo "Testing -l mysqlclient" + g++ b933063.cpp -l mysqlclient && ./a.out | tee result + if grep --quiet latin result; then echo "ERROR: Charset latin found!"; exit 1; fi + echo "Testing -l mariadbclient" + g++ b933063.cpp -l mariadbclient && ./a.out | tee result + if grep --quiet latin result; then echo "ERROR: Charset latin found!"; exit 1; fi ++ - | ++ # Build a test binary to verify API version strings ++ cat > b1031863.cpp < ++ #include ++ #include ++ using namespace std; ++ ++ void test_if_starts_with(const string expected, const string tested, const string name) { ++ int r = strncmp(tested.c_str(), expected.c_str(), expected.size()); ++ if (r == 0) { ++ cout << name << ": " << tested << "\n"; ++ } else { ++ cout << "ERROR: " << name << " started with " << tested << " instead of the expected " << expected << "!\n"; ++ exit(1); ++ } ++ } + - .test-install-all-libs: &test-install-all-libs - - apt-get install -y ./libmariadb3_*.deb ./libmariadb-dev_*.deb ./libmariadb-dev-compat_*.deb ./libmariadbd19_*.deb ./libmariadbd-dev_*.deb ./mariadb-common_*.deb ++ int main() ++ { ++ MYSQL h; ++ // Constants refer to server version ++ test_if_starts_with("1011", to_string(MARIADB_VERSION_ID), "MARIADB_VERSION_ID"); ++ test_if_starts_with("1011", to_string(MYSQL_VERSION_ID), "MYSQL_VERSION_ID"); ++ // Client ABI returns connector version ++ test_if_starts_with("303", to_string(mysql_get_client_version()), "mysql_get_client_version()"); ++ test_if_starts_with("3.3", mysql_get_client_info(), "mysql_get_client_info()"); ++ return 0; ++ } ++ EOF ++ g++ b1031863.cpp -l mysqlclient && ./a.out + - fresh install: ++ ++.salsa-ci-template-for-mariadb: + stage: test + needs: + - job: build + image: debian:${RELEASE} + artifacts: + when: always + name: "$CI_BUILD_NAME" + paths: + - ${WORKING_DIR}/debug + script: - - *test-prepare-container - - *test-install - - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ - - *test-verify-final ++ - echo "This script section must be overridden in each test" && exit 1 + variables: + GIT_STRATEGY: none + except: + variables: + - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb-10.5 Bullseye upgrade: - stage: upgrade in Bullseye ++.salsa-ci-template-for-mariadb-upgrade: ++ stage: test + needs: + - job: build + image: debian:${RELEASE} + artifacts: + when: always + name: "$CI_BUILD_NAME" + paths: + - ${WORKING_DIR}/debug - script: ++ before_script: + - *test-prepare-container - # Install everything MariaDB 10.5 currently in Debian Bullseye - - apt-get install -y 'default-mysql*' 'mariadb-*' 'libmariadb*' - - *test-verify-initial - - *test-install - - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ - - *test-verify-final ++ - apt-get -qq install --no-install-recommends --yes ca-certificates curl ++ - | ++ [[ -d /etc/apt/keyrings ]] || mkdir /etc/apt/keyrings ++ curl -sS https://mariadb.org/mariadb_release_signing_key.pgp -o /etc/apt/keyrings/mariadb-keyring.pgp ++ cat >/etc/apt/sources.list.d/mariadb.sources <= 0.7) and galera-4 (>= 26.4) - - *test-enable-buster-backports-repos - - *test-install - # mariadb-10.3 in Buster ships a /etc/init.d/mysql so it should continue to work - - service mysql status - - service mariadb status ++ - *test-enable-bullseye-backports-repos ++ - *test-full-upgrade ++ - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb-10.3 Buster upgrade: - stage: upgrade from Buster - needs: - - job: build ++mariadb-10.6 and Bookworm-20230208 upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB and distro ++ image: debian:bookworm-20230208 ++ script: ++ - *test-prepare-container ++ - | ++ echo 'deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20230208T130000Z bookworm main' > /etc/apt/sources.list.d/bookworm.list ++ rm /etc/apt/sources.list.d/debian.sources ++ apt-get update -qq ++ # In February 2023 Bookworm snapshot this will install MariaDB 10.6 ++ - apt-get install -y mariadb-server ++ - dpkg -l | grep -e "mariadb-server.*10.6" ++ - *test-verify-initial ++ - *test-enable-sid-repos ++ # Ensure mariadbd will not crash on next shutdown for any reason ++ - service mariadb restart ++ - *test-enable-artifacts-repo ++ - apt-get install -y mariadb-server ++ - *test-full-upgrade ++ - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ ++ - *test-verify-final ++ ++mariadb-10.5 and Bullseye upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB and distro ++ image: debian:bullseye ++ script: ++ - *test-prepare-container ++ # Install everything MariaDB currently in Debian Bullseye ++ - apt-get install -y 'default-mysql*' 'mariadb-*' 'libmariadb*' ++ # Verify installation of MariaDB from Bullseye ++ - dpkg -l | grep -e "mariadb-server.*10.5" ++ - *test-verify-initial ++ - *test-enable-sid-repos ++ # Ensure mariadbd will not crash on next shutdown for any reason ++ - service mariadb restart ++ - *test-full-upgrade ++ - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ ++ - *test-verify-final ++ ++mariadb-10.3 and Buster upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB and distro + image: debian:buster - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug + script: + - *test-prepare-container - # Install everything MariaDB 10.3 currently in Debian Buster ++ # Install everything MariaDB currently in Debian Buster + - apt-get install -y 'default-mysql*' 'mariadb-*' 'libmariadb*' + # Verify installation of MariaDB from Buster ++ - dpkg -l | grep -e "mariadb-server.*10.3" + - *test-verify-initial - - *test-enable-bullseye-repos - - *test-install - # mariadb-10.3 in Buster ships a /etc/init.d/mysql so it should continue to work - - service mysql status - - service mariadb status ++ - *test-enable-sid-repos ++ # Ensure mariadbd will not crash on next shutdown for any reason ++ - service mysql restart # in 10.3 service name is still 'mysql' ++ - *test-full-upgrade ++ # mariadb-10.3 in Buster ships a /etc/init.d/mysql and it continues to exist ++ # after upgrade, but is be removed on purge ++ - service mysql status || service mariadb status + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ ++ ++# Similar to the Cacti install test, check that MariaDB consumer Zoph upgrades ++default-mysql-server and Bullseye upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB and distro ++ image: debian:bullseye ++ script: ++ - *test-prepare-container ++ # Install everything MariaDB currently in Debian Bullseye ++ - apt-get install -y default-mysql-server zoph ++ # Verify installation of MariaDB from Bullseye ++ - *test-verify-initial ++ - *test-enable-sid-repos ++ - *test-enable-artifacts-repo ++ # Start with partial upgrade ++ - apt-get install -y default-mysql-server ++ - *test-full-upgrade ++ - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ ++ - *test-verify-final ++ allow_failure: true # Currently fails on Bug#1035949 + +test basic features: - stage: test - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++ extends: .salsa-ci-template-for-mariadb + script: + - *test-prepare-container - - *test-install ++ - *test-install-all + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final + - | + # Print info about server + mariadb --skip-column-names -e "select @@version, @@version_comment" + mariadb --skip-column-names -e "select engine, support, transactions, savepoints from information_schema.engines order by engine" | sort + mariadb --skip-column-names -e "select plugin_name, plugin_status, plugin_type, plugin_library, plugin_license from information_schema.all_plugins order by plugin_name, plugin_library" + # Test various features + mariadb -e "CREATE DATABASE db" + mariadb -e "CREATE TABLE db.t_innodb(a1 SERIAL, c1 CHAR(8)) ENGINE=InnoDB; INSERT INTO db.t_innodb VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')" + mariadb -e "CREATE TABLE db.t_myisam(a2 SERIAL, c2 CHAR(8)) ENGINE=MyISAM; INSERT INTO db.t_myisam VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')" + mariadb -e "CREATE TABLE db.t_aria(a3 SERIAL, c3 CHAR(8)) ENGINE=Aria; INSERT INTO db.t_aria VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')" + mariadb -e "CREATE TABLE db.t_memory(a4 SERIAL, c4 CHAR(8)) ENGINE=MEMORY; INSERT INTO db.t_memory VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')" + mariadb -e "CREATE ALGORITHM=MERGE VIEW db.v_merge AS SELECT * FROM db.t_innodb, db.t_myisam, db.t_aria" + mariadb -e "CREATE ALGORITHM=TEMPTABLE VIEW db.v_temptable AS SELECT * FROM db.t_innodb, db.t_myisam, db.t_aria" + mariadb -e "CREATE PROCEDURE db.p() SELECT * FROM db.v_merge" + mariadb -e "CREATE FUNCTION db.f() RETURNS INT DETERMINISTIC RETURN 1" + # Test that the features still work (this step can be done e.g. after an upgrade) + mariadb -e "SHOW TABLES IN db" + mariadb -e "SELECT * FROM db.t_innodb; INSERT INTO db.t_innodb VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')" + mariadb -e "SELECT * FROM db.t_myisam; INSERT INTO db.t_myisam VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')" + mariadb -e "SELECT * FROM db.t_aria; INSERT INTO db.t_aria VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')" + mariadb -e "SELECT * FROM db.t_memory; INSERT INTO db.t_memory VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')" + mariadb -e "SELECT COUNT(*) FROM db.v_merge" + mariadb -e "SELECT COUNT(*) FROM db.v_temptable" + mariadb -e "CALL db.p()" + mariadb -e "SELECT db.f()" + - | + # Test TLS connections + dpkg -l | grep -i -e tls -e ssl + # Create user for TCP connection, must have password + mariadb -e "SET PASSWORD FOR 'mysql'@'localhost' = PASSWORD('asdf234');" + cat < /root/.my.cnf + [client] + user=mysql + password=asdf234 + protocol=tcp + EOF + export CERT_PATH=/usr/share/mysql/mysql-test/std_data + openssl verify -CAfile $CERT_PATH/cacert.pem $CERT_PATH/server-cert.pem + openssl x509 -subject -issuer -noout -in $CERT_PATH/cacert.pem + openssl x509 -subject -issuer -noout -in $CERT_PATH/server-cert.pem + cat < /etc/mysql/mariadb.conf.d/tls.cnf + [client-server] + ssl = on + ssl-ca = $CERT_PATH/cacert.pem + ssl-cert = $CERT_PATH/server-cert.pem + ssl-key = $CERT_PATH/server-key.pem + [server] + require-secure-transport = on + [client] + ssl-verify-server-cert = on + EOF + service mariadb restart + mariadb -Bse 'STATUS' | tee result + # Ensure important values present, otherwise fail job + grep --quiet "localhost via TCP/IP" result + mariadb -Bse 'SHOW VARIABLES' | grep -e tls -e ssl | tee result + grep --quiet "have_ssl YES" result + grep --quiet TLSv1.3 result + mariadb -Bse 'SHOW SESSION STATUS' | grep -i -e tls -e ssl | tee result + grep --quiet TLSv1.3 result - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ ++ ++# Install Cacti, which in uses dbconfig-common to configure the MariaDB user and ++# connection automatically in order to validate that at least one downstream ++# server consumer continues to work. ++test consumer cacti: ++ extends: .salsa-ci-template-for-mariadb ++ script: ++ - *test-prepare-container ++ - *test-enable-artifacts-repo ++ - apt-get install -y cacti ++ - mariadb -E -e "SHOW CREATE TABLE version;" cacti + +# Build a piece of software that was designed for libmysqlclient-dev but using the +# libmariadb-dev-compat layer. Should always end up using libmariadb.so.3 run-time. +build mariadbclient consumer Python-MySQLdb: - stage: test - needs: - - job: build - image: debian:${RELEASE} ++ extends: .salsa-ci-template-for-mariadb + script: + - *test-prepare-container - # Run each step separately to avoid an 800+ line chunk that lacks the - # commands themselves printed and Gitlab-CI cutting off the output - - apt-get install -y pkg-config ./libmariadb-dev*.deb ./libmariadb3_*.deb ./mariadb-common*.deb - - pkg-config --cflags --libs mysqlclient # See what MySQLdb builds with - - apt-get install -y python3-pip - - pip3 install mysqlclient # Compiles module against libmysqlclient ++ - *test-install-all-libs ++ - apt-get install -y pkg-config python3-pip ++ # See what MySQLdb will build with ++ - pkg-config --cflags --libs mysqlclient ++ # MySQLdb is also available in Debian as package python3-mysqldb, but ++ # install it from pip to force that the client is compiled with ++ # libmariadb-dev-compat on-the-fly. ++ # Python 3.11 needs `--break-system-packages` to proceed with this. ++ - pip3 install --break-system-packages mysqlclient # Compiles module against libmysqlclient + - apt-get purge -y libmariadb-dev # Not needed for run-time + - python3 -c "import MySQLdb; print(MySQLdb.get_client_info())" - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - default-libmysqlclient-dev Bullseye upgrade: - stage: upgrade in Bullseye - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++libmysql* to libmariadb* upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB ++ script: ++ - *test-prepare-container ++ # Install all libmysql* available in Debian unstable ++ - apt-get install -y pkg-config libmysqlclient-dev ++ - pkg-config --list-all ++ - pkg-config --cflags mysqlclient # mysqlclient.pc from original package ++ - *test-enable-artifacts-repo ++ - apt-get install -y libmariadb3 ++ - pkg-config --list-all ++ - apt-get install -y libmariadb-dev ++ - pkg-config --list-all ++ - apt-get install -y libmariadb-dev-compat ++ - pkg-config --cflags mysqlclient # mysqlclient.pc from compat package ++ - pkg-config --list-all ++ - apt-get install -y libmariadbd19 ++ - pkg-config --list-all ++ - apt-get install -y libmariadbd-dev ++ - pkg-config --list-all ++ - apt-get install -y default-libmysqlclient-dev default-libmysqld-dev ++ - *test-verify-libs ++ ++default-libmysqlclient-dev upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB + script: + - *test-prepare-container + - apt-get install -y pkg-config default-libmysqlclient-dev default-libmysqld-dev + - pkg-config --list-all - - *test-install-all-libs ++ - *test-full-upgrade-libs + - *test-verify-libs - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - default-libmysqlclient-dev Buster upgrade: - stage: upgrade from Buster - needs: - - job: build ++default-libmysqlclient-dev and Bullseye upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB and distro ++ image: debian:bullseye ++ script: ++ - *test-prepare-container ++ - apt-get install -y pkg-config default-libmysqlclient-dev ++ - pkg-config --list-all ++ - *test-enable-sid-repos ++ - *test-full-upgrade-libs ++ - *test-verify-libs ++ ++default-libmysqlclient-dev and Buster upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB and distro + image: debian:buster - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug + script: + - *test-prepare-container + - apt-get install -y pkg-config default-libmysqlclient-dev + - pkg-config --list-all - - *test-enable-bullseye-repos - - *test-install-all-libs ++ - *test-enable-sid-repos ++ - *test-full-upgrade-libs + - *test-verify-libs - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ ++ ++default-libmysqlclient-dev with Bullseye backports upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB ++ needs: ++ - job: build bullseye-backports ++ image: debian:bullseye ++ script: ++ - *test-prepare-container ++ - apt-get install -y pkg-config default-libmysqlclient-dev ++ - pkg-config --list-all ++ - *test-enable-bullseye-backports-repos ++ - *test-full-upgrade-libs ++ - *test-verify-libs ++ ++# Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump. ++# The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh. ++mysql-8.0 in Sid upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB variant ++ image: debian:sid ++ script: ++ - *test-prepare-container ++ # The postinst fails often if 'ps' is missing from system, so install procps ++ - apt-get install -y procps mysql-server 'libmysqlc*' ++ # Ensure MySQL 8.0 package actually got installed ++ - dpkg -l | grep -e "mysql-server.*8.0" ++ - *test-verify-initial ++ - *test-install-all ++ # Due to some (currently unknown) changes in MySQL 8.0 packaging or apt ++ # behaviour changes, a system with a previous installation of MySQL 8.0 will ++ # on upgrades to MariaDB first fully remove MySQL, including the ++ # /etc/init.d/mysql file, so previous techniques in ++ # mariadb-server-10.6.postinst to maintain backwards compatibility with ++ # 'service mysql status' after installing MariaDB on top MySQL no longer ++ # works. Thus the step to test it now intentionally has a fallback to use ++ # the service name 'mariadb' instead, and the fallback is always used. ++ - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server ++ - service mysql status || service mariadb status ++ - *test-verify-final + +# Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump. +# The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh. +# +# Testing on Focal binaries on Buster works. Using Jammy binaries on Bullseye +# does not work as libc in Jammy is too new. - mysql-8.0 from Ubuntu 22.04 upgrade: - stage: upgrade extras ++mysql-8.0 from Ubuntu 22.04 with Bullseye backports upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB variant + needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++ - job: build bullseye-backports ++ image: debian:bullseye + script: + - *test-prepare-container + # Add Ubuntu Focal archive keys and repository + - apt-get install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates # Bare minimal (<4MB) for apt-key to work + - apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 871920D1991BC93C 3B4FE6ACC0B21F32 + - echo "deb http://archive.ubuntu.com/ubuntu/ focal main restricted" > /etc/apt/sources.list.d/ubuntu.list + - apt-get update -qq + # First install often fail due to bug in mysql-8.0 + - apt-get install -y mysql-server 'libmysqlc*' || true ++ # Ensure MySQL 8.0 package actually got installed ++ - dpkg -l | grep -e "mysql-server.*8.0" + - sleep 10 && apt-get install -f + - *test-verify-initial - - *test-install ++ # Enable backports to make galera-4 available ++ - echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && apt-get update -qq ++ - *test-install-all + - service mysql status + - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org 10.11 to mariadb upgrade: - stage: upgrade extras ++# Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump. ++# The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh. ++mysql-community-cluster-8.0 from MySQL.com with Bullseye backports upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB variant + needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++ - job: build bullseye-backports ++ image: debian:bullseye + script: + - *test-prepare-container - - apt install -y curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://deb.mariadb.org/10.11/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update ++ - apt-get install --no-install-recommends --yes ca-certificates curl systemctl ++ - curl -sS "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x859be8d7c586f538430b19c2467b942d3a79bd29" -o /etc/apt/trusted.gpg.d/mysql.asc ++ - echo "deb https://repo.mysql.com/apt/debian/ bullseye mysql-cluster-8.0" > /etc/apt/sources.list.d/mysql.list ++ - apt-get update -qq ++ - apt-get install -y mysql-cluster-community-server ++ - sed 's/ExecStartPre=+/ExecStartPre=/' -i /lib/systemd/system/mysql.service # Hack to make file compatible with systemctl shim ++ - systemctl start mysql ++ - dpkg -l | grep -iE 'maria|mysql|galera' ++ - systemctl status mysql; mysql -e 'SELECT VERSION()' ++ - systemctl stop mysql # Stop manually as maintainer scripts don't handle this with systemctl shim ++ # Enable backports to make galera-4 available ++ - echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && apt-get update -qq ++ - *test-install-all ++ # Ignore systemctl shim result as MariaDB systemd file is incompatible with it and yields: ++ # ERROR:systemctl:the ExecStartPre control process exited with error code ++ - systemctl status mysql || true ++ - mysql -e 'SELECT VERSION()' || true ++ - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server ++ - *test-verify-final ++ ++mariadb.org-10.11 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.11" ++ script: + - apt-get install -y mariadb-server + - *test-verify-initial + # Install MariaDB built in this commit - # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.9.1-1 vs 1:10.9.1+mariadb~sid ++ # Force downgrades so our version installs on top of upstream revision, e.g. 1:11.10.1-1 vs 1:11.10.1+mariadb~sid + - apt-get install -y --allow-downgrades ./*.deb + # Verify installation of MariaDB built in this commit + - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed + - mariadb --version # Client version + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org 10.10 to mariadb upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++mariadb.org-10.10 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.10" + script: - - *test-prepare-container - - apt install -y curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://deb.mariadb.org/10.10/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update - - apt-get install -y mariadb-server ++ # this should not use Sid to begin with ++ - apt-get install -y mariadb-server=1:10.10.2+maria~debunstable mariadb-client=1:10.10.2+maria~debunstable + - *test-verify-initial - # Install MariaDB built in this commit - # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.9.1-1 vs 1:10.9.1+mariadb~sid - - apt-get install -y --allow-downgrades ./*.deb - # Verify installation of MariaDB built in this commit - - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - - mariadb --version # Client version ++ - *test-full-upgrade + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org 10.9 to mariadb upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++mariadb.org-10.9 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.9" + script: - - *test-prepare-container - - apt install -y curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://deb.mariadb.org/10.9/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update - - apt-get install -y mariadb-server ++ # this should not use Sid to begin with ++ - apt-get install -y mariadb-server=1:10.9.4+maria~debunstable mariadb-client=1:10.9.4+maria~debunstable + - *test-verify-initial - # Install MariaDB built in this commit - # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.9.1-1 vs 1:10.9.1+mariadb~sid - - apt-get install -y --allow-downgrades ./*.deb - # Verify installation of MariaDB built in this commit - - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - - mariadb --version # Client version ++ - *test-full-upgrade + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org-10.8 to mariadb upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++mariadb.org-10.8 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.8" + script: - - *test-prepare-container - - apt install -y curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://deb.mariadb.org/10.8/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update + - apt-get install -y mariadb-server-10.8 + - *test-verify-initial - # Install MariaDB built in this commit - # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.9.1-1 vs 1:10.9.1+mariadb~sid - - apt-get install -y --allow-downgrades ./*.deb - # Verify installation of MariaDB built in this commit - - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - - mariadb --version # Client version ++ - *test-install-all + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - # Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump. - # The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh. - mysql-community-cluster-8.0 from MySQL.com upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug - script: - - *test-prepare-container - - apt-get install --no-install-recommends --yes ca-certificates curl systemctl - - curl -sS "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x859be8d7c586f538430b19c2467b942d3a79bd29" -o /etc/apt/trusted.gpg.d/mysql.asc - - echo "deb https://repo.mysql.com/apt/debian/ bullseye mysql-cluster-8.0" > /etc/apt/sources.list.d/mysql.list - - apt-get update -qq - - apt-get install -y mysql-cluster-community-server - - sed 's/ExecStartPre=+/ExecStartPre=/' -i /lib/systemd/system/mysql.service # Hack to make file compatible with systemctl shim - - systemctl start mysql - - dpkg -l | grep -iE 'maria|mysql|galera' - - systemctl status mysql; mysql -e 'SELECT VERSION()' - - systemctl stop mysql # Stop manually as maintainer scripts don't handle this with systemctl shim - - *test-install - # Ignore systemctl shim result as MariaDB systemd file is incompatible with it and yields: - # ERROR:systemctl:the ExecStartPre control process exited with error code - - systemctl status mysql || true - - mysql -e 'SELECT VERSION()' || true - - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server - - *test-verify-final ++mariadb.org-10.7 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant + variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ - - mariadb.org-10.7 to mariadb upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++ MARIADB_VERSION: "10.7" + script: - - *test-prepare-container - - apt install -y curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://deb.mariadb.org/10.7/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update + - apt-get install -y mariadb-server-10.7 + - *test-verify-initial - # Install MariaDB built in this commit - # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.9.1-1 vs 1:10.9.1+mariadb~sid - - apt-get install -y --allow-downgrades ./*.deb - # Verify installation of MariaDB built in this commit - - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - - mariadb --version # Client version ++ - *test-install-all + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org-10.6 to mariadb upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++mariadb.org-10.6 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.6" + script: - - *test-prepare-container - - apt-get -qq install --no-install-recommends --yes ca-certificates curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://deb.mariadb.org/10.6/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update -qq ++ # Package libmariadbclient-dev from mariadb.org conflicts with libmariadb-dev in Sid, so cannot use wildcard that would include it ++ # Enable this line when there is a way to install them only from the mariadb.org repo ++ # - apt-get install -y 'mariadb*' libmariadb3 'libmariadb-*' 'libmariadbd*' + - apt-get install -y mariadb-server-10.6 + - *test-verify-initial - # Install MariaDB built in this commit - # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.9.1-1 vs 1:10.9.1+mariadb~sid - - apt-get install -y --allow-downgrades ./*.deb - # Verify installation of MariaDB built in this commit - - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed - - mariadb --version # Client version ++ - *test-install-all + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org-10.5 to mariadb upgrade: - stage: upgrade extras - needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++# archive.mariadb.org for Debian Sid latest is 10.5.13 ++mariadb.org-10.5 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.5" + script: - - *test-prepare-container - - apt-get -qq install --no-install-recommends --yes ca-certificates curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://archive.mariadb.org/mariadb-10.5/repo/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update -qq ++ - *test-install-openssl1-in-sid-for-backwards-compat + - apt-get install -y mariadb-server-10.5 + - *test-verify-initial - - *test-install ++ - *test-install-all + - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org-10.4 to mariadb with Buster backports upgrade: - stage: upgrade extras - needs: - - job: build buster-backports - image: debian:buster - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++# archive.mariadb.org for Debian Sid latest is 10.4.17 ++mariadb.org-10.4 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.4" + script: - - *test-prepare-container - - apt-get -qq install --no-install-recommends --yes ca-certificates curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://archive.mariadb.org/mariadb-10.4/repo/debian buster main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update -qq ++ - *test-install-readline-in-sid-for-backwards-compat ++ - *test-install-openssl1-in-sid-for-backwards-compat + - apt-get install -y mariadb-server-10.4 + # MariaDB.org version of 10.4 and early 10.5 do not install an init file, so + # it must be installed here manually + - cp /usr/share/mysql/mysql.init /etc/init.d/mysql; chmod +x /etc/init.d/mysql; service mysql start; sleep 5 + - *test-verify-initial - # Buster backports is needed for liburing1 (>= 0.7) and galera-4 (>= 26.4) - - *test-enable-buster-backports-repos - - *test-install ++ - *test-install-all + - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server + - service mysql status + - service mariadb status + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - mariadb.org-10.3 to mariadb with Buster backports upgrade: - stage: upgrade extras - needs: - - job: build bullseye-backports - image: debian:bullseye - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++# archive.mariadb.org for Debian Sid latest is 10.3.27 ++mariadb.org-10.3 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.3" + script: - - *test-prepare-container - - apt-get -qq install --no-install-recommends --yes ca-certificates curl - - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc - - echo "deb https://archive.mariadb.org/mariadb-10.3/repo/debian buster main" > /etc/apt/sources.list.d/mariadb.list - - apt-get update -qq ++ - *test-install-readline-in-sid-for-backwards-compat ++ - *test-install-openssl1-in-sid-for-backwards-compat + - apt-get install -y mariadb-server-10.3 + - *test-verify-initial - # Buster backports is needed for liburing1 (>= 0.7) and galera-4 (>= 26.4) - - *test-enable-buster-backports-repos - - *test-install - - service mysql status ++ - *test-install-all ++ # mariadb-10.3 in Buster ships a /etc/init.d/mysql and it continues to exist ++ # after upgrade, but is be removed on purge ++ - service mysql status || service mariadb status + # Give the mariadb-upgrade plenty of time to complete, otherwise next commands + # fail on non-existing mariadb.sys user + - sleep 15 + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - # archive.mariadb.org has for 10.2 only Stretch, so we can't test upgrades to - # 10.6 with only Buster and Bullseye builds ++# archive.mariadb.org for Debian Sid latest is 10.2.21 ++mariadb.org-10.2 upgrade: ++ extends: .salsa-ci-template-for-mariadb-upgrade ++ stage: upgrade MariaDB variant ++ variables: ++ MARIADB_VERSION: "10.2" ++ script: ++ - *test-install-readline-in-sid-for-backwards-compat ++ - *test-install-openssl1-in-sid-for-backwards-compat ++ - apt-get install -y mariadb-server-10.2 ++ # Verify initial state before upgrade ++ - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed ++ - service mysql status ++ # prepending with --defaults-file=/etc/mysql/debian.cnf is needed in upstream 5.5–10.3 ++ - | ++ mysql --defaults-file=/etc/mysql/debian.cnf --skip-column-names -e "SELECT @@version, @@version_comment" ++ mysql --defaults-file=/etc/mysql/debian.cnf --table -e "SHOW DATABASES;" ++ mysql --defaults-file=/etc/mysql/debian.cnf --table -e "SELECT * FROM mysql.user; SHOW CREATE USER root@localhost;" ++ mysql --defaults-file=/etc/mysql/debian.cnf --table -e "SELECT * FROM mysql.plugin; SHOW PLUGINS;" ++ - *test-install-all ++ # mariadb-10.2 in ships a /etc/init.d/mysql and it continues to exist ++ # after upgrade, but is be removed on purge ++ - service mysql status || service mariadb status ++ # Give the mariadb-upgrade plenty of time to complete, otherwise next commands ++ # fail on non-existing mariadb.sys user ++ - sleep 15 ++ - *test-verify-final + - mysql.com-5.7 upgrade: - stage: upgrade extras ++mysql.com-5.7 with Buster upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB variant + needs: + - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++ image: debian:buster + script: + - *test-prepare-container + - | + apt-get install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates # Bare minimal (<4MB) for apt-key to work + apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 467B942D3A79BD29 - echo "deb https://repo.mysql.com/apt/debian/ bullseye mysql-5.7" > /etc/apt/sources.list.d/mysql.list ++ echo "deb https://repo.mysql.com/apt/debian/ buster mysql-5.7" > /etc/apt/sources.list.d/mysql.list + apt-get update -qq + apt-get install -y 'mysql*' 'libmysqlc*' ++ # Ensure MySQL 5.7 package actually got installed ++ - dpkg -l | grep -e "mysql-server.*5.7" + - *test-verify-initial - - *test-install ++ - *test-enable-sid-repos ++ - *test-install-all + # Due to some (currently unknown) changes in MySQL 5.7 packaging or apt + # behaviour changes, a system with a previous installation of MySQL will + # on upgrades to MariaDB first fully remove MySQL, including the + # /etc/init.d/mysql file, so previous techniques in + # mariadb-server-10.6.postinst to maintain backwards compatibility with + # 'service mysql status' after installing MariaDB on top MySQL no longer + # works. Thus the step to test it now intentionally has a fallback to use + # the service name 'mariadb' instead, and the fallback is always used. + - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server - - service mariadb status # There is no init.d/mysql in MariaDB 10.5+ ++ - service mysql status || service mariadb status + - sleep 15 # Give the mysql_upgrade a bit of extra time to complete with MySQL 5.7 before querying the server + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ + - percona-xtradb-5.7 upgrade: - stage: upgrade extras ++percona-xtradb-5.7 with Bullseye backports upgrade: ++ extends: .salsa-ci-template-for-mariadb ++ stage: upgrade MariaDB variant + needs: - - job: build - image: debian:${RELEASE} - artifacts: - when: always - name: "$CI_BUILD_NAME" - paths: - - ${WORKING_DIR}/debug ++ - job: build bullseye-backports ++ image: debian:bullseye + script: + - *test-prepare-container + - | + apt-get install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates # Bare minimal (<4MB) for apt-key to work + apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 9334A25F8507EFA5 - echo "deb https://repo.percona.com/apt/ ${RELEASE} main" > /etc/apt/sources.list.d/mysql.list ++ echo "deb https://repo.percona.com/apt/ bullseye main" > /etc/apt/sources.list.d/mysql.list + apt-get update -qq + apt-get install -y percona-xtradb-cluster-full-57 percona-xtrabackup-24 percona-toolkit pmm2-client + - service mysql status + - *test-verify-initial - - *test-install ++ # Enable backports to make galera-4 available ++ - echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list.d/backports.list && apt-get update -qq ++ - *test-install-all + - service mysql status + - sleep 15 # Give the mysql_upgrade a bit of extra time to complete with MySQL 5.7 before querying the server + - *test-verify-final - variables: - GIT_STRATEGY: none - except: - variables: - - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ diff --cc debian/source/format index 89ae9db8f,000000000..163aaf8d8 mode 100644,000000..100644 --- a/debian/source/format +++ b/debian/source/format @@@ -1,1 -1,0 +1,1 @@@ - 3.0 (native) ++3.0 (quilt) diff --cc debian/source/lintian-overrides index 306ab2727,000000000..cb989053e mode 100644,000000..100644 --- a/debian/source/lintian-overrides +++ b/debian/source/lintian-overrides @@@ -1,112 -1,0 +1,86 @@@ - # Necessary for drop-in-place-replacement upgrades on mysql-server/-client - # since package breaks/replaces these but at the same time also provides them - version-substvar-for-external-package mariadb-client-core -> mysql-client-5.5 - version-substvar-for-external-package mariadb-server -> mysql-server - version-substvar-for-external-package libmariadb-dev -> libmysqlclient-dev - version-substvar-for-external-package libmariadb-dev -> libmysqld-dev - version-substvar-for-external-package Replaces ${source:Version} libmariadb-dev -> libmysqlclient-dev [debian/control:74] - version-substvar-for-external-package Replaces ${source:Version} libmariadb-dev -> libmysqld-dev [debian/control:74] - version-substvar-for-external-package libmariadbd-dev -> libmariadbclient-dev - version-substvar-for-external-package Replaces ${source:Version} libmariadbd-dev -> libmariadbclient-dev [debian/control:232] - version-substvar-for-external-package Conflicts (line 408) ${source:Version} mariadb-client -> mariadb-client-10.11 - version-substvar-for-external-package Conflicts (line 575) ${source:Version} mariadb-server-core -> mariadb-server-core-10.11 - version-substvar-for-external-package Conflicts (line 711) ${source:Version} mariadb-server -> mariadb-server-10.11 - version-substvar-for-external-package Conflicts (line 95) ${source:Version} libmariadb-dev-compat -> libmariadbclient-dev - version-substvar-for-external-package Replaces (line 109) ${source:Version} libmariadb-dev-compat -> libmariadbclient-dev - version-substvar-for-external-package Replaces (line 330) ${source:Version} mariadb-client-core -> mariadb-client-10.11 - version-substvar-for-external-package Replaces (line 330) ${source:Version} mariadb-client-core -> mariadb-server-core-10.11 - version-substvar-for-external-package Replaces (line 481) ${source:Version} mariadb-client -> mariadb-client-10.11 - version-substvar-for-external-package Replaces (line 481) ${source:Version} mariadb-client -> mariadb-client-core-10.11 - version-substvar-for-external-package Replaces (line 481) ${source:Version} mariadb-client -> mariadb-server-10.11 - version-substvar-for-external-package Replaces (line 481) ${source:Version} mariadb-client -> mariadb-server-core-10.11 - version-substvar-for-external-package Replaces (line 626) ${source:Version} mariadb-server-core -> mariadb-client-10.11 - version-substvar-for-external-package Replaces (line 626) ${source:Version} mariadb-server-core -> mariadb-server-10.11 - version-substvar-for-external-package Replaces (line 748) ${source:Version} mariadb-server -> mariadb-client-10.11 - version-substvar-for-external-package Replaces (line 748) ${source:Version} mariadb-server -> mariadb-server-10.11 - # ColumnStore not used in Debian, safe to ignore. Reported upstream in https://jira.mariadb.org/browse/MDEV-24124 - source-is-missing storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2 - source-is-missing [storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2] - # Must be fixed upstream - source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-*.custom.js - # New Lintian syntax (from version 2.115) ++# Intentional control relationships ++version-substvar-for-external-package Replaces ${source:Version} libmariadb-dev -> libmysqld-dev * ++# Do not alert for documentation in html +source-is-missing [sql/share/charsets/languages.html] +source-is-missing [storage/rocksdb/rocksdb/docs/_includes/footer.html] - # Intentional control relationships - version-substvar-for-external-package Replaces * libmariadbd-dev -> libmariadbclient-dev - version-substvar-for-external-package Replaces * libmariadb-dev -> libmysqlclient-dev - version-substvar-for-external-package Replaces * libmariadb-dev -> libmysqld-dev - # New Lintian syntax (from version 2.115) - version-substvar-for-external-package Replaces * libmariadb-dev -> libmysqlclient-dev [debian/control:*] - version-substvar-for-external-package Replaces * libmariadb-dev -> libmysqld-dev [debian/control:*] - version-substvar-for-external-package Replaces * libmariadbd-dev -> libmariadbclient-dev [debian/control:*] +# Data or test files where long lines are justified - very-long-line-length-in-source-file *.test * - very-long-line-length-in-source-file *.result * - very-long-line-length-in-source-file BUILD/compile-* - very-long-line-length-in-source-file *COPYING.rtf * ++very-long-line-length-in-source-file * [*.result:*] ++very-long-line-length-in-source-file * [*.test:*] ++very-long-line-length-in-source-file * [*COPYING.rtf:*] ++very-long-line-length-in-source-file * [BUILD/compile-*] +# These are mainly found under extra/wolfssl - very-long-line-length-in-source-file *.cproject * - very-long-line-length-in-source-file *.md * - very-long-line-length-in-source-file *.scfg * - very-long-line-length-in-source-file *.launch * - very-long-line-length-in-source-file extra/wolfssl/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c * - very-long-line-length-in-source-file extra/wolfssl/wolfssl/configure.ac * - very-long-line-length-in-source-file extra/wolfssl/wolfssl/doc/formats/html/html_changes/tabs.css * ++very-long-line-length-in-source-file * [*.cproject:*] ++very-long-line-length-in-source-file * [*.launch:*] ++very-long-line-length-in-source-file * [*.md:*] ++very-long-line-length-in-source-file * [*.scfg:*] ++very-long-line-length-in-source-file * [extra/wolfssl/wolfssl/configure.ac:*] ++very-long-line-length-in-source-file * [extra/wolfssl/wolfssl/doc/formats/html/html_changes/tabs.css:*] ++very-long-line-length-in-source-file * [extra/wolfssl/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c:*] ++very-long-line-length-in-source-file * [extra/wolfssl/wolfssl/IDE/IAR-MSP430/main.c:*] ++very-long-line-length-in-source-file * [extra/wolfssl/wolfssl/scripts/*.pcap:*] +# Preprocessed C files which have long lines - very-long-line-length-in-source-file extra/wolfssl/wolfssl/wolfcrypt/src/*.i * ++very-long-line-length-in-source-file * [extra/wolfssl/wolfssl/wolfcrypt/src/*.i:*] +# These are all results for test cases and similar so they can be +# especially formatted to be too long - very-long-line-length-in-source-file mysql-test/*.dump * - very-long-line-length-in-source-file mysql-test/*.inc * - very-long-line-length-in-source-file mysql-test/*.rdiff * - very-long-line-length-in-source-file mysql-test/*.txt * - very-long-line-length-in-source-file mysql-test/*.weekly * ++very-long-line-length-in-source-file * [mysql-test/*.000*:*] ++very-long-line-length-in-source-file * [mysql-test/*.ARZ:*] ++very-long-line-length-in-source-file * [mysql-test/*.dump:*] ++very-long-line-length-in-source-file * [mysql-test/*.frm:*] ++very-long-line-length-in-source-file * [mysql-test/*.ibd:*] ++very-long-line-length-in-source-file * [mysql-test/*.inc:*] ++very-long-line-length-in-source-file * [mysql-test/*.MAD:*] ++very-long-line-length-in-source-file * [mysql-test/*.MAI:*] ++very-long-line-length-in-source-file * [mysql-test/*.MYD:*] ++very-long-line-length-in-source-file * [mysql-test/*.MYI:*] ++very-long-line-length-in-source-file * [mysql-test/*.rdiff:*] ++very-long-line-length-in-source-file * [mysql-test/*.txt:*] ++very-long-line-length-in-source-file * [mysql-test/*.weekly:*] ++very-long-line-length-in-source-file * [mysql-test/*001:*] ++very-long-line-length-in-source-file * [mysql-test/*ibdata*:*] ++very-long-line-length-in-source-file * [mysql-test/std_data/Moscow_leap:*] ++very-long-line-length-in-source-file * [mysql-test/suite/parts/r/*.out:*] +# Test file - very-long-line-length-in-source-file plugin/handler_socket/regtest/test_01_lib/test19.expected * ++very-long-line-length-in-source-file * [libmysqld/examples/builder-sample/emb_samples.dfm:*] ++very-long-line-length-in-source-file * [plugin/handler_socket/regtest/test_01_lib/test19.expected:*] ++very-long-line-length-in-source-file * [storage/connect/mysql-test/connect/std_data/mdev9949.frm:*] +# SQL source file that has very long inserts/selects - very-long-line-length-in-source-file mysql-test/std_data/init_file_longline_3816.sql * - very-long-line-length-in-source-file scripts/fill_help_tables.sql * - very-long-line-length-in-source-file scripts/mysql_system_tables.sql * - very-long-line-length-in-source-file scripts/mysql_test_data_timezone.sql * ++very-long-line-length-in-source-file * [scripts/fill_help_tables.sql:*] ++very-long-line-length-in-source-file * [scripts/mysql_system_tables.sql:*] +# Machine formatted HTML - very-long-line-length-in-source-file sql/share/charsets/languages.html * - very-long-line-length-in-source-file sql/share/errmsg-utf8.txt * ++very-long-line-length-in-source-file * [sql/share/charsets/languages.html:*] ++very-long-line-length-in-source-file * [sql/share/errmsg-utf8.txt:*] +# Very long test string - very-long-line-length-in-source-file storage/archive/archive_test.c line 30 is 1051 characters long (>512) - # autogenerated thrift file - very-long-line-length-in-source-file storage/cassandra/gen-cpp/cassandra_types.h * ++very-long-line-length-in-source-file 1052 > 512 [storage/archive/archive_test.c:30] +# ColumnStore ignores +# In Directory mysql-test are some long test includes - very-long-line-length-in-source-file storage/columnstore/columnstore/.drone.jsonnet * - very-long-line-length-in-source-file storage/columnstore/columnstore/CMakeLists.txt * - very-long-line-length-in-source-file storage/columnstore/columnstore/mysql-test/columnstore/csinternal/include/autopilot_create_datatypetestm_tables.inc * - very-long-line-length-in-source-file storage/columnstore/columnstore/mysql-test/columnstore/csinternal/include/autopilot_create_datatypeupdate_table.inc * - very-long-line-length-in-source-file storage/columnstore/columnstore/*.xmi * - very-long-line-length-in-source-file storage/columnstore/columnstore/dbcon/doc/q19_plan.txt * - very-long-line-length-in-source-file storage/columnstore/columnstore/utils/udfsdk/docs/source/reference/mcsv1Context.rst * - very-long-line-length-in-source-file storage/columnstore/columnstore/utils/winport/win_setup_mysql_part1.sql * ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/.drone.jsonnet:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/*.xmi:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/CMakeLists.txt:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/dbcon/doc/q19_plan.txt:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/mysql-test/columnstore/csinternal/include/autopilot_create_datatypetestm_tables.inc:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/mysql-test/columnstore/csinternal/include/autopilot_create_datatypeupdate_table.inc:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/primitives/linux-port/dictblock.cdf:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/storage-manager/test_data/*:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/utils/udfsdk/docs/source/reference/mcsv1Context.rst:*] ++very-long-line-length-in-source-file * [storage/columnstore/columnstore/utils/winport/win_setup_mysql_part1.sql:*] +# Minified CSS files. These appear in several places - very-long-line-length-in-source-file *badge_only.css * - very-long-line-length-in-source-file *theme.css line * ++very-long-line-length-in-source-file * [*badge_only.css:*] ++very-long-line-length-in-source-file * [*theme.css:*] ++# Font files ++very-long-line-length-in-source-file * [*.eot:*] +# General storage ignores - very-long-line-length-in-source-file storage/mroonga/vendor/groonga/examples/dictionary/html/css/smoothness/jquery-ui-1.8.12.custom.css * - very-long-line-length-in-source-file storage/rocksdb/mysql-test/rocksdb/t/bypass_select_basic_bloom-master.opt * - very-long-line-length-in-source-file storage/rocksdb/mysql-test/rocksdb/t/type_enum.inc * - very-long-line-length-in-source-file storage/rocksdb/mysql-test/rocksdb/t/type_set.inc * - very-long-line-length-in-source-file storage/rocksdb/rocksdb/docs/_includes/footer.html * - very-long-line-length-in-source-file storage/rocksdb/rocksdb/docs/_posts/*.markdown line * - very-long-line-length-in-source-file storage/spider/mysql-test/spider/bugfix/include/sql_mode_init.inc * - very-long-line-length-in-source-file storage/tokudb/PerconaFT/cmake_modules/TokuBuildTagDatabases.cmake * - very-long-line-length-in-source-file storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/m4/po.m4 * ++very-long-line-length-in-source-file * [storage/mroonga/vendor/groonga/examples/dictionary/html/css/smoothness/jquery-ui-1.8.12.custom.css:*] ++very-long-line-length-in-source-file * [storage/rocksdb/mysql-test/rocksdb/t/bypass_select_basic_bloom-master.opt:*] ++very-long-line-length-in-source-file * [storage/rocksdb/mysql-test/rocksdb/t/type_enum.inc:*] ++very-long-line-length-in-source-file * [storage/rocksdb/mysql-test/rocksdb/t/type_set.inc:*] ++very-long-line-length-in-source-file * [storage/rocksdb/rocksdb/docs/_includes/footer.html:*] ++very-long-line-length-in-source-file * [storage/rocksdb/rocksdb/docs/_posts/*.markdown:*] ++very-long-line-length-in-source-file * [storage/spider/mysql-test/spider/bugfix/include/sql_mode_init.inc:*] +# These are generated files which should not make any harm - source-contains-autogenerated-visual-c++-file storage/columnstore/columnstore/*.rc - source-contains-autogenerated-visual-c++-file storage/columnstore/columnstore/*.h - source-contains-autogenerated-visual-c++-file win/upgrade_wizard/resource.h - source-contains-autogenerated-visual-c++-file win/upgrade_wizard/upgrade.rc - - # New in 10.11 - version-substvar-for-external-package Conflicts ${source:Version} libmariadb-dev-compat -> libmariadbclient-dev [debian/control:95] - version-substvar-for-external-package Replaces ${source:Version} libmariadb-dev-compat -> libmariadbclient-dev [debian/control:109] - missing-build-dependency-for-dh-addon systemd (does not satisfy debhelper:any (>= 9.20160709~) | debhelper-compat:any | dh-sequence-systemd:any | dh-systemd:any) [debian/rules] - source-is-missing [sql/share/charsets/languages.html] - source-is-missing [storage/rocksdb/rocksdb/docs/_includes/footer.html] ++source-contains-autogenerated-visual-c++-file [extra/wolfssl/wolfssl/IDE/WIN10/resource.h] ++source-contains-autogenerated-visual-c++-file [extra/wolfssl/wolfssl/IDE/WIN10/wolfssl-fips.rc] ++source-contains-autogenerated-visual-c++-file [extra/wolfssl/wolfssl/resource.h] ++source-contains-autogenerated-visual-c++-file [storage/columnstore/columnstore/*.h] ++source-contains-autogenerated-visual-c++-file [storage/columnstore/columnstore/*.rc] ++source-contains-autogenerated-visual-c++-file [win/upgrade_wizard/resource.h] ++source-contains-autogenerated-visual-c++-file [win/upgrade_wizard/upgrade.rc] diff --cc debian/tests/configuration-tracing index 000000000,000000000..b6249a613 new file mode 100755 --- /dev/null +++ b/debian/tests/configuration-tracing @@@ -1,0 -1,0 +1,108 @@@ ++#!/bin/sh ++# dep8 smoke test for mariadbd ++# Author: Otto Kekäläinen ++# ++# This test should be declared in debian/tests/control with a dependency ++# on the package that provides a configured MariaDB server (eg. ++# mariadb-server). ++# ++# This test should be declared in debian/tests/control with the ++# following restrictions: ++# - needs-root (binaries in /usr/sbin need root to run) ++# - allow-stderr (set -x always outputs to stderr, also if mariadbd was not ++# launched as a service it will complain that mysql.plugin table is empty) ++# ++# This test prints out various configuration information from mariadbd and ++# compares the result to expected values in original binary/build. ++# ++ ++normalize_value() { ++ VARIABLE="$1" ++ VALUE="$2" ++ # In sed the '\s.*' will match whitespace followed by any other chars until end of line ++ sed "s/^$VARIABLE\(\s\s*\).*$/$VARIABLE\1$VALUE/" -i "$TEMPFILE" ++} ++ ++trace() { ++ TRACE_NAME="$(echo "$*" | sed -E 's|/usr/(s?)bin/||' | sed 's/ //g' | sed 's/--/-/g')" ++ ++ # Show in test what was run ++ echo ++ echo "Tracing: $*" ++ ++ # shellcheck disable=SC2068 ++ $@ > "$TRACE_NAME.actual" ++ ++ # Normalize contents for know special case ++ if echo "$*" | grep -q verbose ++ then ++ TEMPFILE="$(mktemp)" ++ # Use 'tail' to skip first line that has version and architecture strings which ++ # we intentionally do not want to include in the trace file. ++ tail -n +2 "$TRACE_NAME.actual" > "$TEMPFILE" ++ ++ # Hostname varies one very machine ++ sed "s/$(hostname)/HOSTNAME/g" -i "$TEMPFILE" ++ ++ # Version/revision increases on every release ++ VERSION=$(mariadbd --help --verbose | grep -e "^version " | rev | cut -d ' ' -f 1 | rev) ++ sed "s/$VERSION/VERSION/g" -i "$TEMPFILE" ++ ++ # SSL library version inherited form dependency, not relevant for tracing ++ # the correctness of the MariaDB build itself ++ sed 's/OpenSSL 3.*/SSL-VERSION/' -i "$TEMPFILE" ++ ++ # Normalize values that depend on build environment ++ normalize_value system-time-zone UTC # depends on OS environment ++ normalize_value open-files-limit 32000 # depends on OS environment ++ normalize_value thread-pool-size 2 # depends on CPU cores available ++ normalize_value version-compile-machine ARCH # x86_64, aarch64, armv7l .. ++ ++ # armhf/armel might have: debian-linux-gnueabi, debian-linux-gnueabihf ++ normalize_value version-compile-os debian-linux-gnu ++ ++ # In Sid 'Debian n/a', in Bookworm 'Debian 12' ++ normalize_value version-comment "Debian RELEASE" ++ ++ # 32-bit systems (i386, armel, armhf) have lower values ++ normalize_value innodb-io-capacity-max 18446744073709551615 # 32-bit: 4294967295 ++ normalize_value max-binlog-cache-size 18446744073709547520 # 32-bit: 4294963200 ++ normalize_value max-binlog-stmt-cache-size 18446744073709547520 # 32-bit: 4294963200 ++ normalize_value myisam-max-sort-file-size 18446744073709551615 # 32-bit: 2146435072 ++ normalize_value myisam-mmap-size 9223372036853727232 # 32-bit: 4294967295 ++ normalize_value tmp-disk-table-size 18446744073709551615 # 32-bit: 4294967295 ++ ++ # ppc64el has larger default value: 393216 ++ normalize_value log-tc-size 24576 ++ ++ mv "$TEMPFILE" "$TRACE_NAME.actual" ++ fi ++ ++ echo "diff --ignore-space-change -u $TRACE_NAME.expected $TRACE_NAME.actual" ++ # Validate that trace file in source code matches tested ++ if ! diff --ignore-space-change -u "$TRACE_NAME.expected" "$TRACE_NAME.actual" ++ then ++ echo "Error: Output from '$*' did NOT match what was expected" ++ echo ++ echo "If the change is intentional, update the debian/tests/traces to match" ++ echo "the new values and document change to users in mariadb-server.NEWS" ++ exit 1 ++ fi ++} ++ ++echo "Running test 'configuration-tracing'" ++cd debian/tests/traces || exit 1 ++ ++set -e ++ ++# Dump out what parameters mariadb would be called with by default ++trace /usr/bin/mariadb --print-defaults ++ ++# Dump out all help texts, client variables and their default values ++trace /usr/bin/mariadb --verbose --help ++ ++# Dump out what parameters mariadbd would be called with by default on system ++trace /usr/sbin/mariadbd --print-defaults ++ ++# Dump out all help texts, server variables and their default values ++trace /usr/sbin/mariadbd --verbose --help diff --cc debian/tests/control index bc9c7d918,000000000..d91e3b11a mode 100644,000000..100644 --- a/debian/tests/control +++ b/debian/tests/control @@@ -1,16 -1,0 +1,20 @@@ ++Tests: configuration-tracing ++Depends: mariadb-server, diffutils ++Restrictions: allow-stderr needs-root ++ +Tests: smoke +# RocksDB is not built for all archs. Rather than duplicating the condition +# for its existence (see the list in debian/control), install it if available +# and check in the test if it's functional when it should be. +# The plugin package also already depends on the other one. +Depends: mariadb-plugin-rocksdb | mariadb-server, + mariadb-plugin-provider-bzip2, + mariadb-plugin-provider-lz4, + mariadb-plugin-provider-lzma, + mariadb-plugin-provider-lzo, + mariadb-plugin-provider-snappy +Restrictions: allow-stderr needs-root isolation-container + +Tests: upstream +Depends: mariadb-test, eatmydata +Restrictions: allow-stderr breaks-testbed diff --cc debian/tests/smoke index b3e09acc8,000000000..f951f19d8 mode 100644,000000..100644 --- a/debian/tests/smoke +++ b/debian/tests/smoke @@@ -1,114 -1,0 +1,117 @@@ +#!/bin/sh +# dep8 smoke test for mysql-server +# Author: Robie Basak +# +# This test should be declared in debian/tests/control with a dependency +# on the package that provides a configured MariaDB server (eg. +# mariadb-server). +# +# This test should be declared in debian/tests/control with the +# following restrictions: - # - # needs-root (to be able to log into the database) - # allow-stderr ++# - allow-stderr (set -x always outputs to stderr) ++# - needs-root (to be able to log into the database) ++# - isolation-container (to be able to start service) +# +# This test: +# +# 1) Creates a test database and test user as the root user. +# +# 2) Creates a test table and checks it appears to operate normally +# using the test user and test database. +# +# 3) Checks compression support for InnoDB & RocksDB engine. + +echo "Running test 'smoke'" +set -ex + +# Start the daemon if it was not running. For example in Docker testing +# environments there might not be any systemd et al and the service needs to +# be started manually. +if ! which systemctl +then + if ! /etc/init.d/mariadb status + then + echo "Did not find systemctl and daemon was not running, starting it.." + /etc/init.d/mariadb start + fi +else + # If systemd (and systemctl) is available, but the service did not start, then + # this smoke test is supposed to fail if next commands don't work. + echo "Found systemctl, continuing smoke test.." + # Compression plugins are separated from main server package + # to own packages (for example LZ4 package mariadb-plugin-provider-lz4) + # and they are installed after mariadb-server. + # which means that they don't exist if MariaDB is not restarted + systemctl restart mariadb +fi + - mariadb <&2 + exit 1 +fi + - mariadb --user=testuser --password=testpassword testdatabase <&2 + exit 1 + fi + done +else + ! dpkg-query -W $plugin +fi diff --cc debian/tests/traces/mariadb-print-defaults.expected index 000000000,000000000..acb579539 new file mode 100644 --- /dev/null +++ b/debian/tests/traces/mariadb-print-defaults.expected @@@ -1,0 -1,0 +1,2 @@@ ++/usr/bin/mariadb would have been started with the following arguments: ++--socket=/run/mysqld/mysqld.sock diff --cc debian/tests/traces/mariadb-verbose-help.expected index 000000000,000000000..015a04307 new file mode 100644 --- /dev/null +++ b/debian/tests/traces/mariadb-verbose-help.expected @@@ -1,0 -1,0 +1,228 @@@ ++Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. ++ ++Usage: /usr/bin/mariadb [OPTIONS] [database] ++ ++Default options are read from the following files in the given order: ++/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf ++The following groups are read: mysql mariadb-client client client-server client-mariadb ++The following options may be given as the first argument: ++--print-defaults Print the program argument list and exit. ++--no-defaults Don't read default options from any option file. ++The following specify which files/extra groups are read (specified before remaining options): ++--defaults-file=# Only read default options from the given file #. ++--defaults-extra-file=# Read this file after the global files are read. ++--defaults-group-suffix=# Additionally read default groups with # appended as a suffix. ++ ++ -?, --help Display this help and exit. ++ -I, --help Synonym for -? ++ --abort-source-on-error ++ Abort 'source filename' operations in case of errors ++ --auto-rehash Enable automatic rehashing. One doesn't need to use ++ 'rehash' to get table and field completion, but startup ++ and reconnecting may take a longer time. Disable with ++ --disable-auto-rehash. ++ (Defaults to on; use --skip-auto-rehash to disable.) ++ -A, --no-auto-rehash ++ No automatic rehashing. One has to use 'rehash' to get ++ table and field completion. This gives a quicker start of ++ mysql and disables rehashing on reconnect. ++ --auto-vertical-output ++ Automatically switch to vertical output mode if the ++ result is wider than the terminal width. ++ -B, --batch Don't use history file. Disable interactive behavior. ++ (Enables --silent.) ++ --binary-as-hex Print binary data as hex ++ --character-sets-dir=name ++ Directory for character set files. ++ --column-type-info Display column type information. ++ -c, --comments Preserve comments. Send comments to the server. The ++ default is --skip-comments (discard comments), enable ++ with --comments. ++ -C, --compress Use compression in server/client protocol. ++ -#, --debug[=#] This is a non-debug version. Catch this and exit. ++ --debug-check Check memory and open file usage at exit. ++ -T, --debug-info Print some debug info at exit. ++ -D, --database=name Database to use. ++ --default-character-set=name ++ Set the default character set. ++ --delimiter=name Delimiter to be used. ++ -e, --execute=name Execute command and quit. (Disables --force and history ++ file.) ++ --enable-cleartext-plugin ++ Obsolete option. Exists only for MySQL compatibility. ++ -E, --vertical Print the output of a query (rows) vertically. ++ -f, --force Continue even if we get an SQL error. Sets ++ abort-source-on-error to 0 ++ -G, --named-commands ++ Enable named commands. Named commands mean this program's ++ internal commands; see mysql> help . When enabled, the ++ named commands can be used from any line of the query, ++ otherwise only from the first line, before an enter. ++ Disable with --disable-named-commands. This option is ++ disabled by default. ++ -i, --ignore-spaces Ignore space after function names. ++ --init-command=name SQL Command to execute when connecting to MariaDB server. ++ Will automatically be re-executed when reconnecting. ++ --local-infile Enable/disable LOAD DATA LOCAL INFILE. ++ -b, --no-beep Turn off beep on error. ++ -h, --host=name Connect to host. ++ -H, --html Produce HTML output. ++ -X, --xml Produce XML output. ++ --line-numbers Write line numbers for errors. ++ (Defaults to on; use --skip-line-numbers to disable.) ++ -L, --skip-line-numbers ++ Don't write line number for errors. ++ -n, --unbuffered Flush buffer after each query. ++ --column-names Write column names in results. ++ (Defaults to on; use --skip-column-names to disable.) ++ -N, --skip-column-names ++ Don't write column names in results. ++ --sigint-ignore Ignore SIGINT (CTRL-C). ++ -o, --one-database Ignore statements except those that occur while the ++ default database is the one named at the command line. ++ --pager[=name] Pager to use to display results. If you don't supply an ++ option, the default pager is taken from your ENV variable ++ PAGER. Valid pagers are less, more, cat [> filename], ++ etc. See interactive help (\h) also. This option does not ++ work in batch mode. Disable with --disable-pager. This ++ option is disabled by default. ++ -p, --password[=name] ++ Password to use when connecting to server. If password is ++ not given it's asked from the tty. ++ -P, --port=# Port number to use for connection or 0 for default to, in ++ order of preference, my.cnf, $MYSQL_TCP_PORT, ++ /etc/services, built-in default (3306). ++ --progress-reports Get progress reports for long running commands (like ++ ALTER TABLE) ++ (Defaults to on; use --skip-progress-reports to disable.) ++ --prompt=name Set the command line prompt to this value. ++ --protocol=name The protocol to use for connection (tcp, socket, pipe). ++ -q, --quick Don't cache result, print it row by row. This may slow ++ down the server if the output is suspended. Doesn't use ++ history file. ++ -r, --raw Write fields without conversion. Used with --batch. ++ --reconnect Reconnect if the connection is lost. Disable with ++ --disable-reconnect. This option is enabled by default. ++ (Defaults to on; use --skip-reconnect to disable.) ++ -s, --silent Be more silent. Print results with a tab as separator, ++ each row on new line. ++ -S, --socket=name The socket file to use for connection. ++ --ssl Enable SSL for connection (automatically enabled with ++ other flags). ++ (Defaults to on; use --skip-ssl to disable.) ++ --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies ++ --ssl). ++ --ssl-capath=name CA directory (check OpenSSL docs, implies --ssl). ++ --ssl-cert=name X509 cert in PEM format (implies --ssl). ++ --ssl-cipher=name SSL cipher to use (implies --ssl). ++ --ssl-key=name X509 key in PEM format (implies --ssl). ++ --ssl-crl=name Certificate revocation list (implies --ssl). ++ --ssl-crlpath=name Certificate revocation list path (implies --ssl). ++ --tls-version=name TLS protocol version for secure connection. ++ --ssl-verify-server-cert ++ Verify server's "Common Name" in its cert against ++ hostname used when connecting. This option is disabled by ++ default. ++ -t, --table Output in table format. ++ --tee=name Append everything into outfile. See interactive help (\h) ++ also. Does not work in batch mode. Disable with ++ --disable-tee. This option is disabled by default. ++ -u, --user=name User for login if not current user. ++ -U, --safe-updates Only allow UPDATE and DELETE that uses keys. ++ -U, --i-am-a-dummy Synonym for option --safe-updates, -U. ++ -v, --verbose Write more. (-v -v -v gives the table output format). ++ -V, --version Output version information and exit. ++ -w, --wait Wait and retry if connection is down. ++ --connect-timeout=# Number of seconds before connection timeout. ++ --max-allowed-packet=# ++ The maximum packet length to send to or receive from ++ server. ++ --net-buffer-length=# ++ The buffer size for TCP/IP and socket communication. ++ --select-limit=# Automatic limit for SELECT when using --safe-updates. ++ --max-join-size=# Automatic limit for rows in a join when using ++ --safe-updates. ++ --secure-auth Refuse client connecting to server if it uses old ++ (pre-4.1.1) protocol. ++ --server-arg=name Send embedded server this as a parameter. ++ --show-warnings Show warnings after every statement. ++ --plugin-dir=name Directory for client-side plugins. ++ --default-auth=name Default authentication client-side plugin to use. ++ --binary-mode Binary mode allows certain character sequences to be ++ processed as data that would otherwise be treated with a ++ special meaning by the parser. Specifically, this switch ++ turns off parsing of all client commands except \C and ++ DELIMITER in non-interactive mode (i.e., when binary mode ++ is combined with either 1) piped input, 2) the --batch ++ mysql option, or 3) the 'source' command). Also, in ++ binary mode, occurrences of '\r\n' and ASCII '\0' are ++ preserved within strings, whereas by default, '\r\n' is ++ translated to '\n' and '\0' is disallowed in user input. ++ --connect-expired-password ++ Notify the server that this client is prepared to handle ++ expired password sandbox mode even if --batch was ++ specified. ++ ++Variables (--variable-name=value) ++and boolean options {FALSE|TRUE} Value (after reading options) ++--------------------------------- ---------------------------------------- ++abort-source-on-error FALSE ++auto-rehash TRUE ++auto-vertical-output FALSE ++binary-as-hex FALSE ++character-sets-dir (No default value) ++column-type-info FALSE ++comments FALSE ++compress FALSE ++debug-check FALSE ++debug-info FALSE ++database (No default value) ++default-character-set auto ++delimiter ; ++vertical FALSE ++force FALSE ++named-commands FALSE ++ignore-spaces FALSE ++init-command (No default value) ++local-infile FALSE ++no-beep FALSE ++host (No default value) ++html FALSE ++xml FALSE ++line-numbers TRUE ++unbuffered FALSE ++column-names TRUE ++sigint-ignore FALSE ++port 0 ++progress-reports TRUE ++prompt \N [\d]> ++protocol ++quick FALSE ++raw FALSE ++reconnect TRUE ++socket /run/mysqld/mysqld.sock ++ssl TRUE ++ssl-ca (No default value) ++ssl-capath (No default value) ++ssl-cert (No default value) ++ssl-cipher (No default value) ++ssl-key (No default value) ++ssl-crl (No default value) ++ssl-crlpath (No default value) ++tls-version (No default value) ++ssl-verify-server-cert FALSE ++table FALSE ++user (No default value) ++safe-updates FALSE ++i-am-a-dummy FALSE ++connect-timeout 0 ++max-allowed-packet 16777216 ++net-buffer-length 16384 ++select-limit 1000 ++max-join-size 1000000 ++secure-auth FALSE ++show-warnings FALSE ++plugin-dir (No default value) ++default-auth (No default value) ++binary-mode FALSE ++connect-expired-password FALSE diff --cc debian/tests/traces/mariadbd-print-defaults.expected index 000000000,000000000..b03f25737 new file mode 100644 --- /dev/null +++ b/debian/tests/traces/mariadbd-print-defaults.expected @@@ -1,0 -1,0 +1,2 @@@ ++/usr/sbin/mariadbd would have been started with the following arguments: ++--socket=/run/mysqld/mysqld.sock --pid-file=/run/mysqld/mysqld.pid --basedir=/usr --bind-address=127.0.0.1 --expire_logs_days=10 --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci diff --cc debian/tests/traces/mariadbd-verbose-help.expected index 000000000,000000000..6b4206e38 new file mode 100644 --- /dev/null +++ b/debian/tests/traces/mariadbd-verbose-help.expected @@@ -1,0 -1,0 +1,3093 @@@ ++Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. ++ ++Starts the MariaDB database server. ++ ++Usage: /usr/sbin/mariadbd [OPTIONS] ++ ++Default options are read from the following files in the given order: ++/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf ++The following groups are read: mysqld server mysqld-10.11 mariadb mariadb-10.11 mariadbd mariadbd-10.11 client-server galera ++The following options may be given as the first argument: ++--print-defaults Print the program argument list and exit. ++--no-defaults Don't read default options from any option file. ++The following specify which files/extra groups are read (specified before remaining options): ++--defaults-file=# Only read default options from the given file #. ++--defaults-extra-file=# Read this file after the global files are read. ++--defaults-group-suffix=# Additionally read default groups with # appended as a suffix. ++ ++ --allow-suspicious-udfs ++ Allows use of user-defined functions (UDFs) consisting of ++ only one symbol xxx() without corresponding xxx_init() or ++ xxx_deinit(). That also means that one can load any ++ function from any library, for example exit() from ++ libc.so ++ --alter-algorithm[=name] ++ Specify the alter table algorithm. One of: DEFAULT, COPY, ++ INPLACE, NOCOPY, INSTANT ++ --analyze-sample-percentage=# ++ Percentage of rows from the table ANALYZE TABLE will ++ sample to collect table statistics. Set to 0 to let ++ MariaDB decide what percentage of rows to sample. ++ -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode ++ will also set transaction isolation level 'serializable'. ++ --aria-block-size=# Block size to be used for Aria index pages. ++ --aria-checkpoint-interval=# ++ Interval between tries to do an automatic checkpoints. In ++ seconds; 0 means 'no automatic checkpoints' which makes ++ sense only for testing. ++ --aria-checkpoint-log-activity=# ++ Number of bytes that the transaction log has to grow ++ between checkpoints before a new checkpoint is written to ++ the log. ++ --aria-encrypt-tables ++ Encrypt tables (only for tables with ROW_FORMAT=PAGE ++ (default) and not FIXED/DYNAMIC) ++ --aria-force-start-after-recovery-failures=# ++ Number of consecutive log recovery failures after which ++ logs will be automatically deleted to cure the problem; 0 ++ (the default) disables the feature. ++ --aria-group-commit=name ++ Specifies Aria group commit mode. Possible values are ++ "none" (no group commit), "hard" (with waiting to actual ++ commit), "soft" (no wait for commit (DANGEROUS!!!)) ++ --aria-group-commit-interval=# ++ Interval between commits in microseconds (1/1000000 sec). ++ 0 stands for no waiting for other threads to come and do ++ a commit in "hard" mode and no sync()/commit at all in ++ "soft" mode. Option has only an effect if ++ aria_group_commit is used ++ --aria-log-dir-path=name ++ Path to the directory where to store transactional log ++ --aria-log-file-size=# ++ Limit for transaction log size ++ --aria-log-purge-type=name ++ Specifies how Aria transactional log will be purged. One ++ of: immediate, external, at_flush ++ --aria-max-sort-file-size=# ++ Don't use the fast sort index method to created index if ++ the temporary file would get bigger than this. ++ --aria-page-checksum ++ Maintain page checksums (can be overridden per table with ++ PAGE_CHECKSUM clause in CREATE TABLE) ++ (Defaults to on; use --skip-aria-page-checksum to disable.) ++ --aria-pagecache-age-threshold=# ++ This characterizes the number of hits a hot block has to ++ be untouched until it is considered aged enough to be ++ downgraded to a warm block. This specifies the percentage ++ ratio of that number of hits to the total number of ++ blocks in the page cache. ++ --aria-pagecache-buffer-size=# ++ The size of the buffer used for index blocks for Aria ++ tables. Increase this to get better index handling (for ++ all reads and multiple writes) to as much as you can ++ afford. ++ --aria-pagecache-division-limit=# ++ The minimum percentage of warm blocks in key cache ++ --aria-pagecache-file-hash-size=# ++ Number of hash buckets for open and changed files. If ++ you have a lot of Aria files open you should increase ++ this for faster flush of changes. A good value is ++ probably 1/10 of number of possible open Aria files. ++ --aria-recover-options[=name] ++ Specifies how corrupted tables should be automatically ++ repaired. Any combination of: NORMAL, BACKUP, FORCE, ++ QUICK, OFF ++ --aria-repair-threads=# ++ Number of threads to use when repairing Aria tables. The ++ value of 1 disables parallel repair. ++ --aria-sort-buffer-size=# ++ The buffer that is allocated when sorting the index when ++ doing a REPAIR or when creating indexes with CREATE INDEX ++ or ALTER TABLE. ++ --aria-stats-method=name ++ Specifies how Aria index statistics collection code ++ should treat NULLs. One of: nulls_unequal, nulls_equal, ++ nulls_ignored ++ --aria-sync-log-dir=name ++ Controls syncing directory after log file growth and new ++ file creation. One of: NEVER, NEWFILE, ALWAYS ++ --auto-increment-increment[=#] ++ Auto-increment columns are incremented by this ++ --auto-increment-offset[=#] ++ Offset added to Auto-increment columns. Used when ++ auto-increment-increment != 1 ++ --autocommit Set default value for autocommit (0 or 1) ++ (Defaults to on; use --skip-autocommit to disable.) ++ --automatic-sp-privileges ++ Creating and dropping stored procedures alters ACLs ++ (Defaults to on; use --skip-automatic-sp-privileges to disable.) ++ --back-log=# The number of outstanding connection requests MariaDB can ++ have. This comes into play when the main MariaDB thread ++ gets very many connection requests in a very short time ++ (Automatically configured unless set explicitly) ++ -b, --basedir=name Path to installation directory. All paths are usually ++ resolved relative to this ++ --big-tables Old variable, which if set to 1, allows large result sets ++ by saving all temporary sets to disk, avoiding 'table ++ full' errors. No longer needed, as the server now handles ++ this automatically. ++ --bind-address=name IP address to bind to. Several addresses may be ++ specified, separated by a comma (,). ++ --binlog-alter-two-phase ++ When set, split ALTER at binary logging into 2 ++ statements: START ALTER and COMMIT/ROLLBACK ALTER ++ --binlog-annotate-row-events ++ Tells the master to annotate RBR events with the ++ statement that caused these events ++ (Defaults to on; use --skip-binlog-annotate-row-events to disable.) ++ --binlog-cache-size=# ++ The size of the transactional cache for updates to ++ transactional engines for the binary log. If you often ++ use transactions containing many statements, you can ++ increase this to get more performance ++ --binlog-checksum=name ++ Type of BINLOG_CHECKSUM_ALG. Include checksum for log ++ events in the binary log. One of: NONE, CRC32 ++ --binlog-commit-wait-count=# ++ If non-zero, binlog write will wait at most ++ binlog_commit_wait_usec microseconds for at least this ++ many commits to queue up for group commit to the binlog. ++ This can reduce I/O on the binlog and provide increased ++ opportunity for parallel apply on the slave, but too high ++ a value will decrease commit throughput. ++ --binlog-commit-wait-usec=# ++ Maximum time, in microseconds, to wait for more commits ++ to queue up for binlog group commit. Only takes effect if ++ the value of binlog_commit_wait_count is non-zero. ++ --binlog-direct-non-transactional-updates ++ Causes updates to non-transactional engines using ++ statement format to be written directly to binary log. ++ Before using this option make sure that there are no ++ dependencies between transactional and non-transactional ++ tables such as in the statement INSERT INTO t_myisam ++ SELECT * FROM t_innodb; otherwise, slaves may diverge ++ from the master. ++ --binlog-do-db=name Tells the master it should log updates for the specified ++ database, and exclude all others not explicitly ++ mentioned. ++ --binlog-expire-logs-seconds=# ++ If non-zero, binary logs will be purged after ++ binlog_expire_logs_seconds seconds; It and ++ expire_logs_days are linked, such that changes in one are ++ converted into the other. Possible purges happen at ++ startup and at binary log rotation. ++ --binlog-file-cache-size=# ++ The size of file cache for the binary log ++ --binlog-format=name ++ What form of binary logging the master will use: either ++ ROW for row-based binary logging, STATEMENT for ++ statement-based binary logging, or MIXED. MIXED is ++ statement-based binary logging except for those ++ statements where only row-based is correct: those which ++ involve user-defined functions (i.e. UDFs) or the UUID() ++ function; for those, row-based binary logging is ++ automatically used. ++ --binlog-ignore-db=name ++ Tells the master that updates to the given database ++ should not be logged to the binary log. ++ --binlog-optimize-thread-scheduling ++ Run fast part of group commit in a single thread, to ++ optimize kernel thread scheduling. On by default. Disable ++ to run each transaction in group commit in its own ++ thread, which can be slower at very high concurrency. ++ This option is mostly for testing one algorithm versus ++ the other, and it should not normally be necessary to ++ change it. ++ (Defaults to on; use --skip-binlog-optimize-thread-scheduling to disable.) ++ --binlog-row-event-max-size=# ++ The maximum size of a row-based binary log event in ++ bytes. Rows will be grouped into events smaller than this ++ size if possible. The value has to be a multiple of 256. ++ --binlog-row-image=name ++ Controls whether rows should be logged in 'FULL', ++ 'NOBLOB' or 'MINIMAL' formats. 'FULL', means that all ++ columns in the before and after image are logged. ++ 'NOBLOB', means that mysqld avoids logging blob columns ++ whenever possible (eg, blob column was not changed or is ++ not part of primary key). 'MINIMAL', means that a PK ++ equivalent (PK columns or full row if there is no PK in ++ the table) is logged in the before image, and only ++ changed columns are logged in the after image. (Default: ++ FULL). ++ --binlog-row-metadata=name ++ Controls whether metadata is logged using FULL , MINIMAL ++ format and NO_LOG.FULL causes all metadata to be logged; ++ MINIMAL means that only metadata actually required by ++ slave is logged; NO_LOG NO metadata will be ++ logged.Default: NO_LOG. ++ --binlog-stmt-cache-size=# ++ The size of the statement cache for updates to ++ non-transactional engines for the binary log. If you ++ often use statements updating a great number of rows, you ++ can increase this to get more performance. ++ --bootstrap Used by mysql installation scripts. ++ --bulk-insert-buffer-size=# ++ Size of tree cache used in bulk insert optimisation. Note ++ that this is a limit per thread! ++ --character-set-client-handshake ++ Don't ignore client side character set value sent during ++ handshake. ++ (Defaults to on; use --skip-character-set-client-handshake to disable.) ++ --character-set-filesystem=name ++ Set the filesystem character set. ++ -C, --character-set-server=name ++ Set the default character set. ++ --character-sets-dir=name ++ Directory where character sets are ++ -r, --chroot=name Chroot mysqld daemon during startup. ++ --collation-server=name ++ Set the default collation. ++ --column-compression-threshold=# ++ Minimum column data length eligible for compression ++ --column-compression-zlib-level=# ++ zlib compression level (1 gives best speed, 9 gives best ++ compression) ++ --column-compression-zlib-strategy=name ++ The strategy parameter is used to tune the compression ++ algorithm. Use the value DEFAULT_STRATEGY for normal ++ data, FILTERED for data produced by a filter (or ++ predictor), HUFFMAN_ONLY to force Huffman encoding only ++ (no string match), or RLE to limit match distances to one ++ (run-length encoding). Filtered data consists mostly of ++ small values with a somewhat random distribution. In this ++ case, the compression algorithm is tuned to compress them ++ better. The effect of FILTERED is to force more Huffman ++ coding and less string matching; it is somewhat ++ intermediate between DEFAULT_STRATEGY and HUFFMAN_ONLY. ++ RLE is designed to be almost as fast as HUFFMAN_ONLY, but ++ give better compression for PNG image data. The strategy ++ parameter only affects the compression ratio but not the ++ correctness of the compressed output even if it is not ++ set appropriately. FIXED prevents the use of dynamic ++ Huffman codes, allowing for a simpler decoder for special ++ applications. ++ --column-compression-zlib-wrap ++ Generate zlib header and trailer and compute adler32 ++ check value. It can be used with storage engines that ++ don't provide data integrity verification to detect data ++ corruption. ++ --completion-type=name ++ The transaction completion type. One of: NO_CHAIN, CHAIN, ++ RELEASE ++ --concurrent-insert[=name] ++ Use concurrent insert with MyISAM. One of: NEVER, AUTO, ++ ALWAYS ++ --connect-timeout=# The number of seconds the mysqld server is waiting for a ++ connect packet before responding with 'Bad handshake' ++ --console Write error output on screen; don't remove the console ++ window on windows. ++ --core-file Write core on crashes ++ -h, --datadir=name Path to the database root directory ++ --date-format=name The DATE format (ignored) ++ --datetime-format=name ++ The DATETIME format (ignored) ++ --deadlock-search-depth-long=# ++ Long search depth for the two-step deadlock detection ++ --deadlock-search-depth-short=# ++ Short search depth for the two-step deadlock detection ++ --deadlock-timeout-long=# ++ Long timeout for the two-step deadlock detection (in ++ microseconds) ++ --deadlock-timeout-short=# ++ Short timeout for the two-step deadlock detection (in ++ microseconds) ++ -#, --debug[=name] Built in DBUG debugger. Disabled in this build. ++ --debug-abort-slave-event-count=# ++ Option used by mysql-test for debugging and testing of ++ replication. ++ --debug-disconnect-slave-event-count=# ++ Option used by mysql-test for debugging and testing of ++ replication. ++ -T, --debug-exit-info[=#] ++ Used for debugging. Use at your own risk. ++ --debug-gdb Set up signals usable for debugging. ++ --debug-max-binlog-dump-events=# ++ Option used by mysql-test for debugging and testing of ++ replication. ++ --debug-no-sync Disables system sync calls. Only for running tests or ++ debugging! ++ --debug-no-thread-alarm ++ Disable system thread alarm calls. Disabling it may be ++ useful in debugging or testing, never do it in production ++ --debug-sporadic-binlog-dump-fail ++ Option used by mysql-test for debugging and testing of ++ replication. ++ --default-password-lifetime=# ++ This defines the global password expiration policy. 0 ++ means automatic password expiration is disabled. If the ++ value is a positive integer N, the passwords must be ++ changed every N days. This behavior can be overridden ++ using the password expiration options in ALTER USER. ++ --default-regex-flags=name ++ Default flags for the regex library. Any combination of: ++ DOTALL, DUPNAMES, EXTENDED, EXTENDED_MORE, EXTRA, ++ MULTILINE, UNGREEDY ++ --default-storage-engine=name ++ The default storage engine for new tables ++ --default-time-zone=name ++ Set the default time zone. ++ --default-tmp-storage-engine=name ++ The default storage engine for user-created temporary ++ tables ++ --default-week-format=# ++ The default week format used by WEEK() functions ++ --delay-key-write[=name] ++ Specifies how MyISAM tables handles CREATE TABLE ++ DELAY_KEY_WRITE. If set to ON, the default, any DELAY KEY ++ WRITEs are honored. The key buffer is then flushed only ++ when the table closes, speeding up writes. MyISAM tables ++ should be automatically checked upon startup in this ++ case, and --external locking should not be used, as it ++ can lead to index corruption. If set to OFF, DELAY KEY ++ WRITEs are ignored, while if set to ALL, all new opened ++ tables are treated as if created with DELAY KEY WRITEs ++ enabled. ++ --delayed-insert-limit=# ++ After inserting delayed_insert_limit rows, the INSERT ++ DELAYED handler will check if there are any SELECT ++ statements pending. If so, it allows these to execute ++ before continuing. ++ --delayed-insert-timeout=# ++ How long a INSERT DELAYED thread should wait for INSERT ++ statements before terminating ++ --delayed-queue-size=# ++ What size queue (in rows) should be allocated for ++ handling INSERT DELAYED. If the queue becomes full, any ++ client that does INSERT DELAYED will wait until there is ++ room in the queue again ++ --des-key-file=name Load keys for des_encrypt() and des_encrypt from given ++ file. ++ --disconnect-on-expired-password ++ This variable controls how the server handles clients ++ that are not aware of the sandbox mode. If enabled, the ++ server disconnects the client, otherwise the server puts ++ the client in a sandbox mode. ++ --div-precision-increment=# ++ Precision of the result of '/' operator will be increased ++ on that value ++ --encrypt-binlog Encrypt binary logs (including relay logs) ++ --encrypt-tmp-disk-tables ++ Encrypt temporary on-disk tables (created as part of ++ query execution) ++ --encrypt-tmp-files Encrypt temporary files (created for filesort, binary log ++ cache, etc) ++ --enforce-storage-engine=name ++ Force the use of a storage engine for new tables ++ --eq-range-index-dive-limit=# ++ The optimizer will use existing index statistics instead ++ of doing index dives for equality ranges if the number of ++ equality ranges for the index is larger than or equal to ++ this number. If set to 0, index dives are always used. ++ --event-scheduler[=name] ++ Enable the event scheduler. Possible values are ON, OFF, ++ and DISABLED (keep the event scheduler completely ++ deactivated, it cannot be activated run-time) ++ --expensive-subquery-limit=# ++ The maximum number of rows a subquery may examine in ++ order to be executed during optimization and used for ++ constant optimization ++ --expire-logs-days=# ++ If non-zero, binary logs will be purged after ++ expire_logs_days days; It and binlog_expire_logs_seconds ++ are linked, such that changes in one are converted into ++ the other, presentable as a decimal value with 1/1000000 ++ of the day precision; possible purges happen at startup ++ and at binary log rotation ++ --explicit-defaults-for-timestamp ++ This option causes CREATE TABLE to create all TIMESTAMP ++ columns as NULL with DEFAULT NULL attribute, Without this ++ option, TIMESTAMP columns are NOT NULL and have implicit ++ DEFAULT clauses. ++ (Defaults to on; use --skip-explicit-defaults-for-timestamp to disable.) ++ --external-locking Use system (external) locking (disabled by default). ++ With this option enabled you can run myisamchk to test ++ (not repair) tables while the MySQL server is running. ++ Disable with --skip-external-locking. ++ --extra-max-connections=# ++ The number of connections on extra-port ++ --extra-port=# Extra port number to use for tcp connections in a ++ one-thread-per-connection manner. 0 means don't use ++ another port ++ --feedback[=name] Enable or disable FEEDBACK plugin. One of: ON, OFF, FORCE ++ (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --feedback-http-proxy=name ++ Proxy server host:port. ++ --feedback-send-retry-wait=# ++ Wait this many seconds before retrying a failed send. ++ --feedback-send-timeout=# ++ Timeout (in seconds) for the sending the report. ++ --feedback-url=name Space separated URLs to send the feedback report to. ++ --feedback-user-info=name ++ User specified string that will be included in the ++ feedback report. ++ --flashback Setup the server to use flashback. This enables binary ++ log in row mode and will enable extra logging for DDL's ++ needed by flashback feature ++ --flush Flush MyISAM tables to disk between SQL commands ++ --flush-time=# A dedicated thread is created to flush all tables at the ++ given interval ++ --ft-boolean-syntax=name ++ List of operators for MATCH ... AGAINST ( ... IN BOOLEAN ++ MODE) ++ --ft-max-word-len=# The maximum length of the word to be included in a ++ FULLTEXT index. Note: FULLTEXT indexes must be rebuilt ++ after changing this variable ++ --ft-min-word-len=# The minimum length of the word to be included in a ++ FULLTEXT index. Note: FULLTEXT indexes must be rebuilt ++ after changing this variable ++ --ft-query-expansion-limit=# ++ Number of best matches to use for query expansion ++ --ft-stopword-file=name ++ Use stopwords from this file instead of built-in list ++ --gdb Set up signals usable for debugging. Deprecated, use ++ --debug-gdb instead. ++ --general-log Log connections and queries to a table or log file. ++ Defaults logging to a file 'hostname'.log or a table ++ mysql.general_logif --log-output=TABLE is used. ++ --general-log-file=name ++ Log connections and queries to given file ++ --getopt-prefix-matching ++ Recognize command-line options by their unambiguos ++ prefixes. ++ (Defaults to on; use --skip-getopt-prefix-matching to disable.) ++ --group-concat-max-len=# ++ The maximum length of the result of function ++ GROUP_CONCAT() ++ --gtid-cleanup-batch-size=# ++ Normally does not need tuning. How many old rows must ++ accumulate in the mysql.gtid_slave_pos table before a ++ background job will be run to delete them. Can be ++ increased to reduce number of commits if using many ++ different engines with --gtid_pos_auto_engines, or to ++ reduce CPU overhead if using a huge number of different ++ gtid_domain_ids. Can be decreased to reduce number of old ++ rows in the table. ++ --gtid-domain-id=# Used with global transaction ID to identify logically ++ independent replication streams. When events can ++ propagate through multiple parallel paths (for example ++ multiple masters), each independent source server must ++ use a distinct domain_id. For simple tree-shaped ++ replication topologies, it can be left at its default, 0. ++ --gtid-ignore-duplicates ++ When set, different master connections in multi-source ++ replication are allowed to receive and process event ++ groups with the same GTID (when using GTID mode). Only ++ one will be applied, any others will be ignored. Within a ++ given replication domain, just the sequence number will ++ be used to decide whether a given GTID has been already ++ applied; this means it is the responsibility of the user ++ to ensure that GTID sequence numbers are strictly ++ increasing. ++ --gtid-pos-auto-engines=name ++ List of engines for which to automatically create a ++ mysql.gtid_slave_pos_ENGINE table, if a transaction using ++ that engine is replicated. This can be used to avoid ++ introducing cross-engine transactions, if engines are ++ used different from that used by table ++ mysql.gtid_slave_pos ++ --gtid-strict-mode Enforce strict seq_no ordering of events in the binary ++ log. Slave stops with an error if it encounters an event ++ that would cause it to generate an out-of-order binlog if ++ executed. When ON the same server-id semisync-replicated ++ transactions that duplicate existing ones in binlog are ++ ignored without error and slave interruption. ++ -?, --help Display this help and exit. ++ --histogram-size=# Number of bytes used for a histogram. If set to 0, no ++ histograms are created by ANALYZE. ++ --histogram-type=name ++ Specifies type of the histograms created by ANALYZE. ++ Possible values are: SINGLE_PREC_HB - single precision ++ height-balanced, DOUBLE_PREC_HB - double precision ++ height-balanced, JSON_HB - height-balanced, stored as ++ JSON. ++ --host-cache-size=# How many host names should be cached to avoid resolving. ++ (Automatically configured unless set explicitly) ++ --idle-readonly-transaction-timeout=# ++ The number of seconds the server waits for read-only idle ++ transaction ++ --idle-transaction-timeout=# ++ The number of seconds the server waits for idle ++ transaction ++ --idle-write-transaction-timeout=# ++ The number of seconds the server waits for write idle ++ transaction ++ --ignore-builtin-innodb ++ Disable initialization of builtin InnoDB plugin ++ --ignore-db-dirs=name ++ Specifies a directory to add to the ignore list when ++ collecting database names from the datadir. Put a blank ++ argument to reset the list accumulated so far. ++ --in-predicate-conversion-threshold=# ++ The minimum number of scalar elements in the value list ++ of IN predicate that triggers its conversion to IN ++ subquery. Set to 0 to disable the conversion. ++ --init-connect=name Command(s) that are executed for each new connection ++ (unless the user has SUPER privilege) ++ --init-file=name Read SQL commands from this file at startup ++ --init-rpl-role=name ++ Set the replication role. One of: MASTER, SLAVE ++ --init-slave=name Command(s) that are executed by a slave server each time ++ the SQL thread starts ++ --innodb[=name] Enable or disable InnoDB plugin. One of: ON, OFF, FORCE ++ (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-adaptive-flushing ++ Attempt flushing dirty pages to avoid IO bursts at ++ checkpoints. ++ (Defaults to on; use --skip-innodb-adaptive-flushing to disable.) ++ --innodb-adaptive-flushing-lwm=# ++ Percentage of log capacity below which no adaptive ++ flushing happens. ++ --innodb-adaptive-hash-index ++ Enable InnoDB adaptive hash index (disabled by default). ++ --innodb-adaptive-hash-index-parts[=#] ++ Number of InnoDB Adaptive Hash Index Partitions (default ++ 8) ++ --innodb-autoextend-increment=# ++ Data file autoextend increment in megabytes ++ --innodb-autoinc-lock-mode=# ++ The AUTOINC lock modes supported by InnoDB: 0 => Old ++ style AUTOINC locking (for backward compatibility); 1 => ++ New style AUTOINC locking; 2 => No AUTOINC locking ++ (unsafe for SBR) ++ --innodb-buf-dump-status-frequency=# ++ A number between [0, 100] that tells how oftern buffer ++ pool dump status in percentages should be printed. E.g. ++ 10 means that buffer pool dump status is printed when ++ every 10% of number of buffer pool pages are dumped. ++ Default is 0 (only start and end status is printed). ++ --innodb-buffer-page[=name] ++ Enable or disable INNODB_BUFFER_PAGE plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-buffer-page-lru[=name] ++ Enable or disable INNODB_BUFFER_PAGE_LRU plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-buffer-pool-chunk-size=# ++ Size of a single memory chunk for resizing buffer pool. ++ Online buffer pool resizing happens at this granularity. ++ 0 means autosize this variable based on buffer pool size. ++ --innodb-buffer-pool-dump-at-shutdown ++ Dump the buffer pool into a file named ++ @@innodb_buffer_pool_filename ++ (Defaults to on; use --skip-innodb-buffer-pool-dump-at-shutdown to disable.) ++ --innodb-buffer-pool-dump-now ++ Trigger an immediate dump of the buffer pool into a file ++ named @@innodb_buffer_pool_filename ++ --innodb-buffer-pool-dump-pct=# ++ Dump only the hottest N% of each buffer pool, defaults to ++ 25 ++ --innodb-buffer-pool-filename=name ++ Filename to/from which to dump/load the InnoDB buffer ++ pool ++ --innodb-buffer-pool-load-abort ++ Abort a currently running load of the buffer pool ++ --innodb-buffer-pool-load-at-startup ++ Load the buffer pool from a file named ++ @@innodb_buffer_pool_filename ++ (Defaults to on; use --skip-innodb-buffer-pool-load-at-startup to disable.) ++ --innodb-buffer-pool-load-now ++ Trigger an immediate load of the buffer pool from a file ++ named @@innodb_buffer_pool_filename ++ --innodb-buffer-pool-size=# ++ The size of the memory buffer InnoDB uses to cache data ++ and indexes of its tables. ++ --innodb-buffer-pool-stats[=name] ++ Enable or disable INNODB_BUFFER_POOL_STATS plugin. One ++ of: ON, OFF, FORCE (don't start if the plugin fails to ++ load), FORCE_PLUS_PERMANENT (like FORCE, but the plugin ++ can not be uninstalled). ++ --innodb-change-buffer-max-size=# ++ Maximum on-disk size of change buffer in terms of ++ percentage of the buffer pool. ++ --innodb-change-buffering=name ++ Buffer changes to secondary indexes.. One of: none, ++ inserts, deletes, changes, purges, all ++ --innodb-checksum-algorithm=name ++ The algorithm InnoDB uses for page checksumming. Possible ++ values are FULL_CRC32 for new files, always use CRC-32C; ++ for old, see CRC32 below; STRICT_FULL_CRC32 for new ++ files, always use CRC-32C; for old, see STRICT_CRC32 ++ below; CRC32 write crc32, allow any of the other ++ checksums to match when reading; STRICT_CRC32 write ++ crc32, do not allow other algorithms to match when ++ reading; INNODB write a software calculated checksum, ++ allow any other checksums to match when reading; ++ STRICT_INNODB write a software calculated checksum, do ++ not allow other algorithms to match when reading; NONE ++ write a constant magic number, do not do any checksum ++ verification when reading; STRICT_NONE write a constant ++ magic number, do not allow values other than that magic ++ number when reading; Files updated when this option is ++ set to crc32 or strict_crc32 will not be readable by ++ MariaDB versions older than 10.0.4; new files created ++ with full_crc32 are readable by MariaDB 10.4.3+ ++ --innodb-cmp[=name] Enable or disable INNODB_CMP plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-cmp-per-index[=name] ++ Enable or disable INNODB_CMP_PER_INDEX plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-cmp-per-index-enabled ++ Enable INFORMATION_SCHEMA.innodb_cmp_per_index, may have ++ negative impact on performance (off by default) ++ --innodb-cmp-per-index-reset[=name] ++ Enable or disable INNODB_CMP_PER_INDEX_RESET plugin. One ++ of: ON, OFF, FORCE (don't start if the plugin fails to ++ load), FORCE_PLUS_PERMANENT (like FORCE, but the plugin ++ can not be uninstalled). ++ --innodb-cmp-reset[=name] ++ Enable or disable INNODB_CMP_RESET plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-cmpmem[=name] ++ Enable or disable INNODB_CMPMEM plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-cmpmem-reset[=name] ++ Enable or disable INNODB_CMPMEM_RESET plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-compression-algorithm[=name] ++ Compression algorithm used on page compression. One of: ++ none, zlib, lz4, lzo, lzma, bzip2, or snappy ++ --innodb-compression-default ++ Is compression the default for new tables ++ --innodb-compression-failure-threshold-pct[=#] ++ If the compression failure rate of a table is greater ++ than this number more padding is added to the pages to ++ reduce the failures. A value of zero implies no padding ++ --innodb-compression-level=# ++ Compression level used for zlib compression. 0 is no ++ compression, 1 is fastest, 9 is best compression and ++ default is 6. ++ --innodb-compression-pad-pct-max[=#] ++ Percentage of empty space on a data page that can be ++ reserved to make the page compressible. ++ --innodb-data-file-path=name ++ Path to individual files and their sizes. ++ --innodb-data-home-dir=name ++ The common part for InnoDB table spaces. ++ --innodb-deadlock-detect ++ Enable/disable InnoDB deadlock detector (default ON). if ++ set to OFF, deadlock detection is skipped, and we rely on ++ innodb_lock_wait_timeout in case of deadlock. ++ (Defaults to on; use --skip-innodb-deadlock-detect to disable.) ++ --innodb-deadlock-report=name ++ How to report deadlocks (if innodb_deadlock_detect=ON).. ++ One of: off, basic, full ++ --innodb-default-encryption-key-id=# ++ Default encryption key id used for table encryption. ++ --innodb-default-row-format=name ++ The default ROW FORMAT for all innodb tables created ++ without explicit ROW_FORMAT. Possible values are ++ REDUNDANT, COMPACT, and DYNAMIC. The ROW_FORMAT value ++ COMPRESSED is not allowed. One of: redundant, compact, ++ dynamic ++ --innodb-defragment Enable/disable InnoDB defragmentation (default FALSE). ++ When set to FALSE, all existing defragmentation will be ++ paused. And new defragmentation command will fail.Paused ++ defragmentation commands will resume when this variable ++ is set to true again. ++ --innodb-defragment-fill-factor=# ++ A number between [0.7, 1] that tells defragmentation how ++ full it should fill a page. Default is 0.9. Number below ++ 0.7 won't make much sense.This variable, together with ++ innodb_defragment_fill_factor_n_recs, is introduced so ++ defragmentation won't pack the page too full and cause ++ page split on the next insert on every page. The variable ++ indicating more defragmentation gain is the one ++ effective. ++ --innodb-defragment-fill-factor-n-recs=# ++ How many records of space defragmentation should leave on ++ the page. This variable, together with ++ innodb_defragment_fill_factor, is introduced so ++ defragmentation won't pack the page too full and cause ++ page split on the next insert on every page. The variable ++ indicating more defragmentation gain is the one ++ effective. ++ --innodb-defragment-frequency=# ++ Do not defragment a single index more than this number of ++ time per second.This controls the number of time ++ defragmentation thread can request X_LOCK on an index. ++ Defragmentation thread will check whether ++ 1/defragment_frequency (s) has passed since it worked on ++ this index last time, and put the index back to the queue ++ if not enough time has passed. The actual frequency can ++ only be lower than this given number. ++ --innodb-defragment-n-pages=# ++ Number of pages considered at once when merging multiple ++ pages to defragment ++ --innodb-defragment-stats-accuracy=# ++ How many defragment stats changes there are before the ++ stats are written to persistent storage. Set to 0 meaning ++ disable defragment stats tracking. ++ --innodb-disable-sort-file-cache ++ Whether to disable OS system file cache for sort I/O ++ --innodb-doublewrite ++ Enable InnoDB doublewrite buffer (enabled by default). ++ Disable with --skip-innodb-doublewrite. ++ (Defaults to on; use --skip-innodb-doublewrite to disable.) ++ --innodb-encrypt-log ++ Enable redo log encryption ++ --innodb-encrypt-tables[=name] ++ Enable encryption for tables. Don't forget to enable ++ --innodb-encrypt-log too. One of: OFF, ON, FORCE ++ --innodb-encrypt-temporary-tables ++ Enrypt the temporary table data. ++ --innodb-encryption-rotate-key-age=# ++ Key rotation - re-encrypt in background all pages that ++ were encrypted with a key that many (or more) versions ++ behind. Value 0 indicates that key rotation is disabled. ++ --innodb-encryption-rotation-iops=# ++ Use this many iops for background key rotation ++ --innodb-encryption-threads=# ++ Number of threads performing background key rotation ++ --innodb-fast-shutdown[=#] ++ Speeds up the shutdown process of the InnoDB storage ++ engine. Possible values are 0, 1 (faster), 2 ++ (crash-like), 3 (fastest clean). ++ --innodb-fatal-semaphore-wait-threshold=# ++ Maximum number of seconds that semaphore times out in ++ InnoDB. ++ --innodb-file-per-table ++ Stores each InnoDB table to an .ibd file in the database ++ dir. ++ (Defaults to on; use --skip-innodb-file-per-table to disable.) ++ --innodb-fill-factor=# ++ Percentage of B-tree page filled during bulk insert ++ --innodb-flush-log-at-timeout[=#] ++ Write and flush logs every (n) second. ++ --innodb-flush-log-at-trx-commit[=#] ++ Controls the durability/speed trade-off for commits. Set ++ to 0 (write and flush redo log to disk only once per ++ second), 1 (flush to disk at each commit), 2 (write to ++ log at commit but flush to disk only once per second) or ++ 3 (flush to disk at prepare and at commit, slower and ++ usually redundant). 1 and 3 guarantees that after a ++ crash, committed transactions will not be lost and will ++ be consistent with the binlog and other transactional ++ engines. 2 can get inconsistent and lose transactions if ++ there is a power failure or kernel crash but not if ++ mysqld crashes. 0 has no guarantees in case of crash. 0 ++ and 2 can be faster than 1 or 3. ++ --innodb-flush-method=name ++ With which method to flush data.. One of: fsync, O_DSYNC, ++ littlesync, nosync, O_DIRECT, O_DIRECT_NO_FSYNC ++ --innodb-flush-neighbors[=#] ++ Set to 0 (don't flush neighbors from buffer pool), 1 ++ (flush contiguous neighbors from buffer pool) or 2 (flush ++ neighbors from buffer pool), when flushing a block ++ --innodb-flush-sync Allow IO bursts at the checkpoints ignoring io_capacity ++ setting. ++ (Defaults to on; use --skip-innodb-flush-sync to disable.) ++ --innodb-flushing-avg-loops=# ++ Number of iterations over which the background flushing ++ is averaged. ++ --innodb-force-primary-key ++ Do not allow creating a table without primary key (off by ++ default) ++ --innodb-force-recovery=# ++ Helps to save your data in case the disk image of the ++ database becomes corrupt. Value 5 can return bogus data, ++ and 6 can permanently corrupt data. ++ --innodb-ft-aux-table=name ++ FTS internal auxiliary table to be checked ++ --innodb-ft-being-deleted[=name] ++ Enable or disable INNODB_FT_BEING_DELETED plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-ft-cache-size=# ++ InnoDB Fulltext search cache size in bytes ++ --innodb-ft-config[=name] ++ Enable or disable INNODB_FT_CONFIG plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-ft-default-stopword[=name] ++ Enable or disable INNODB_FT_DEFAULT_STOPWORD plugin. One ++ of: ON, OFF, FORCE (don't start if the plugin fails to ++ load), FORCE_PLUS_PERMANENT (like FORCE, but the plugin ++ can not be uninstalled). ++ --innodb-ft-deleted[=name] ++ Enable or disable INNODB_FT_DELETED plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-ft-enable-diag-print ++ Whether to enable additional FTS diagnostic printout ++ --innodb-ft-enable-stopword ++ Create FTS index with stopword. ++ (Defaults to on; use --skip-innodb-ft-enable-stopword to disable.) ++ --innodb-ft-index-cache[=name] ++ Enable or disable INNODB_FT_INDEX_CACHE plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-ft-index-table[=name] ++ Enable or disable INNODB_FT_INDEX_TABLE plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-ft-max-token-size=# ++ InnoDB Fulltext search maximum token size in characters ++ --innodb-ft-min-token-size=# ++ InnoDB Fulltext search minimum token size in characters ++ --innodb-ft-num-word-optimize[=#] ++ InnoDB Fulltext search number of words to optimize for ++ each optimize table call ++ --innodb-ft-result-cache-limit=# ++ InnoDB Fulltext search query result cache limit in bytes ++ --innodb-ft-server-stopword-table[=name] ++ The user supplied stopword table name. ++ --innodb-ft-sort-pll-degree=# ++ InnoDB Fulltext search parallel sort degree, will round ++ up to nearest power of 2 number ++ --innodb-ft-total-cache-size=# ++ Total memory allocated for InnoDB Fulltext Search cache ++ --innodb-ft-user-stopword-table[=name] ++ User supplied stopword table name, effective in the ++ session level. ++ --innodb-immediate-scrub-data-uncompressed ++ Enable scrubbing of data ++ --innodb-instant-alter-column-allowed=name ++ File format constraint for ALTER TABLE. One of: never, ++ add_last, add_drop_reorder ++ --innodb-io-capacity=# ++ Number of IOPs the server can do. Tunes the background IO ++ rate ++ --innodb-io-capacity-max=# ++ Limit to which innodb_io_capacity can be inflated. ++ --innodb-lock-wait-timeout=# ++ Timeout in seconds an InnoDB transaction may wait for a ++ lock before being rolled back. The value 100000000 is ++ infinite timeout. ++ --innodb-lock-waits[=name] ++ Enable or disable INNODB_LOCK_WAITS plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-locks[=name] ++ Enable or disable INNODB_LOCKS plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-log-buffer-size=# ++ Redo log buffer size in bytes. ++ --innodb-log-file-buffering ++ Whether the file system cache for ib_logfile0 is enabled ++ --innodb-log-file-size=# ++ Redo log size in bytes. ++ --innodb-log-group-home-dir=name ++ Path to ib_logfile0 ++ --innodb-lru-flush-size=# ++ How many pages to flush on LRU eviction ++ --innodb-lru-scan-depth=# ++ How deep to scan LRU to keep it clean ++ --innodb-max-dirty-pages-pct=# ++ Percentage of dirty pages allowed in bufferpool. ++ --innodb-max-dirty-pages-pct-lwm=# ++ Percentage of dirty pages at which flushing kicks in. The ++ value 0 (default) means 'refer to ++ innodb_max_dirty_pages_pct'. ++ --innodb-max-purge-lag=# ++ Desired maximum length of the purge queue (0 = no limit) ++ --innodb-max-purge-lag-delay=# ++ Maximum delay of user threads in micro-seconds ++ --innodb-max-purge-lag-wait=# ++ Wait until History list length is below the specified ++ limit ++ --innodb-max-undo-log-size[=#] ++ Desired maximum UNDO tablespace size in bytes ++ --innodb-metrics[=name] ++ Enable or disable INNODB_METRICS plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-monitor-disable=name ++ Turn off a monitor counter ++ --innodb-monitor-enable=name ++ Turn on a monitor counter ++ --innodb-monitor-reset=name ++ Reset a monitor counter ++ --innodb-monitor-reset-all=name ++ Reset all values for a monitor counter ++ --innodb-numa-interleave ++ Use NUMA interleave memory policy to allocate InnoDB ++ buffer pool. ++ --innodb-old-blocks-pct=# ++ Percentage of the buffer pool to reserve for 'old' ++ blocks. ++ --innodb-old-blocks-time=# ++ Move blocks to the 'new' end of the buffer pool if the ++ first access was at least this many milliseconds ago. The ++ timeout is disabled if 0. ++ --innodb-online-alter-log-max-size=# ++ Maximum modification log file size for online index ++ creation ++ --innodb-open-files=# ++ How many files at the maximum InnoDB keeps open at the ++ same time. ++ --innodb-optimize-fulltext-only ++ Only optimize the Fulltext index of the table ++ --innodb-page-size[=#] ++ Page size to use for all InnoDB tablespaces. ++ --innodb-prefix-index-cluster-optimization ++ Deprecated parameter with no effect ++ (Defaults to on; use --skip-innodb-prefix-index-cluster-optimization to disable.) ++ --innodb-print-all-deadlocks ++ Print all deadlocks to MariaDB error log (off by default) ++ --innodb-purge-batch-size[=#] ++ Number of UNDO log pages to purge in one batch from the ++ history list. ++ --innodb-purge-rseg-truncate-frequency[=#] ++ Dictates rate at which UNDO records are purged. Value N ++ means purge rollback segment(s) on every Nth iteration of ++ purge invocation ++ --innodb-purge-threads[=#] ++ Number of tasks for purging transaction history ++ --innodb-random-read-ahead ++ Whether to use read ahead for random access within an ++ extent. ++ --innodb-read-ahead-threshold=# ++ Number of pages that must be accessed sequentially for ++ InnoDB to trigger a readahead. ++ --innodb-read-io-threads=# ++ Number of background read I/O threads in InnoDB. ++ --innodb-read-only Start InnoDB in read only mode (off by default) ++ --innodb-read-only-compressed ++ Make ROW_FORMAT=COMPRESSED tables read-only ++ --innodb-rollback-on-timeout ++ Roll back the complete transaction on lock wait timeout, ++ for 4.x compatibility (disabled by default) ++ --innodb-sort-buffer-size=# ++ Memory buffer size for index creation ++ --innodb-spin-wait-delay[=#] ++ Maximum delay between polling for a spin lock (4 by ++ default) ++ --innodb-stats-auto-recalc ++ InnoDB automatic recalculation of persistent statistics ++ enabled for all tables unless overridden at table level ++ (automatic recalculation is only done when InnoDB decides ++ that the table has changed too much and needs a new ++ statistics) ++ (Defaults to on; use --skip-innodb-stats-auto-recalc to disable.) ++ --innodb-stats-include-delete-marked ++ Include delete marked records when calculating persistent ++ statistics ++ --innodb-stats-method=name ++ Specifies how InnoDB index statistics collection code ++ should treat NULLs. Possible values are NULLS_EQUAL ++ (default), NULLS_UNEQUAL and NULLS_IGNORED. One of: ++ nulls_equal, nulls_unequal, nulls_ignored ++ --innodb-stats-modified-counter=# ++ The number of rows modified before we calculate new ++ statistics (default 0 = current limits) ++ --innodb-stats-on-metadata ++ Enable statistics gathering for metadata commands such as ++ SHOW TABLE STATUS for tables that use transient ++ statistics (off by default) ++ --innodb-stats-persistent ++ InnoDB persistent statistics enabled for all tables ++ unless overridden at table level ++ (Defaults to on; use --skip-innodb-stats-persistent to disable.) ++ --innodb-stats-persistent-sample-pages=# ++ The number of leaf index pages to sample when calculating ++ persistent statistics (by ANALYZE, default 20) ++ --innodb-stats-traditional ++ Enable traditional statistic calculation based on number ++ of configured pages (default true) ++ (Defaults to on; use --skip-innodb-stats-traditional to disable.) ++ --innodb-stats-transient-sample-pages=# ++ The number of leaf index pages to sample when calculating ++ transient statistics (if persistent statistics are not ++ used, default 8) ++ --innodb-status-file ++ Enable SHOW ENGINE INNODB STATUS output in the ++ innodb_status. file ++ --innodb-status-output ++ Enable InnoDB monitor output to the error log. ++ --innodb-status-output-locks ++ Enable InnoDB lock monitor output to the error log. ++ Requires innodb_status_output=ON. ++ --innodb-strict-mode ++ Use strict mode when evaluating create options. ++ (Defaults to on; use --skip-innodb-strict-mode to disable.) ++ --innodb-sync-spin-loops=# ++ Count of spin-loop rounds in InnoDB mutexes (30 by ++ default) ++ --innodb-sys-columns[=name] ++ Enable or disable INNODB_SYS_COLUMNS plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-fields[=name] ++ Enable or disable INNODB_SYS_FIELDS plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-foreign[=name] ++ Enable or disable INNODB_SYS_FOREIGN plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-foreign-cols[=name] ++ Enable or disable INNODB_SYS_FOREIGN_COLS plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-indexes[=name] ++ Enable or disable INNODB_SYS_INDEXES plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-tables[=name] ++ Enable or disable INNODB_SYS_TABLES plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-tablespaces[=name] ++ Enable or disable INNODB_SYS_TABLESPACES plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-tablestats[=name] ++ Enable or disable INNODB_SYS_TABLESTATS plugin. One of: ++ ON, OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-sys-virtual[=name] ++ Enable or disable INNODB_SYS_VIRTUAL plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-table-locks ++ Enable InnoDB locking in LOCK TABLES ++ (Defaults to on; use --skip-innodb-table-locks to disable.) ++ --innodb-tablespaces-encryption[=name] ++ Enable or disable INNODB_TABLESPACES_ENCRYPTION plugin. ++ One of: ON, OFF, FORCE (don't start if the plugin fails ++ to load), FORCE_PLUS_PERMANENT (like FORCE, but the ++ plugin can not be uninstalled). ++ --innodb-temp-data-file-path=name ++ Path to files and their sizes making temp-tablespace. ++ --innodb-tmpdir[=name] ++ Directory for temporary non-tablespace files. ++ --innodb-trx[=name] Enable or disable INNODB_TRX plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --innodb-undo-directory=name ++ Directory where undo tablespace files live, this path can ++ be absolute. ++ --innodb-undo-log-truncate ++ Enable or Disable Truncate of UNDO tablespace. ++ --innodb-undo-tablespaces=# ++ Number of undo tablespaces to use. ++ --innodb-use-atomic-writes ++ Enable atomic writes, instead of using the doublewrite ++ buffer, for files on devices that supports atomic writes. ++ (Defaults to on; use --skip-innodb-use-atomic-writes to disable.) ++ --innodb-use-native-aio ++ Use native AIO if supported on this platform. ++ (Defaults to on; use --skip-innodb-use-native-aio to disable.) ++ --innodb-write-io-threads=# ++ Number of background write I/O threads in InnoDB. ++ --interactive-timeout=# ++ The number of seconds the server waits for activity on an ++ interactive connection before closing it ++ --join-buffer-size=# ++ The size of the buffer that is used for joins ++ --join-buffer-space-limit=# ++ The limit of the space for all join buffers used by a ++ query ++ --join-cache-level=# ++ Controls what join operations can be executed with join ++ buffers. Odd numbers are used for plain join buffers ++ while even numbers are used for linked buffers ++ --keep-files-on-create ++ Don't overwrite stale .MYD and .MYI even if no directory ++ is specified ++ --key-buffer-size=# The size of the buffer used for index blocks for MyISAM ++ tables. Increase this to get better index handling (for ++ all reads and multiple writes) to as much as you can ++ afford ++ --key-cache-age-threshold=# ++ This characterizes the number of hits a hot block has to ++ be untouched until it is considered aged enough to be ++ downgraded to a warm block. This specifies the percentage ++ ratio of that number of hits to the total number of ++ blocks in key cache ++ --key-cache-block-size=# ++ The default size of key cache blocks ++ --key-cache-division-limit=# ++ The minimum percentage of warm blocks in key cache ++ --key-cache-file-hash-size=# ++ Number of hash buckets for open and changed files. If ++ you have a lot of MyISAM files open you should increase ++ this for faster flush of changes. A good value is ++ probably 1/10 of number of possible open MyISAM files. ++ --key-cache-segments=# ++ The number of segments in a key cache ++ -L, --language=name Client error messages in given language. May be given as ++ a full path. Deprecated. Use --lc-messages-dir instead. ++ --large-pages Enable support for large pages ++ --lc-messages=name Set the language used for the error messages. ++ -L, --lc-messages-dir=name ++ Directory where error messages are ++ --lc-time-names=name ++ Set the language used for the month names and the days of ++ the week. ++ --local-infile Enable LOAD DATA LOCAL INFILE ++ (Defaults to on; use --skip-local-infile to disable.) ++ --lock-wait-timeout=# ++ Timeout in seconds to wait for a lock before returning an ++ error. ++ --log-basename=name Basename for all log files and the .pid file. This sets ++ all log file names at once (in 'datadir') and is normally ++ the only option you need for specifying log files. Sets ++ names for --log-bin, --log-bin-index, --relay-log, ++ --relay-log-index, --general-log-file, ++ --log-slow-query-file, --log-error-file, and --pid-file ++ --log-bin[=name] Log update queries in binary format. Optional argument ++ should be name for binary log. If not given ++ 'datadir'/'log-basename'-bin or 'datadir'/mysql-bin will ++ be used (the later if --log-basename is not specified). ++ We strongly recommend to use either --log-basename or ++ specify a filename to ensure that replication doesn't ++ stop if the real hostname of the computer changes. ++ --log-bin-compress Whether the binary log can be compressed ++ --log-bin-compress-min-len[=#] ++ Minimum length of sql statement(in statement mode) or ++ record(in row mode)that can be compressed. ++ --log-bin-index=name ++ File that holds the names for last binary log files. ++ --log-bin-trust-function-creators ++ If set to FALSE (the default), then when --log-bin is ++ used, creation of a stored function (or trigger) is ++ allowed only to users having the SUPER privilege and only ++ if this stored function (trigger) may not break binary ++ logging. Note that if ALL connections to this server ++ ALWAYS use row-based binary logging, the security issues ++ do not exist and the binary logging cannot break, so you ++ can safely set this to TRUE ++ --log-ddl-recovery=name ++ Path to file used for recovery of DDL statements after a ++ crash ++ --log-disabled-statements=name ++ Don't log certain types of statements to general log. Any ++ combination of: slave, sp ++ --log-error[=name] Log errors to file (instead of stdout). If file name is ++ not specified then 'datadir'/'log-basename'.err or the ++ 'pid-file' path with extension .err is used ++ --log-isam[=name] Log all MyISAM changes to file. ++ --log-output=name How logs should be written. Any combination of: NONE, ++ FILE, TABLE ++ --log-queries-not-using-indexes ++ Log queries that are executed without benefit of any ++ index to the slow log if it is open. Same as ++ log_slow_filter='not_using_index' ++ --log-short-format Don't log extra information to update and slow-query ++ logs. ++ --log-slave-updates Tells the slave to log the updates from the slave thread ++ to the binary log. You will need to turn it on if you ++ plan to daisy-chain the slaves. ++ --log-slow-admin-statements ++ Log slow OPTIMIZE, ANALYZE, ALTER and other ++ administrative statements to the slow log if it is open. ++ Resets or sets the option 'admin' in ++ log_slow_disabled_statements ++ (Defaults to on; use --skip-log-slow-admin-statements to disable.) ++ --log-slow-disabled-statements=name ++ Don't log certain types of statements to slow log. Any ++ combination of: admin, call, slave, sp ++ --log-slow-filter=name ++ Log only certain types of queries to the slow log. If ++ variable empty alll kind of queries are logged. All ++ types are bound by slow_query_time, except ++ 'not_using_index' which is always logged if enabled. Any ++ combination of: admin, filesort, filesort_on_disk, ++ filesort_priority_queue, full_join, full_scan, ++ not_using_index, query_cache, query_cache_miss, tmp_table, ++ tmp_table_on_disk ++ --log-slow-min-examined-row-limit=# ++ Don't write queries to slow log that examine fewer rows ++ than that ++ --log-slow-query Log slow queries to a table or log file. Defaults logging ++ to a file 'hostname'-slow.log or a table mysql.slow_log ++ if --log-output=TABLE is used. Must be enabled to ++ activate other slow log options. ++ --log-slow-query-file=name ++ Log slow queries to given log file. Defaults logging to ++ 'hostname'-slow.log. Must be enabled to activate other ++ slow log options ++ --log-slow-query-time=# ++ Log all queries that have taken more than ++ log_slow_query_time seconds to execute to the slow query ++ log file. The argument will be treated as a decimal value ++ with microsecond precision ++ --log-slow-rate-limit=# ++ Write to slow log every #th slow query. Set to 1 to log ++ everything. Increase it to reduce the size of the slow or ++ the performance impact of slow logging ++ --log-slow-slave-statements ++ Log slow statements executed by slave thread to the slow ++ log if it is open. Resets or sets the option 'slave' in ++ log_slow_disabled_statements ++ (Defaults to on; use --skip-log-slow-slave-statements to disable.) ++ --log-slow-verbosity=name ++ Verbosity level for the slow log. Any combination of: ++ innodb, query_plan, explain ++ --log-tc=name Path to transaction coordinator log (used for ++ transactions that affect more than one storage engine, ++ when binary log is disabled). ++ --log-tc-size=# Size of transaction coordinator log. ++ -W, --log-warnings[=#] ++ Log some not critical warnings to the general log ++ file.Value can be between 0 and 11. Higher values mean ++ more verbosity ++ --long-query-time=# Alias for log_slow_query_time. Log all queries that have ++ taken more than long_query_time seconds to execute to the ++ slow query log file. The argument will be treated as a ++ decimal value with microsecond precision ++ --low-priority-updates ++ INSERT/DELETE/UPDATE has lower priority than selects ++ --lower-case-table-names[=#] ++ If set to 1 table names are stored in lowercase on disk ++ and table names will be case-insensitive. Should be set ++ to 2 if you are using a case insensitive file system ++ --master-info-file=name ++ The location and name of the file that remembers the ++ master and where the I/O replication thread is in the ++ master's binlogs. Defaults to master.info ++ --master-retry-count=# ++ The number of tries the slave will make to connect to the ++ master before giving up. ++ --master-verify-checksum ++ Force checksum verification of logged events in the ++ binary log before sending them to slaves or printing them ++ in the output of SHOW BINLOG EVENTS ++ --max-allowed-packet=# ++ Max packet length to send to or receive from the server ++ --max-binlog-cache-size=# ++ Sets the total size of the transactional cache ++ --max-binlog-size=# Binary log will be rotated automatically when the size ++ exceeds this value. ++ --max-binlog-stmt-cache-size=# ++ Sets the total size of the statement cache ++ --max-connect-errors=# ++ If there is more than this number of interrupted ++ connections from a host this host will be blocked from ++ further connections ++ --max-connections=# The number of simultaneous clients allowed ++ --max-delayed-threads=# ++ Don't start more than this number of threads to handle ++ INSERT DELAYED statements. If set to zero INSERT DELAYED ++ will be not used ++ --max-digest-length=# ++ Maximum length considered for digest text. ++ --max-error-count=# Max number of errors/warnings to store for a statement ++ --max-heap-table-size=# ++ Don't allow creation of heap tables bigger than this ++ --max-join-size=# Joins that are probably going to read more than ++ max_join_size records return an error ++ --max-length-for-sort-data=# ++ Max number of bytes in sorted records ++ --max-password-errors=# ++ If there is more than this number of failed connect ++ attempts due to invalid password, user will be blocked ++ from further connections until FLUSH_PRIVILEGES. ++ --max-prepared-stmt-count=# ++ Maximum number of prepared statements in the server ++ --max-recursive-iterations[=#] ++ Maximum number of iterations when executing recursive ++ queries ++ --max-relay-log-size=# ++ relay log will be rotated automatically when the size ++ exceeds this value. If 0 at startup, it's set to ++ max_binlog_size ++ --max-rowid-filter-size=# ++ The maximum size of the container of a rowid filter ++ --max-seeks-for-key=# ++ Limit assumed max number of seeks when looking up rows ++ based on a key ++ --max-session-mem-used=# ++ Amount of memory a single user session is allowed to ++ allocate. This limits the value of the session variable ++ MEM_USED ++ --max-sort-length=# The number of bytes to use when sorting BLOB or TEXT ++ values (only the first max_sort_length bytes of each ++ value are used; the rest are ignored) ++ --max-sp-recursion-depth[=#] ++ Maximum stored procedure recursion depth ++ --max-statement-time=# ++ A query that has taken more than max_statement_time ++ seconds will be aborted. The argument will be treated as ++ a decimal value with microsecond precision. A value of 0 ++ (default) means no timeout ++ --max-tmp-tables=# Unused, will be removed. ++ --max-user-connections=# ++ The maximum number of active connections for a single ++ user (0 = no limit) ++ --max-write-lock-count=# ++ After this many write locks, allow some read locks to run ++ in between ++ --memlock Lock mysqld in memory. ++ --metadata-locks-cache-size=# ++ Unused ++ --metadata-locks-hash-instances=# ++ Unused ++ --min-examined-row-limit=# ++ Alias for log_slow_min_examined_row_limit. Don't write ++ queries to slow log that examine fewer rows than that ++ --mrr-buffer-size=# Size of buffer to use when using MRR with range access ++ --myisam-block-size=# ++ Block size to be used for MyISAM index pages ++ --myisam-data-pointer-size=# ++ Default pointer size to be used for MyISAM tables ++ --myisam-max-sort-file-size=# ++ Don't use the fast sort index method to created index if ++ the temporary file would get bigger than this ++ --myisam-mmap-size=# ++ Restricts the total memory used for memory mapping of ++ MySQL tables ++ --myisam-recover-options[=name] ++ Specifies how corrupted tables should be automatically ++ repaired. Any combination of: DEFAULT, BACKUP, FORCE, ++ QUICK, BACKUP_ALL, OFF ++ --myisam-repair-threads=# ++ If larger than 1, when repairing a MyISAM table all ++ indexes will be created in parallel, with one thread per ++ index. The value of 1 disables parallel repair ++ --myisam-sort-buffer-size=# ++ The buffer that is allocated when sorting the index when ++ doing a REPAIR or when creating indexes with CREATE INDEX ++ or ALTER TABLE ++ --myisam-stats-method=name ++ Specifies how MyISAM index statistics collection code ++ should treat NULLs. Possible values of name are ++ NULLS_UNEQUAL (default behavior for 4.1 and later), ++ NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNORED ++ --myisam-use-mmap Use memory mapping for reading and writing MyISAM tables ++ --mysql56-temporal-format ++ Use MySQL-5.6 (instead of MariaDB-5.3) format for TIME, ++ DATETIME, TIMESTAMP columns. ++ (Defaults to on; use --skip-mysql56-temporal-format to disable.) ++ --net-buffer-length=# ++ Buffer length for TCP/IP and socket communication ++ --net-read-timeout=# ++ Number of seconds to wait for more data from a connection ++ before aborting the read ++ --net-retry-count=# If a read on a communication port is interrupted, retry ++ this many times before giving up ++ --net-write-timeout=# ++ Number of seconds to wait for a block to be written to a ++ connection before aborting the write ++ --old Use compatible behavior from previous MariaDB version. ++ See also --old-mode ++ --old-alter-table[=name] ++ Alias for alter_algorithm. Deprecated. Use ++ --alter-algorithm instead.. One of: DEFAULT, COPY, ++ INPLACE, NOCOPY, INSTANT ++ --old-mode=name Used to emulate old behavior from earlier MariaDB or ++ MySQL versions. Any combination of: ++ NO_DUP_KEY_WARNINGS_WITH_IGNORE, NO_PROGRESS_INFO, ++ ZERO_DATE_TIME_CAST, UTF8_IS_UTF8MB3, ++ IGNORE_INDEX_ONLY_FOR_JOIN, COMPAT_5_1_CHECKSUM ++ --old-passwords Use old password encryption method (needed for 4.0 and ++ older clients) ++ --old-style-user-limits ++ Enable old-style user limits (before 5.0.3, user ++ resources were counted per each user+host vs. per ++ account). ++ --open-files-limit=# ++ If this is not 0, then mysqld will use this value to ++ reserve file descriptors to use with setrlimit(). If this ++ value is 0 or autoset then mysqld will reserve ++ max_connections*5 or max_connections + table_cache*2 ++ (whichever is larger) number of file descriptors ++ (Automatically configured unless set explicitly) ++ --optimizer-extra-pruning-depth=# ++ If the optimizer needs to enumerate join prefix of this ++ size or larger, then it will try aggressively prune away ++ the search space. ++ --optimizer-max-sel-arg-weight=# ++ The maximum weight of the SEL_ARG graph. Set to 0 for no ++ limit ++ --optimizer-prune-level=# ++ Controls the heuristic(s) applied during query ++ optimization to prune less-promising partial plans from ++ the optimizer search space. Meaning: 0 - do not apply any ++ heuristic, thus perform exhaustive search: 1 - prune ++ plans based on cost and number of retrieved rows eq_ref: ++ 2 - prune also if we find an eq_ref chain ++ --optimizer-search-depth=# ++ Maximum depth of search performed by the query optimizer. ++ Values larger than the number of relations in a query ++ result in better query plans, but take longer to compile ++ a query. Values smaller than the number of tables in a ++ relation result in faster optimization, but may produce ++ very bad query plans. If set to 0, the system will ++ automatically pick a reasonable value. ++ --optimizer-selectivity-sampling-limit=# ++ Controls number of record samples to check condition ++ selectivity ++ --optimizer-switch=name ++ Fine-tune the optimizer behavior. Takes a comma-separated ++ list of option=value pairs, where value is on, off, or ++ default, and options are: index_merge, index_merge_union, ++ index_merge_sort_union, index_merge_intersection, ++ index_merge_sort_intersection, engine_condition_pushdown, ++ index_condition_pushdown, derived_merge, ++ derived_with_keys, firstmatch, loosescan, materialization, ++ in_to_exists, semijoin, partial_match_rowid_merge, ++ partial_match_table_scan, subquery_cache, mrr, ++ mrr_cost_based, mrr_sort_keys, outer_join_with_cache, ++ semijoin_with_cache, join_cache_incremental, ++ join_cache_hashed, join_cache_bka, ++ optimize_join_buffer_size, table_elimination, ++ extended_keys, exists_to_in, orderby_uses_equalities, ++ condition_pushdown_for_derived, split_materialized, ++ condition_pushdown_for_subquery, rowid_filter, ++ condition_pushdown_from_having, not_null_range_scan, ++ hash_join_cardinality ++ --optimizer-trace=name ++ Controls tracing of the Optimizer: ++ optimizer_trace=option=val[,option=val...], where option ++ is one of {enabled} and val is one of {on, off, default} ++ --optimizer-trace-max-mem-size=# ++ Maximum allowed size of an optimizer trace ++ --optimizer-use-condition-selectivity=# ++ Controls selectivity of which conditions the optimizer ++ takes into account to calculate cardinality of a partial ++ join when it searches for the best execution plan ++ Meaning: 1 - use selectivity of index backed range ++ conditions to calculate the cardinality of a partial join ++ if the last joined table is accessed by full table scan ++ or an index scan, 2 - use selectivity of index backed ++ range conditions to calculate the cardinality of a ++ partial join in any case, 3 - additionally always use ++ selectivity of range conditions that are not backed by ++ any index to calculate the cardinality of a partial join, ++ 4 - use histograms to calculate selectivity of range ++ conditions that are not backed by any index to calculate ++ the cardinality of a partial join.5 - additionally use ++ selectivity of certain non-range predicates calculated on ++ record samples ++ --partition[=name] Enable or disable partition plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --performance-schema ++ Enable the performance schema. ++ --performance-schema-accounts-size=# ++ Maximum number of instrumented user@host accounts. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-consumer-events-stages-current ++ Default startup value for the events_stages_current ++ consumer. ++ --performance-schema-consumer-events-stages-history ++ Default startup value for the events_stages_history ++ consumer. ++ --performance-schema-consumer-events-stages-history-long ++ Default startup value for the events_stages_history_long ++ consumer. ++ --performance-schema-consumer-events-statements-current ++ Default startup value for the events_statements_current ++ consumer. ++ --performance-schema-consumer-events-statements-history ++ Default startup value for the events_statements_history ++ consumer. ++ --performance-schema-consumer-events-statements-history-long ++ Default startup value for the ++ events_statements_history_long consumer. ++ --performance-schema-consumer-events-transactions-current ++ Default startup value for the events_transactions_current ++ consumer. ++ --performance-schema-consumer-events-transactions-history ++ Default startup value for the events_transactions_history ++ consumer. ++ --performance-schema-consumer-events-transactions-history-long ++ Default startup value for the ++ events_transactions_history_long consumer. ++ --performance-schema-consumer-events-waits-current ++ Default startup value for the events_waits_current ++ consumer. ++ --performance-schema-consumer-events-waits-history ++ Default startup value for the events_waits_history ++ consumer. ++ --performance-schema-consumer-events-waits-history-long ++ Default startup value for the events_waits_history_long ++ consumer. ++ --performance-schema-consumer-global-instrumentation ++ Default startup value for the global_instrumentation ++ consumer. ++ (Defaults to on; use --skip-performance-schema-consumer-global-instrumentation to disable.) ++ --performance-schema-consumer-statements-digest ++ Default startup value for the statements_digest consumer. ++ (Defaults to on; use --skip-performance-schema-consumer-statements-digest to disable.) ++ --performance-schema-consumer-thread-instrumentation ++ Default startup value for the thread_instrumentation ++ consumer. ++ (Defaults to on; use --skip-performance-schema-consumer-thread-instrumentation to disable.) ++ --performance-schema-digests-size=# ++ Size of the statement digest. Use 0 to disable, -1 for ++ automated sizing. ++ --performance-schema-events-stages-history-long-size=# ++ Number of rows in EVENTS_STAGES_HISTORY_LONG. Use 0 to ++ disable, -1 for automated sizing. ++ --performance-schema-events-stages-history-size=# ++ Number of rows per thread in EVENTS_STAGES_HISTORY. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-events-statements-history-long-size=# ++ Number of rows in EVENTS_STATEMENTS_HISTORY_LONG. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-events-statements-history-size=# ++ Number of rows per thread in EVENTS_STATEMENTS_HISTORY. ++ Use 0 to disable, -1 for automated sizing. ++ --performance-schema-events-transactions-history-long-size=# ++ Number of rows in EVENTS_TRANSACTIONS_HISTORY_LONG. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-events-transactions-history-size=# ++ Number of rows per thread in EVENTS_TRANSACTIONS_HISTORY. ++ Use 0 to disable, -1 for automated sizing. ++ --performance-schema-events-waits-history-long-size=# ++ Number of rows in EVENTS_WAITS_HISTORY_LONG. Use 0 to ++ disable, -1 for automated sizing. ++ --performance-schema-events-waits-history-size=# ++ Number of rows per thread in EVENTS_WAITS_HISTORY. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-hosts-size=# ++ Maximum number of instrumented hosts. Use 0 to disable, ++ -1 for automated sizing. ++ --performance-schema-instrument[=name] ++ Default startup value for a performance schema ++ instrument. ++ --performance-schema-max-cond-classes=# ++ Maximum number of condition instruments. ++ --performance-schema-max-cond-instances=# ++ Maximum number of instrumented condition objects. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-max-digest-length=# ++ Maximum length considered for digest text, when stored in ++ performance_schema tables. ++ --performance-schema-max-file-classes=# ++ Maximum number of file instruments. ++ --performance-schema-max-file-handles=# ++ Maximum number of opened instrumented files. ++ --performance-schema-max-file-instances=# ++ Maximum number of instrumented files. Use 0 to disable, ++ -1 for automated sizing. ++ --performance-schema-max-index-stat=# ++ Maximum number of index statistics for instrumented ++ tables. Use 0 to disable, -1 for automated scaling. ++ --performance-schema-max-memory-classes=# ++ Maximum number of memory pool instruments. ++ --performance-schema-max-metadata-locks=# ++ Maximum number of metadata locks. Use 0 to disable, -1 ++ for automated scaling. ++ --performance-schema-max-mutex-classes=# ++ Maximum number of mutex instruments. ++ --performance-schema-max-mutex-instances=# ++ Maximum number of instrumented MUTEX objects. Use 0 to ++ disable, -1 for automated sizing. ++ --performance-schema-max-prepared-statements-instances=# ++ Maximum number of instrumented prepared statements. Use 0 ++ to disable, -1 for automated scaling. ++ --performance-schema-max-program-instances=# ++ Maximum number of instrumented programs. Use 0 to ++ disable, -1 for automated scaling. ++ --performance-schema-max-rwlock-classes=# ++ Maximum number of rwlock instruments. ++ --performance-schema-max-rwlock-instances=# ++ Maximum number of instrumented RWLOCK objects. Use 0 to ++ disable, -1 for automated sizing. ++ --performance-schema-max-socket-classes=# ++ Maximum number of socket instruments. ++ --performance-schema-max-socket-instances=# ++ Maximum number of opened instrumented sockets. Use 0 to ++ disable, -1 for automated sizing. ++ --performance-schema-max-sql-text-length=# ++ Maximum length of displayed sql text. ++ --performance-schema-max-stage-classes=# ++ Maximum number of stage instruments. ++ --performance-schema-max-statement-classes=# ++ Maximum number of statement instruments. ++ --performance-schema-max-statement-stack=# ++ Number of rows per thread in EVENTS_STATEMENTS_CURRENT. ++ --performance-schema-max-table-handles=# ++ Maximum number of opened instrumented tables. Use 0 to ++ disable, -1 for automated sizing. ++ --performance-schema-max-table-instances=# ++ Maximum number of instrumented tables. Use 0 to disable, ++ -1 for automated sizing. ++ --performance-schema-max-table-lock-stat=# ++ Maximum number of lock statistics for instrumented ++ tables. Use 0 to disable, -1 for automated scaling. ++ --performance-schema-max-thread-classes=# ++ Maximum number of thread instruments. ++ --performance-schema-max-thread-instances=# ++ Maximum number of instrumented threads. Use 0 to disable, ++ -1 for automated sizing. ++ --performance-schema-session-connect-attrs-size=# ++ Size of session attribute string buffer per thread. Use 0 ++ to disable, -1 for automated sizing. ++ --performance-schema-setup-actors-size=# ++ Maximum number of rows in SETUP_ACTORS. ++ --performance-schema-setup-objects-size=# ++ Maximum number of rows in SETUP_OBJECTS. ++ --performance-schema-users-size=# ++ Maximum number of instrumented users. Use 0 to disable, ++ -1 for automated sizing. ++ --pid-file=name Pid file used by safe_mysqld ++ --plugin-dir=name Directory for plugins ++ --plugin-load=name Semicolon-separated list of plugins to load, where each ++ plugin is specified as ether a plugin_name=library_file ++ pair or only a library_file. If the latter case, all ++ plugins from a given library_file will be loaded. ++ --plugin-load-add=name ++ Optional semicolon-separated list of plugins to load. ++ This option adds to the list specified by --plugin-load ++ in an incremental way. It can be specified many times, ++ adding more plugins every time. ++ --plugin-maturity=name ++ The lowest desirable plugin maturity. Plugins less mature ++ than that will not be installed or loaded. One of: ++ unknown, experimental, alpha, beta, gamma, stable ++ -P, --port=# Port number to use for connection or 0 to default to, ++ my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default ++ (3306), whatever comes first ++ --port-open-timeout=# ++ Maximum time in seconds to wait for the port to become ++ free. (Default: No wait). ++ --preload-buffer-size=# ++ The size of the buffer that is allocated when preloading ++ indexes ++ --profiling-history-size=# ++ Number of statements about which profiling information is ++ maintained. If set to 0, no profiles are stored. See SHOW ++ PROFILES. ++ --progress-report-time=# ++ Seconds between sending progress reports to the client ++ for time-consuming statements. Set to 0 to disable ++ progress reporting. ++ --proxy-protocol-networks=name ++ Enable proxy protocol for these source networks. The ++ syntax is a comma separated list of IPv4 and IPv6 ++ networks. If the network doesn't contain mask, it is ++ considered to be a single host. "*" represents all ++ networks and must the only directive on the line. String ++ "localhost" represents non-TCP local connections (Unix ++ domain socket, Windows named pipe or shared memory). ++ --query-alloc-block-size=# ++ Allocation block size for query parsing and execution ++ --query-cache-limit=# ++ Don't cache results that are bigger than this ++ --query-cache-min-res-unit=# ++ The minimum size for blocks allocated by the query cache ++ --query-cache-size=# ++ The memory allocated to store results from old queries ++ --query-cache-strip-comments ++ Strip all comments from a query before storing it in the ++ query cache ++ --query-cache-type=name ++ OFF = Don't cache or retrieve results. ON = Cache all ++ results except SELECT SQL_NO_CACHE ... queries. DEMAND = ++ Cache only SELECT SQL_CACHE ... queries ++ --query-cache-wlock-invalidate ++ Invalidate queries in query cache on LOCK for write ++ --query-prealloc-size=# ++ Persistent buffer for query parsing and execution ++ --range-alloc-block-size=# ++ Allocation block size for storing ranges during ++ optimization ++ --read-binlog-speed-limit=# ++ Maximum speed(KB/s) to read binlog from master (0 = no ++ limit) ++ --read-buffer-size=# ++ Each thread that does a sequential scan allocates a ++ buffer of this size for each table it scans. If you do ++ many sequential scans, you may want to increase this ++ value ++ --read-only Make all non-temporary tables read-only, with the ++ exception for replication (slave) threads and users with ++ the 'READ ONLY ADMIN' privilege ++ --read-rnd-buffer-size=# ++ When reading rows in sorted order after a sort, the rows ++ are read through this buffer to avoid a disk seeks ++ --relay-log=name The location and name to use for relay logs. ++ --relay-log-index=name ++ The location and name to use for the file that keeps a ++ list of the last relay logs ++ --relay-log-info-file=name ++ The location and name of the file that remembers where ++ the SQL replication thread is in the relay logs. ++ --relay-log-purge if disabled - do not purge relay logs. if enabled - purge ++ them as soon as they are no more needed. ++ (Defaults to on; use --skip-relay-log-purge to disable.) ++ --relay-log-recovery ++ Enables automatic relay log recovery right after the ++ database startup, which means that the IO Thread starts ++ re-fetching from the master right after the last ++ transaction processed. ++ --relay-log-space-limit=# ++ Maximum space to use for all relay logs ++ --replicate-annotate-row-events ++ Tells the slave to write annotate rows events received ++ from the master to its own binary log. Ignored if ++ log_slave_updates is not set ++ (Defaults to on; use --skip-replicate-annotate-row-events to disable.) ++ --replicate-do-db=name ++ Tells the slave thread to restrict replication to the ++ specified database. To specify more than one database, ++ use the directive multiple times, once for each database. ++ Note that this will only work if you do not use ++ cross-database queries such as UPDATE some_db.some_table ++ SET foo='bar' while having selected a different or no ++ database. If you need cross database updates to work, ++ make sure you have 3.23.28 or later, and use ++ replicate-wild-do-table=db_name.%. ++ --replicate-do-table=name ++ Tells the slave thread to restrict replication to the ++ specified table. To specify more than one table, use the ++ directive multiple times, once for each table. This will ++ work for cross-database updates, in contrast to ++ replicate-do-db. ++ --replicate-events-marked-for-skip=name ++ Whether the slave should replicate events that were ++ created with @@skip_replication=1 on the master. Default ++ REPLICATE (no events are skipped). Other values are ++ FILTER_ON_SLAVE (events will be sent by the master but ++ ignored by the slave) and FILTER_ON_MASTER (events marked ++ with @@skip_replication=1 will be filtered on the master ++ and never be sent to the slave). ++ --replicate-ignore-db=name ++ Tells the slave thread to not replicate to the specified ++ database. To specify more than one database to ignore, ++ use the directive multiple times, once for each database. ++ This option will not work if you use cross database ++ updates. If you need cross database updates to work, make ++ sure you have 3.23.28 or later, and use ++ replicate-wild-ignore-table=db_name.%. ++ --replicate-ignore-table=name ++ Tells the slave thread to not replicate to the specified ++ table. To specify more than one table to ignore, use the ++ directive multiple times, once for each table. This will ++ work for cross-database updates, in contrast to ++ replicate-ignore-db. ++ --replicate-rewrite-db=name ++ Updates to a database with a different name than the ++ original. Example: ++ replicate-rewrite-db=master_db_name->slave_db_name. ++ --replicate-same-server-id ++ In replication, if set to 1, do not skip events having ++ our server id. Default value is 0 (to break infinite ++ loops in circular replication). Can't be set to 1 if ++ --log-slave-updates is used. ++ --replicate-wild-do-table=name ++ Tells the slave thread to restrict replication to the ++ tables that match the specified wildcard pattern. To ++ specify more than one table, use the directive multiple ++ times, once for each table. This will work for ++ cross-database updates. Example: ++ replicate-wild-do-table=foo%.bar% will replicate only ++ updates to tables in all databases that start with foo ++ and whose table names start with bar. ++ --replicate-wild-ignore-table=name ++ Tells the slave thread to not replicate to the tables ++ that match the given wildcard pattern. To specify more ++ than one table to ignore, use the directive multiple ++ times, once for each table. This will work for ++ cross-database updates. Example: ++ replicate-wild-ignore-table=foo%.bar% will not do updates ++ to tables in databases that start with foo and whose ++ table names start with bar. ++ --report-host=name Hostname or IP of the slave to be reported to the master ++ during slave registration. Will appear in the output of ++ SHOW SLAVE HOSTS. Leave unset if you do not want the ++ slave to register itself with the master. Note that it is ++ not sufficient for the master to simply read the IP of ++ the slave off the socket once the slave connects. Due to ++ NAT and other routing issues, that IP may not be valid ++ for connecting to the slave from the master or other ++ hosts ++ --report-password=name ++ The account password of the slave to be reported to the ++ master during slave registration ++ --report-port=# Port for connecting to slave reported to the master ++ during slave registration. Set it only if the slave is ++ listening on a non-default port or if you have a special ++ tunnel from the master or other clients to the slave. If ++ not sure, leave this option unset ++ --report-user=name The account user name of the slave to be reported to the ++ master during slave registration ++ --require-secure-transport ++ When this option is enabled, connections attempted using ++ insecure transport will be rejected. Secure transports ++ are SSL/TLS, Unix sockets or named pipes. ++ --rowid-merge-buff-size=# ++ The size of the buffers used [NOT] IN evaluation via ++ partial matching ++ --rpl-semi-sync-master-enabled ++ Enable semi-synchronous replication master (disabled by ++ default). ++ --rpl-semi-sync-master-timeout=# ++ The timeout value (in ms) for semi-synchronous ++ replication in the master ++ --rpl-semi-sync-master-trace-level=# ++ The tracing level for semi-sync replication. ++ --rpl-semi-sync-master-wait-no-slave ++ Wait until timeout when no semi-synchronous replication ++ slave available (enabled by default). ++ (Defaults to on; use --skip-rpl-semi-sync-master-wait-no-slave to disable.) ++ --rpl-semi-sync-master-wait-point=name ++ Should transaction wait for semi-sync ack after having ++ synced binlog, or after having committed in storage ++ engine.. One of: AFTER_SYNC, AFTER_COMMIT ++ --rpl-semi-sync-slave-delay-master ++ Only write master info file when ack is needed. ++ --rpl-semi-sync-slave-enabled ++ Enable semi-synchronous replication slave (disabled by ++ default). ++ --rpl-semi-sync-slave-kill-conn-timeout[=#] ++ Timeout for the mysql connection used to kill the slave ++ io_thread's connection on master. This timeout comes into ++ play when stop slave is executed. ++ --rpl-semi-sync-slave-trace-level=# ++ The tracing level for semi-sync replication. ++ --safe-mode Skip some optimize stages (for testing). Deprecated. ++ --safe-user-create Don't allow new user creation by the user who has no ++ write privileges to the mysql.user table. ++ --secure-auth Disallow authentication for accounts that have old ++ (pre-4.1) passwords ++ (Defaults to on; use --skip-secure-auth to disable.) ++ --secure-file-priv=name ++ Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to ++ files within specified directory ++ --secure-timestamp=name ++ Restricts direct setting of a session timestamp. Possible ++ levels are: YES - timestamp cannot deviate from the ++ system clock, REPLICATION - replication thread can adjust ++ timestamp to match the master's, SUPER - a user with this ++ privilege and a replication thread can adjust timestamp, ++ NO - historical behavior, anyone can modify session ++ timestamp ++ --sequence[=name] Enable or disable SEQUENCE plugin. One of: ON, OFF, FORCE ++ (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --server-id=# Uniquely identifies the server instance in the community ++ of replication partners ++ --session-track-schema ++ Track changes to the default schema. ++ (Defaults to on; use --skip-session-track-schema to disable.) ++ --session-track-state-change ++ Track changes to the session state. ++ --session-track-system-variables=name ++ Track changes in registered system variables. ++ --session-track-transaction-info=name ++ Track changes to the transaction attributes. OFF to ++ disable; STATE to track just transaction state (Is there ++ an active transaction? Does it have any data? etc.); ++ CHARACTERISTICS to track transaction state and report all ++ statements needed to start a transaction with the same ++ characteristics (isolation level, read only/read ++ write,snapshot - but not any work done / data modified ++ within the transaction). ++ --show-slave-auth-info ++ Show user and password in SHOW SLAVE HOSTS on this ++ master. ++ --silent-startup Don't print [Note] to the error log during startup. ++ --skip-grant-tables Start without grant tables. This gives all users FULL ++ ACCESS to all tables. ++ --skip-host-cache Don't cache host names. ++ --skip-name-resolve Don't resolve hostnames. All hostnames are IP's or ++ 'localhost'. ++ --skip-networking Don't allow connection with TCP/IP ++ --skip-show-database ++ Don't allow 'SHOW DATABASE' commands ++ --skip-slave-start If set, slave is not autostarted. ++ --slave-compressed-protocol ++ Use compression on master/slave protocol ++ --slave-ddl-exec-mode=name ++ How replication events should be executed. Legal values ++ are STRICT and IDEMPOTENT (default). In IDEMPOTENT mode, ++ replication will not stop for DDL operations that are ++ idempotent. This means that CREATE TABLE is treated as ++ CREATE TABLE OR REPLACE and DROP TABLE is treated as DROP ++ TABLE IF EXISTS. ++ --slave-domain-parallel-threads=# ++ Maximum number of parallel threads to use on slave for ++ events in a single replication domain. When using ++ multiple domains, this can be used to limit a single ++ domain from grabbing all threads and thus stalling other ++ domains. The default of 0 means to allow a domain to grab ++ as many threads as it wants, up to the value of ++ slave_parallel_threads. ++ --slave-exec-mode=name ++ How replication events should be executed. Legal values ++ are STRICT (default) and IDEMPOTENT. In IDEMPOTENT mode, ++ replication will not stop for operations that are ++ idempotent. For example, in row based replication ++ attempts to delete rows that doesn't exist will be ++ ignored. In STRICT mode, replication will stop on any ++ unexpected difference between the master and the slave. ++ --slave-load-tmpdir=name ++ The location where the slave should put its temporary ++ files when replicating a LOAD DATA INFILE command ++ --slave-max-allowed-packet=# ++ The maximum packet length to sent successfully from the ++ master to slave. ++ --slave-max-statement-time=# ++ A query that has taken more than slave_max_statement_time ++ seconds to run on the slave will be aborted. The argument ++ will be treated as a decimal value with microsecond ++ precision. A value of 0 (default) means no timeout ++ --slave-net-timeout=# ++ Number of seconds to wait for more data from any ++ master/slave connection before aborting the read ++ --slave-parallel-max-queued=# ++ Limit on how much memory SQL threads should use per ++ parallel replication thread when reading ahead in the ++ relay log looking for opportunities for parallel ++ replication. Only used when --slave-parallel-threads > 0. ++ --slave-parallel-mode=name ++ Controls what transactions are applied in parallel when ++ using --slave-parallel-threads. Possible values: ++ "optimistic" tries to apply most transactional DML in ++ parallel, and handles any conflicts with rollback and ++ retry. "conservative" limits parallelism in an effort to ++ avoid any conflicts. "aggressive" tries to maximise the ++ parallelism, possibly at the cost of increased conflict ++ rate. "minimal" only parallelizes the commit steps of ++ transactions. "none" disables parallel apply completely. ++ --slave-parallel-threads=# ++ If non-zero, number of threads to spawn to apply in ++ parallel events on the slave that were group-committed on ++ the master or were logged with GTID in different ++ replication domains. Note that these threads are in ++ addition to the IO and SQL threads, which are always ++ created by a replication slave ++ --slave-parallel-workers=# ++ Alias for slave_parallel_threads ++ --slave-run-triggers-for-rbr=name ++ Modes for how triggers in row-base replication on slave ++ side will be executed. Legal values are NO (default), ++ YES, LOGGING and ENFORCE. NO means that trigger for RBR ++ will not be running on slave. YES and LOGGING means that ++ triggers will be running on slave, if there was not ++ triggers running on the master for the statement. LOGGING ++ also means results of that the executed triggers work ++ will be written to the binlog. ENFORCE means that ++ triggers will always be run on the slave, even if there ++ are triggers on the master. ENFORCE implies LOGGING. ++ --slave-skip-errors=name ++ Tells the slave thread to continue replication when a ++ query event returns an error from the provided list ++ --slave-sql-verify-checksum ++ Force checksum verification of replication events after ++ reading them from relay log. Note: Events are always ++ checksum-verified by slave on receiving them from the ++ network before writing them to the relay log ++ (Defaults to on; use --skip-slave-sql-verify-checksum to disable.) ++ --slave-transaction-retries=# ++ Number of times the slave SQL thread will retry a ++ transaction in case it failed with a deadlock, elapsed ++ lock wait timeout or listed in ++ slave_transaction_retry_errors, before giving up and ++ stopping ++ --slave-transaction-retry-errors=name ++ Tells the slave thread to retry transaction for ++ replication when a query event returns an error from the ++ provided list. Deadlock error, elapsed lock wait timeout, ++ net read error, net read timeout, net write error, net ++ write timeout, connect error and 2 types of lost ++ connection error are automatically added to this list ++ --slave-transaction-retry-interval=# ++ Interval of the slave SQL thread will retry a transaction ++ in case it failed with a deadlock or elapsed lock wait ++ timeout or listed in slave_transaction_retry_errors ++ --slave-type-conversions=name ++ Set of slave type conversions that are enabled. If the ++ variable is empty, no conversions are allowed and it is ++ expected that the types match exactly. Any combination ++ of: ALL_LOSSY, ALL_NON_LOSSY ++ --slow-launch-time=# ++ If creating the thread takes longer than this value (in ++ seconds), the Slow_launch_threads counter will be ++ incremented ++ --slow-query-log Alias for log_slow_query. Log slow queries to a table or ++ log file. Defaults logging to a file 'hostname'-slow.log ++ or a table mysql.slow_log if --log-output=TABLE is used. ++ Must be enabled to activate other slow log options. ++ --slow-query-log-file=name ++ Alias for log_slow_query_file. Log slow queries to given ++ log file. Defaults logging to 'hostname'-slow.log. Must ++ be enabled to activate other slow log options ++ --socket=name Socket file to use for connection ++ --sort-buffer-size=# ++ Each thread that needs to do a sort allocates a buffer of ++ this size ++ --sql-mode=name Sets the sql mode. Any combination of: REAL_AS_FLOAT, ++ PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, ++ IGNORE_BAD_TABLE_OPTIONS, ONLY_FULL_GROUP_BY, ++ NO_UNSIGNED_SUBTRACTION, NO_DIR_IN_CREATE, POSTGRESQL, ++ ORACLE, MSSQL, DB2, MAXDB, NO_KEY_OPTIONS, ++ NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, MYSQL323, MYSQL40, ++ ANSI, NO_AUTO_VALUE_ON_ZERO, NO_BACKSLASH_ESCAPES, ++ STRICT_TRANS_TABLES, STRICT_ALL_TABLES, NO_ZERO_IN_DATE, ++ NO_ZERO_DATE, ALLOW_INVALID_DATES, ++ ERROR_FOR_DIVISION_BY_ZERO, TRADITIONAL, ++ NO_AUTO_CREATE_USER, HIGH_NOT_PRECEDENCE, ++ NO_ENGINE_SUBSTITUTION, PAD_CHAR_TO_FULL_LENGTH, ++ EMPTY_STRING_IS_NULL, SIMULTANEOUS_ASSIGNMENT, ++ TIME_ROUND_FRACTIONAL ++ --sql-safe-updates If set to 1, UPDATEs and DELETEs need either a key in the ++ WHERE clause, or a LIMIT clause, or else they will ++ aborted. Prevents the common mistake of accidentally ++ deleting or updating every row in a table. ++ --ssl Enable SSL for connection (automatically enabled if an ++ ssl option is used). ++ --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies --ssl) ++ --ssl-capath=name CA directory (check OpenSSL docs, implies --ssl) ++ --ssl-cert=name X509 cert in PEM format (implies --ssl) ++ --ssl-cipher=name SSL cipher to use (implies --ssl) ++ --ssl-crl=name CRL file in PEM format (check OpenSSL docs, implies ++ --ssl) ++ --ssl-crlpath=name CRL directory (check OpenSSL docs, implies --ssl) ++ --ssl-key=name X509 key in PEM format (implies --ssl) ++ --stack-trace Print a symbolic stack trace on failure ++ (Defaults to on; use --skip-stack-trace to disable.) ++ --standard-compliant-cte ++ Allow only CTEs compliant to SQL standard ++ (Defaults to on; use --skip-standard-compliant-cte to disable.) ++ --stored-program-cache=# ++ The soft upper limit for number of cached stored routines ++ for one connection. ++ --strict-password-validation ++ When password validation plugins are enabled, reject ++ passwords that cannot be validated (passwords specified ++ as a hash) ++ (Defaults to on; use --skip-strict-password-validation to disable.) ++ -s, --symbolic-links ++ Enable symbolic link support. ++ (Defaults to on; use --skip-symbolic-links to disable.) ++ --sync-binlog=# Synchronously flush binary log to disk after every #th ++ event. Use 0 (default) to disable synchronous flushing ++ --sync-frm Sync .frm files to disk on creation ++ (Defaults to on; use --skip-sync-frm to disable.) ++ --sync-master-info=# ++ Synchronously flush master info to disk after every #th ++ event. Use 0 to disable synchronous flushing ++ --sync-relay-log=# Synchronously flush relay log to disk after every #th ++ event. Use 0 to disable synchronous flushing ++ --sync-relay-log-info=# ++ Synchronously flush relay log info to disk after every ++ #th transaction. Use 0 to disable synchronous flushing ++ --sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it ++ safe-replicable. Since 5.0, SYSDATE() returns a `dynamic' ++ value different for different invocations, even within ++ the same statement. ++ --system-versioning-alter-history=name ++ Versioning ALTER TABLE mode. ERROR: Fail ALTER with ++ error; KEEP: Keep historical system rows and subject them ++ to ALTER ++ --system-versioning-insert-history ++ Allows direct inserts into ROW_START and ROW_END columns ++ if secure_timestamp allows changing @@timestamp ++ --table-cache=# Deprecated; use --table-open-cache instead. ++ --table-definition-cache=# ++ The number of cached table definitions ++ --table-open-cache=# ++ The number of cached open tables ++ --table-open-cache-instances=# ++ Maximum number of table cache instances ++ --tc-heuristic-recover=name ++ Decision to use in heuristic recover process. One of: OFF, ++ COMMIT, ROLLBACK ++ --tcp-keepalive-interval=# ++ The interval, in seconds, between when successive ++ keep-alive packets are sent if no acknowledgement is ++ received.If set to 0, system dependent default is used. ++ (Automatically configured unless set explicitly) ++ --tcp-keepalive-probes=# ++ The number of unacknowledged probes to send before ++ considering the connection dead and notifying the ++ application layer.If set to 0, system dependent default ++ is used. (Automatically configured unless set explicitly) ++ --tcp-keepalive-time=# ++ Timeout, in seconds, with no activity until the first TCP ++ keep-alive packet is sent.If set to 0, system dependent ++ default is used. (Automatically configured unless set ++ explicitly) ++ --tcp-nodelay Set option TCP_NODELAY (disable Nagle's algorithm) on ++ socket ++ (Defaults to on; use --skip-tcp-nodelay to disable.) ++ --temp-pool Using this option will cause most temporary files created ++ to use a small set of names, rather than a unique name ++ for each new file. Deprecated. ++ --thread-cache-size=# ++ How many threads we should keep in a cache for reuse. ++ These are freed after 5 minutes of idle time ++ --thread-handling=name ++ Define threads usage for handling queries. One of: ++ one-thread-per-connection, no-threads, pool-of-threads ++ --thread-pool-dedicated-listener ++ If set to 1,listener thread will not pick up queries ++ --thread-pool-exact-stats ++ If set to 1, provides better statistics in ++ information_schema threadpool tables ++ --thread-pool-groups[=name] ++ Enable or disable THREAD_POOL_GROUPS plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --thread-pool-idle-timeout=# ++ Timeout in seconds for an idle thread in the thread ++ pool.Worker thread will be shut down after timeout ++ --thread-pool-max-threads=# ++ Maximum allowed number of worker threads in the thread ++ pool ++ --thread-pool-oversubscribe=# ++ How many additional active worker threads in a group are ++ allowed. ++ --thread-pool-prio-kickup-timer=# ++ The number of milliseconds before a dequeued low-priority ++ statement is moved to the high-priority queue ++ --thread-pool-priority=name ++ Threadpool priority. High priority connections usually ++ start executing earlier than low priority.If priority set ++ to 'auto', the the actual priority(low or high) is ++ determined based on whether or not connection is inside ++ transaction. ++ --thread-pool-queues[=name] ++ Enable or disable THREAD_POOL_QUEUES plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --thread-pool-size=# ++ Number of thread groups in the pool. This parameter is ++ roughly equivalent to maximum number of concurrently ++ executing threads (threads in a waiting state do not ++ count as executing). ++ --thread-pool-stall-limit=# ++ Maximum query execution time in milliseconds,before an ++ executing non-yielding thread is considered stalled.If a ++ worker thread is stalled, additional worker thread may be ++ created to handle remaining clients. ++ --thread-pool-stats[=name] ++ Enable or disable THREAD_POOL_STATS plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --thread-pool-waits[=name] ++ Enable or disable THREAD_POOL_WAITS plugin. One of: ON, ++ OFF, FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --thread-stack=# The stack size for each thread ++ --time-format=name The TIME format (ignored) ++ --tls-version=name TLS protocol version for secure connections.. Any ++ combination of: TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3 ++ --tmp-disk-table-size=# ++ Max size for data for an internal temporary on-disk ++ MyISAM or Aria table. ++ --tmp-memory-table-size=# ++ If an internal in-memory temporary table exceeds this ++ size, MariaDB will automatically convert it to an on-disk ++ MyISAM or Aria table. Same as tmp_table_size. ++ --tmp-table-size=# Alias for tmp_memory_table_size. If an internal in-memory ++ temporary table exceeds this size, MariaDB will ++ automatically convert it to an on-disk MyISAM or Aria ++ table. ++ -t, --tmpdir=name Path for temporary files. Several paths may be specified, ++ separated by a colon (:), in this case they are used in a ++ round-robin fashion ++ --transaction-alloc-block-size=# ++ Allocation block size for transactions to be stored in ++ binary log ++ --transaction-isolation=name ++ Default transaction isolation level. One of: ++ READ-UNCOMMITTED, READ-COMMITTED, REPEATABLE-READ, ++ SERIALIZABLE ++ --transaction-prealloc-size=# ++ Persistent buffer for transactions to be stored in binary ++ log ++ --transaction-read-only ++ Default transaction access mode. True if transactions are ++ read-only. ++ --unix-socket[=name] ++ Enable or disable unix_socket plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --updatable-views-with-limit=name ++ YES = Don't issue an error message (warning only) if a ++ VIEW without presence of a key of the underlying table is ++ used in queries with a LIMIT clause for updating. NO = ++ Prohibit update of a VIEW, which does not contain a key ++ of the underlying table and the query uses a LIMIT clause ++ (usually get from GUI tools) ++ --use-stat-tables=name ++ Specifies how to use system statistics tables. One of: ++ NEVER, COMPLEMENTARY, PREFERABLY, ++ COMPLEMENTARY_FOR_QUERIES, PREFERABLY_FOR_QUERIES ++ -u, --user=name Run mysqld daemon as user. ++ --user-variables[=name] ++ Enable or disable user_variables plugin. One of: ON, OFF, ++ FORCE (don't start if the plugin fails to load), ++ FORCE_PLUS_PERMANENT (like FORCE, but the plugin can not ++ be uninstalled). ++ --userstat Enables statistics gathering for USER_STATISTICS, ++ CLIENT_STATISTICS, INDEX_STATISTICS and TABLE_STATISTICS ++ tables in the INFORMATION_SCHEMA ++ -v, --verbose Used with --help option for detailed help. ++ -V, --version[=name] ++ Output version information and exit. ++ --wait-timeout=# The number of seconds the server waits for activity on a ++ connection before closing it ++ --wsrep-OSU-method[=name] ++ Method for Online Schema Upgrade. One of: TOI, RSU ++ --wsrep-SR-store=name ++ Storage for streaming replication fragments. One of: none, ++ table ++ --wsrep-allowlist=name ++ Allowed IP addresses split by comma delimiter ++ --wsrep-auto-increment-control ++ To automatically control the assignment of autoincrement ++ variables ++ (Defaults to on; use --skip-wsrep-auto-increment-control to disable.) ++ --wsrep-causal-reads ++ Setting this variable is equivalent to setting ++ wsrep_sync_wait READ flag ++ --wsrep-certification-rules=name ++ Certification rules to use in the cluster. Possible ++ values are: "strict": stricter rules that could result in ++ more certification failures. "optimized": relaxed rules ++ that allow more concurrency and cause less certification ++ failures. ++ --wsrep-certify-nonPK ++ Certify tables with no primary key ++ (Defaults to on; use --skip-wsrep-certify-nonPK to disable.) ++ --wsrep-cluster-address=name ++ Address to initially connect to cluster ++ --wsrep-cluster-name=name ++ Name for the cluster ++ --wsrep-convert-LOCK-to-trx ++ To convert locking sessions into transactions ++ --wsrep-data-home-dir=name ++ home directory for wsrep provider ++ --wsrep-dbug-option=name ++ DBUG options to provider library ++ --wsrep-debug=name WSREP debug level logging. One of: NONE, SERVER, ++ TRANSACTION, STREAMING, CLIENT ++ --wsrep-desync To desynchronize the node from the cluster ++ --wsrep-dirty-reads Allow reads even when the node is not in the primary ++ component. ++ --wsrep-drupal-282555-workaround ++ Enable a workaround to handle the cases where inserting a ++ DEFAULT value into an auto-increment column could fail ++ with duplicate key error ++ --wsrep-forced-binlog-format=name ++ binlog format to take effect over user's choice. One of: ++ MIXED, STATEMENT, ROW, NONE ++ --wsrep-gtid-domain-id=# ++ When wsrep_gtid_mode is set, this value is used as ++ gtid_domain_id for galera transactions and also copied to ++ the joiner nodes during state transfer. It is ignored, ++ otherwise. ++ --wsrep-gtid-mode Automatically update the (joiner) node's ++ wsrep_gtid_domain_id value with that of donor's (received ++ during state transfer) and use it in place of ++ gtid_domain_id for all galera transactions. When OFF ++ (default), wsrep_gtid_domain_id is simply ignored ++ (backward compatibility). ++ --wsrep-ignore-apply-errors=# ++ Ignore replication errors ++ --wsrep-load-data-splitting ++ To commit LOAD DATA transaction after every 10K rows ++ inserted (deprecated) ++ --wsrep-log-conflicts ++ To log multi-master conflicts ++ --wsrep-max-ws-rows=# ++ Max number of rows in write set ++ --wsrep-max-ws-size=# ++ Max write set size (bytes) ++ --wsrep-mode=name Set of WSREP features that are enabled.. Any combination ++ of: STRICT_REPLICATION, BINLOG_ROW_FORMAT_ONLY, ++ REQUIRED_PRIMARY_KEY, REPLICATE_MYISAM, REPLICATE_ARIA, ++ DISALLOW_LOCAL_GTID, BF_ABORT_MARIABACKUP ++ --wsrep-mysql-replication-bundle=# ++ mysql replication group commit ++ --wsrep-new-cluster Bootstrap a cluster. It works by overriding the current ++ value of wsrep_cluster_address. It is recommended not to ++ add this option to the config file as this will trigger ++ bootstrap on every server start. ++ --wsrep-node-address=name ++ Specifies the node's network address, in the format ip ++ address[:port]. Used in situations where autoguessing is ++ not reliable. As of MariaDB 10.1.8, supports IPv6. ++ --wsrep-node-incoming-address=name ++ Client connection address ++ --wsrep-node-name=name ++ Name of this node. This name can be used in ++ wsrep_sst_donor as a preferred donor. Note that multiple ++ nodes in a cluster can have the same name. ++ --wsrep-notify-cmd=name ++ --wsrep-on To enable wsrep replication ++ --wsrep-provider=name ++ Path to replication provider library ++ --wsrep-provider-options=name ++ Semicolon (;) separated list of wsrep options (see ++ wsrep_provider_options documentation). ++ --wsrep-recover Recover database state after crash and exit ++ --wsrep-reject-queries[=name] ++ Variable to set to reject queries. One of: NONE, ALL, ++ ALL_KILL ++ --wsrep-restart-slave ++ Should MariaDB slave be restarted automatically, when ++ node joins back to cluster ++ --wsrep-retry-autocommit=# ++ Max number of times to retry a failed autocommit ++ statement ++ --wsrep-slave-FK-checks ++ Should slave thread do foreign key constraint checks ++ (Defaults to on; use --skip-wsrep-slave-FK-checks to disable.) ++ --wsrep-slave-UK-checks ++ Should slave thread do secondary index uniqueness checks ++ --wsrep-slave-threads=# ++ Number of slave appliers to launch ++ --wsrep-sst-auth=name ++ Authentication for SST connection ++ --wsrep-sst-donor=name ++ preferred donor node for the SST ++ --wsrep-sst-donor-rejects-queries ++ Reject client queries when donating state snapshot ++ transfer ++ --wsrep-sst-method=name ++ State snapshot transfer method ++ --wsrep-sst-receive-address=name ++ Address where node is waiting for SST contact ++ --wsrep-start-position=name ++ global transaction position to start from ++ --wsrep-status-file=name ++ wsrep status output filename ++ --wsrep-sync-wait[=#] ++ Ensure "synchronous" read view before executing an ++ operation of the type specified by bitmask: 1 - ++ READ(includes SELECT, SHOW and BEGIN/START TRANSACTION); ++ 2 - UPDATE and DELETE; 4 - INSERT and REPLACE ++ --wsrep-trx-fragment-size=# ++ Size of transaction fragments for streaming replication ++ (measured in units of 'wsrep_trx_fragment_unit') ++ --wsrep-trx-fragment-unit=name ++ Unit for streaming replication transaction fragments' ++ size: bytes, rows, statements ++ ++Variables (--variable-name=value) ++and boolean options {FALSE|TRUE} Value (after reading options) ++------------------------------------------------------------ ------------- ++allow-suspicious-udfs FALSE ++alter-algorithm DEFAULT ++analyze-sample-percentage 100 ++aria-block-size 8192 ++aria-checkpoint-interval 0 ++aria-checkpoint-log-activity 1048576 ++aria-encrypt-tables FALSE ++aria-force-start-after-recovery-failures 0 ++aria-group-commit none ++aria-group-commit-interval 0 ++aria-log-dir-path /var/lib/mysql/ ++aria-log-file-size 1073741824 ++aria-log-purge-type immediate ++aria-max-sort-file-size 9223372036853727232 ++aria-page-checksum TRUE ++aria-pagecache-age-threshold 300 ++aria-pagecache-buffer-size 134217728 ++aria-pagecache-division-limit 100 ++aria-pagecache-file-hash-size 512 ++aria-recover-options ++aria-repair-threads 1 ++aria-sort-buffer-size 268434432 ++aria-stats-method nulls_unequal ++aria-sync-log-dir NEWFILE ++auto-increment-increment 1 ++auto-increment-offset 1 ++autocommit TRUE ++automatic-sp-privileges TRUE ++back-log 80 ++basedir /usr ++big-tables FALSE ++bind-address 127.0.0.1 ++binlog-alter-two-phase FALSE ++binlog-annotate-row-events TRUE ++binlog-cache-size 32768 ++binlog-checksum CRC32 ++binlog-commit-wait-count 0 ++binlog-commit-wait-usec 100000 ++binlog-direct-non-transactional-updates FALSE ++binlog-expire-logs-seconds 864000 ++binlog-file-cache-size 16384 ++binlog-format MIXED ++binlog-optimize-thread-scheduling TRUE ++binlog-row-event-max-size 8192 ++binlog-row-image FULL ++binlog-row-metadata NO_LOG ++binlog-stmt-cache-size 32768 ++bulk-insert-buffer-size 8388608 ++character-set-client-handshake TRUE ++character-set-filesystem binary ++character-set-server utf8mb4 ++character-sets-dir /usr/share/mysql/charsets/ ++chroot (No default value) ++collation-server utf8mb4_general_ci ++column-compression-threshold 100 ++column-compression-zlib-level 6 ++column-compression-zlib-strategy DEFAULT_STRATEGY ++column-compression-zlib-wrap FALSE ++completion-type NO_CHAIN ++concurrent-insert AUTO ++connect-timeout 10 ++console FALSE ++core-file FALSE ++datadir /var/lib/mysql/ ++date-format %Y-%m-%d ++datetime-format %Y-%m-%d %H:%i:%s ++deadlock-search-depth-long 15 ++deadlock-search-depth-short 4 ++deadlock-timeout-long 50000000 ++deadlock-timeout-short 10000 ++debug ++debug-abort-slave-event-count 0 ++debug-disconnect-slave-event-count 0 ++debug-gdb FALSE ++debug-max-binlog-dump-events 0 ++debug-no-sync FALSE ++debug-no-thread-alarm FALSE ++debug-sporadic-binlog-dump-fail FALSE ++default-password-lifetime 0 ++default-regex-flags ++default-storage-engine InnoDB ++default-time-zone (No default value) ++default-tmp-storage-engine (No default value) ++default-week-format 0 ++delay-key-write ON ++delayed-insert-limit 100 ++delayed-insert-timeout 300 ++delayed-queue-size 1000 ++des-key-file (No default value) ++disconnect-on-expired-password FALSE ++div-precision-increment 4 ++encrypt-binlog FALSE ++encrypt-tmp-disk-tables FALSE ++encrypt-tmp-files FALSE ++enforce-storage-engine (No default value) ++eq-range-index-dive-limit 200 ++event-scheduler OFF ++expensive-subquery-limit 100 ++expire-logs-days 10 ++explicit-defaults-for-timestamp TRUE ++external-locking FALSE ++extra-max-connections 1 ++extra-port 0 ++feedback ON ++feedback-http-proxy (No default value) ++feedback-send-retry-wait 60 ++feedback-send-timeout 60 ++feedback-url https://feedback.mariadb.org/rest/v1/post ++feedback-user-info ++flashback FALSE ++flush FALSE ++flush-time 0 ++ft-boolean-syntax + -><()~*:""&| ++ft-max-word-len 84 ++ft-min-word-len 4 ++ft-query-expansion-limit 20 ++ft-stopword-file (No default value) ++gdb FALSE ++general-log FALSE ++general-log-file HOSTNAME.log ++getopt-prefix-matching TRUE ++group-concat-max-len 1048576 ++gtid-cleanup-batch-size 64 ++gtid-domain-id 0 ++gtid-ignore-duplicates FALSE ++gtid-pos-auto-engines ++gtid-strict-mode FALSE ++help TRUE ++histogram-size 254 ++histogram-type DOUBLE_PREC_HB ++host-cache-size 279 ++idle-readonly-transaction-timeout 0 ++idle-transaction-timeout 0 ++idle-write-transaction-timeout 0 ++ignore-builtin-innodb FALSE ++ignore-db-dirs ++in-predicate-conversion-threshold 1000 ++init-connect ++init-file (No default value) ++init-rpl-role MASTER ++init-slave ++innodb ON ++innodb-adaptive-flushing TRUE ++innodb-adaptive-flushing-lwm 10 ++innodb-adaptive-hash-index FALSE ++innodb-adaptive-hash-index-parts 8 ++innodb-autoextend-increment 64 ++innodb-autoinc-lock-mode 1 ++innodb-buf-dump-status-frequency 0 ++innodb-buffer-page ON ++innodb-buffer-page-lru ON ++innodb-buffer-pool-chunk-size 0 ++innodb-buffer-pool-dump-at-shutdown TRUE ++innodb-buffer-pool-dump-now FALSE ++innodb-buffer-pool-dump-pct 25 ++innodb-buffer-pool-filename ib_buffer_pool ++innodb-buffer-pool-load-abort FALSE ++innodb-buffer-pool-load-at-startup TRUE ++innodb-buffer-pool-load-now FALSE ++innodb-buffer-pool-size 134217728 ++innodb-buffer-pool-stats ON ++innodb-change-buffer-max-size 25 ++innodb-change-buffering none ++innodb-checksum-algorithm full_crc32 ++innodb-cmp ON ++innodb-cmp-per-index ON ++innodb-cmp-per-index-enabled FALSE ++innodb-cmp-per-index-reset ON ++innodb-cmp-reset ON ++innodb-cmpmem ON ++innodb-cmpmem-reset ON ++innodb-compression-algorithm zlib ++innodb-compression-default FALSE ++innodb-compression-failure-threshold-pct 5 ++innodb-compression-level 6 ++innodb-compression-pad-pct-max 50 ++innodb-data-file-path ibdata1:12M:autoextend ++innodb-data-home-dir (No default value) ++innodb-deadlock-detect TRUE ++innodb-deadlock-report full ++innodb-default-encryption-key-id 1 ++innodb-default-row-format dynamic ++innodb-defragment FALSE ++innodb-defragment-fill-factor 0.9 ++innodb-defragment-fill-factor-n-recs 20 ++innodb-defragment-frequency 40 ++innodb-defragment-n-pages 7 ++innodb-defragment-stats-accuracy 0 ++innodb-disable-sort-file-cache FALSE ++innodb-doublewrite TRUE ++innodb-encrypt-log FALSE ++innodb-encrypt-tables OFF ++innodb-encrypt-temporary-tables FALSE ++innodb-encryption-rotate-key-age 1 ++innodb-encryption-rotation-iops 100 ++innodb-encryption-threads 0 ++innodb-fast-shutdown 1 ++innodb-fatal-semaphore-wait-threshold 600 ++innodb-file-per-table TRUE ++innodb-fill-factor 100 ++innodb-flush-log-at-timeout 1 ++innodb-flush-log-at-trx-commit 1 ++innodb-flush-method O_DIRECT ++innodb-flush-neighbors 1 ++innodb-flush-sync TRUE ++innodb-flushing-avg-loops 30 ++innodb-force-primary-key FALSE ++innodb-force-recovery 0 ++innodb-ft-aux-table (No default value) ++innodb-ft-being-deleted ON ++innodb-ft-cache-size 8000000 ++innodb-ft-config ON ++innodb-ft-default-stopword ON ++innodb-ft-deleted ON ++innodb-ft-enable-diag-print FALSE ++innodb-ft-enable-stopword TRUE ++innodb-ft-index-cache ON ++innodb-ft-index-table ON ++innodb-ft-max-token-size 84 ++innodb-ft-min-token-size 3 ++innodb-ft-num-word-optimize 2000 ++innodb-ft-result-cache-limit 2000000000 ++innodb-ft-server-stopword-table (No default value) ++innodb-ft-sort-pll-degree 2 ++innodb-ft-total-cache-size 640000000 ++innodb-ft-user-stopword-table (No default value) ++innodb-immediate-scrub-data-uncompressed FALSE ++innodb-instant-alter-column-allowed add_drop_reorder ++innodb-io-capacity 200 ++innodb-io-capacity-max 18446744073709551615 ++innodb-lock-wait-timeout 50 ++innodb-lock-waits ON ++innodb-locks ON ++innodb-log-buffer-size 16777216 ++innodb-log-file-buffering FALSE ++innodb-log-file-size 100663296 ++innodb-log-group-home-dir (No default value) ++innodb-lru-flush-size 32 ++innodb-lru-scan-depth 1536 ++innodb-max-dirty-pages-pct 90 ++innodb-max-dirty-pages-pct-lwm 0 ++innodb-max-purge-lag 0 ++innodb-max-purge-lag-delay 0 ++innodb-max-purge-lag-wait 4294967295 ++innodb-max-undo-log-size 10485760 ++innodb-metrics ON ++innodb-monitor-disable (No default value) ++innodb-monitor-enable (No default value) ++innodb-monitor-reset (No default value) ++innodb-monitor-reset-all (No default value) ++innodb-numa-interleave FALSE ++innodb-old-blocks-pct 37 ++innodb-old-blocks-time 1000 ++innodb-online-alter-log-max-size 134217728 ++innodb-open-files 0 ++innodb-optimize-fulltext-only FALSE ++innodb-page-size 16384 ++innodb-prefix-index-cluster-optimization TRUE ++innodb-print-all-deadlocks FALSE ++innodb-purge-batch-size 300 ++innodb-purge-rseg-truncate-frequency 128 ++innodb-purge-threads 4 ++innodb-random-read-ahead FALSE ++innodb-read-ahead-threshold 56 ++innodb-read-io-threads 4 ++innodb-read-only FALSE ++innodb-read-only-compressed FALSE ++innodb-rollback-on-timeout FALSE ++innodb-sort-buffer-size 1048576 ++innodb-spin-wait-delay 4 ++innodb-stats-auto-recalc TRUE ++innodb-stats-include-delete-marked FALSE ++innodb-stats-method nulls_equal ++innodb-stats-modified-counter 0 ++innodb-stats-on-metadata FALSE ++innodb-stats-persistent TRUE ++innodb-stats-persistent-sample-pages 20 ++innodb-stats-traditional TRUE ++innodb-stats-transient-sample-pages 8 ++innodb-status-file FALSE ++innodb-status-output FALSE ++innodb-status-output-locks FALSE ++innodb-strict-mode TRUE ++innodb-sync-spin-loops 30 ++innodb-sys-columns ON ++innodb-sys-fields ON ++innodb-sys-foreign ON ++innodb-sys-foreign-cols ON ++innodb-sys-indexes ON ++innodb-sys-tables ON ++innodb-sys-tablespaces ON ++innodb-sys-tablestats ON ++innodb-sys-virtual ON ++innodb-table-locks TRUE ++innodb-tablespaces-encryption ON ++innodb-temp-data-file-path ibtmp1:12M:autoextend ++innodb-tmpdir (No default value) ++innodb-trx ON ++innodb-undo-directory (No default value) ++innodb-undo-log-truncate FALSE ++innodb-undo-tablespaces 0 ++innodb-use-atomic-writes TRUE ++innodb-use-native-aio TRUE ++innodb-write-io-threads 4 ++interactive-timeout 28800 ++join-buffer-size 262144 ++join-buffer-space-limit 2097152 ++join-cache-level 2 ++keep-files-on-create FALSE ++key-buffer-size 134217728 ++key-cache-age-threshold 300 ++key-cache-block-size 1024 ++key-cache-division-limit 100 ++key-cache-file-hash-size 512 ++key-cache-segments 0 ++large-files-support TRUE ++large-pages FALSE ++lc-messages en_US ++lc-messages-dir (No default value) ++lc-time-names en_US ++local-infile TRUE ++lock-wait-timeout 86400 ++log-basename HOSTNAME ++log-bin (No default value) ++log-bin-compress FALSE ++log-bin-compress-min-len 256 ++log-bin-index (No default value) ++log-bin-trust-function-creators FALSE ++log-ddl-recovery ddl_recovery.log ++log-disabled-statements sp ++log-error ++log-isam myisam.log ++log-output FILE ++log-queries-not-using-indexes FALSE ++log-short-format FALSE ++log-slave-updates FALSE ++log-slow-admin-statements TRUE ++log-slow-disabled-statements sp ++log-slow-filter admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk ++log-slow-min-examined-row-limit 0 ++log-slow-query FALSE ++log-slow-query-file HOSTNAME-slow.log ++log-slow-query-time 10 ++log-slow-rate-limit 1 ++log-slow-slave-statements TRUE ++log-slow-verbosity ++log-tc tc.log ++log-tc-size 24576 ++log-warnings 2 ++long-query-time 10 ++low-priority-updates FALSE ++lower-case-file-system FALSE ++lower-case-table-names 0 ++master-info-file master.info ++master-retry-count 100000 ++master-verify-checksum FALSE ++max-allowed-packet 16777216 ++max-binlog-cache-size 18446744073709547520 ++max-binlog-size 1073741824 ++max-binlog-stmt-cache-size 18446744073709547520 ++max-connect-errors 100 ++max-connections 151 ++max-delayed-threads 20 ++max-digest-length 1024 ++max-error-count 64 ++max-heap-table-size 16777216 ++max-join-size 18446744073709551615 ++max-length-for-sort-data 1024 ++max-password-errors 4294967295 ++max-prepared-stmt-count 16382 ++max-recursive-iterations 1000 ++max-relay-log-size 1073741824 ++max-rowid-filter-size 131072 ++max-seeks-for-key 4294967295 ++max-session-mem-used 9223372036854775807 ++max-sort-length 1024 ++max-sp-recursion-depth 0 ++max-statement-time 0 ++max-tmp-tables 32 ++max-user-connections 0 ++max-write-lock-count 4294967295 ++memlock FALSE ++metadata-locks-cache-size 1024 ++metadata-locks-hash-instances 8 ++min-examined-row-limit 0 ++mrr-buffer-size 262144 ++myisam-block-size 1024 ++myisam-data-pointer-size 6 ++myisam-max-sort-file-size 18446744073709551615 ++myisam-mmap-size 9223372036853727232 ++myisam-recover-options BACKUP,QUICK ++myisam-repair-threads 1 ++myisam-sort-buffer-size 134216704 ++myisam-stats-method NULLS_UNEQUAL ++myisam-use-mmap FALSE ++mysql56-temporal-format TRUE ++net-buffer-length 16384 ++net-read-timeout 30 ++net-retry-count 10 ++net-write-timeout 60 ++old FALSE ++old-alter-table DEFAULT ++old-mode UTF8_IS_UTF8MB3 ++old-passwords FALSE ++old-style-user-limits FALSE ++open-files-limit 32000 ++optimizer-extra-pruning-depth 8 ++optimizer-max-sel-arg-weight 32000 ++optimizer-prune-level 2 ++optimizer-search-depth 62 ++optimizer-selectivity-sampling-limit 100 ++optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on ++optimizer-trace ++optimizer-trace-max-mem-size 1048576 ++optimizer-use-condition-selectivity 4 ++partition ON ++performance-schema FALSE ++performance-schema-accounts-size -1 ++performance-schema-consumer-events-stages-current FALSE ++performance-schema-consumer-events-stages-history FALSE ++performance-schema-consumer-events-stages-history-long FALSE ++performance-schema-consumer-events-statements-current FALSE ++performance-schema-consumer-events-statements-history FALSE ++performance-schema-consumer-events-statements-history-long FALSE ++performance-schema-consumer-events-transactions-current FALSE ++performance-schema-consumer-events-transactions-history FALSE ++performance-schema-consumer-events-transactions-history-long FALSE ++performance-schema-consumer-events-waits-current FALSE ++performance-schema-consumer-events-waits-history FALSE ++performance-schema-consumer-events-waits-history-long FALSE ++performance-schema-consumer-global-instrumentation TRUE ++performance-schema-consumer-statements-digest TRUE ++performance-schema-consumer-thread-instrumentation TRUE ++performance-schema-digests-size -1 ++performance-schema-events-stages-history-long-size -1 ++performance-schema-events-stages-history-size -1 ++performance-schema-events-statements-history-long-size -1 ++performance-schema-events-statements-history-size -1 ++performance-schema-events-transactions-history-long-size -1 ++performance-schema-events-transactions-history-size -1 ++performance-schema-events-waits-history-long-size -1 ++performance-schema-events-waits-history-size -1 ++performance-schema-hosts-size -1 ++performance-schema-instrument ++performance-schema-max-cond-classes 90 ++performance-schema-max-cond-instances -1 ++performance-schema-max-digest-length 1024 ++performance-schema-max-file-classes 80 ++performance-schema-max-file-handles 32768 ++performance-schema-max-file-instances -1 ++performance-schema-max-index-stat -1 ++performance-schema-max-memory-classes 320 ++performance-schema-max-metadata-locks -1 ++performance-schema-max-mutex-classes 210 ++performance-schema-max-mutex-instances -1 ++performance-schema-max-prepared-statements-instances -1 ++performance-schema-max-program-instances -1 ++performance-schema-max-rwlock-classes 50 ++performance-schema-max-rwlock-instances -1 ++performance-schema-max-socket-classes 10 ++performance-schema-max-socket-instances -1 ++performance-schema-max-sql-text-length 1024 ++performance-schema-max-stage-classes 160 ++performance-schema-max-statement-classes 222 ++performance-schema-max-statement-stack 10 ++performance-schema-max-table-handles -1 ++performance-schema-max-table-instances -1 ++performance-schema-max-table-lock-stat -1 ++performance-schema-max-thread-classes 50 ++performance-schema-max-thread-instances -1 ++performance-schema-session-connect-attrs-size -1 ++performance-schema-setup-actors-size -1 ++performance-schema-setup-objects-size -1 ++performance-schema-users-size -1 ++pid-file /run/mysqld/mysqld.pid ++plugin-dir /usr/lib/mysql/plugin/ ++plugin-maturity gamma ++port 3306 ++port-open-timeout 0 ++preload-buffer-size 32768 ++profiling-history-size 15 ++progress-report-time 5 ++protocol-version 10 ++proxy-protocol-networks ++query-alloc-block-size 16384 ++query-cache-limit 1048576 ++query-cache-min-res-unit 4096 ++query-cache-size 1048576 ++query-cache-strip-comments FALSE ++query-cache-type OFF ++query-cache-wlock-invalidate FALSE ++query-prealloc-size 24576 ++range-alloc-block-size 4096 ++read-binlog-speed-limit 0 ++read-buffer-size 131072 ++read-only FALSE ++read-rnd-buffer-size 262144 ++relay-log (No default value) ++relay-log-index (No default value) ++relay-log-info-file relay-log.info ++relay-log-purge TRUE ++relay-log-recovery FALSE ++relay-log-space-limit 0 ++replicate-annotate-row-events TRUE ++replicate-events-marked-for-skip REPLICATE ++replicate-same-server-id FALSE ++report-host (No default value) ++report-password (No default value) ++report-port 0 ++report-user (No default value) ++require-secure-transport FALSE ++rowid-merge-buff-size 8388608 ++rpl-semi-sync-master-enabled FALSE ++rpl-semi-sync-master-timeout 10000 ++rpl-semi-sync-master-trace-level 32 ++rpl-semi-sync-master-wait-no-slave TRUE ++rpl-semi-sync-master-wait-point AFTER_COMMIT ++rpl-semi-sync-slave-delay-master FALSE ++rpl-semi-sync-slave-enabled FALSE ++rpl-semi-sync-slave-kill-conn-timeout 5 ++rpl-semi-sync-slave-trace-level 32 ++safe-user-create FALSE ++secure-auth TRUE ++secure-file-priv (No default value) ++secure-timestamp NO ++sequence ON ++server-id 1 ++session-track-schema TRUE ++session-track-state-change FALSE ++session-track-system-variables autocommit,character_set_client,character_set_connection,character_set_results,time_zone ++session-track-transaction-info OFF ++show-slave-auth-info FALSE ++silent-startup FALSE ++skip-grant-tables FALSE ++skip-name-resolve FALSE ++skip-networking FALSE ++skip-show-database FALSE ++skip-slave-start FALSE ++slave-compressed-protocol FALSE ++slave-ddl-exec-mode IDEMPOTENT ++slave-domain-parallel-threads 0 ++slave-exec-mode STRICT ++slave-load-tmpdir /tmp ++slave-max-allowed-packet 1073741824 ++slave-max-statement-time 0 ++slave-net-timeout 60 ++slave-parallel-max-queued 131072 ++slave-parallel-mode conservative ++slave-parallel-threads 0 ++slave-parallel-workers 0 ++slave-run-triggers-for-rbr NO ++slave-skip-errors OFF ++slave-sql-verify-checksum TRUE ++slave-transaction-retries 10 ++slave-transaction-retry-errors 1158,1159,1160,1161,1205,1213,1429,2013,12701 ++slave-transaction-retry-interval 0 ++slave-type-conversions ++slow-launch-time 2 ++slow-query-log FALSE ++slow-query-log-file HOSTNAME-slow.log ++socket /run/mysqld/mysqld.sock ++sort-buffer-size 2097152 ++sql-mode STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION ++sql-safe-updates FALSE ++ssl FALSE ++ssl-ca (No default value) ++ssl-capath (No default value) ++ssl-cert (No default value) ++ssl-cipher (No default value) ++ssl-crl (No default value) ++ssl-crlpath (No default value) ++ssl-key (No default value) ++stack-trace TRUE ++standard-compliant-cte TRUE ++stored-program-cache 256 ++strict-password-validation TRUE ++symbolic-links TRUE ++sync-binlog 0 ++sync-frm TRUE ++sync-master-info 10000 ++sync-relay-log 10000 ++sync-relay-log-info 10000 ++sysdate-is-now FALSE ++system-time-zone UTC ++system-versioning-alter-history ERROR ++system-versioning-insert-history FALSE ++table-cache 2000 ++table-definition-cache 400 ++table-open-cache 2000 ++table-open-cache-instances 8 ++tc-heuristic-recover OFF ++tcp-keepalive-interval 0 ++tcp-keepalive-probes 0 ++tcp-keepalive-time 0 ++tcp-nodelay TRUE ++temp-pool FALSE ++thread-cache-size 151 ++thread-handling one-thread-per-connection ++thread-pool-dedicated-listener FALSE ++thread-pool-exact-stats FALSE ++thread-pool-groups ON ++thread-pool-idle-timeout 60 ++thread-pool-max-threads 65536 ++thread-pool-oversubscribe 3 ++thread-pool-prio-kickup-timer 1000 ++thread-pool-priority auto ++thread-pool-queues ON ++thread-pool-size 2 ++thread-pool-stall-limit 500 ++thread-pool-stats ON ++thread-pool-waits ON ++thread-stack 299008 ++time-format %H:%i:%s ++tls-version TLSv1.1,TLSv1.2,TLSv1.3 ++tmp-disk-table-size 18446744073709551615 ++tmp-memory-table-size 16777216 ++tmp-table-size 16777216 ++tmpdir /tmp ++transaction-alloc-block-size 8192 ++transaction-isolation REPEATABLE-READ ++transaction-prealloc-size 4096 ++transaction-read-only FALSE ++unix-socket ON ++updatable-views-with-limit YES ++use-stat-tables PREFERABLY_FOR_QUERIES ++user-variables ON ++userstat FALSE ++verbose TRUE ++version VERSION ++version-comment Debian RELEASE ++version-compile-machine ARCH ++version-compile-os debian-linux-gnu ++version-malloc-library system ++version-source-revision ++version-ssl-library SSL-VERSION ++wait-timeout 28800 ++wsrep-OSU-method TOI ++wsrep-SR-store table ++wsrep-allowlist ++wsrep-auto-increment-control TRUE ++wsrep-causal-reads FALSE ++wsrep-certification-rules strict ++wsrep-certify-nonPK TRUE ++wsrep-cluster-address ++wsrep-cluster-name my_wsrep_cluster ++wsrep-convert-LOCK-to-trx FALSE ++wsrep-data-home-dir /var/lib/mysql/ ++wsrep-dbug-option ++wsrep-debug NONE ++wsrep-desync FALSE ++wsrep-dirty-reads FALSE ++wsrep-drupal-282555-workaround FALSE ++wsrep-forced-binlog-format NONE ++wsrep-gtid-domain-id 0 ++wsrep-gtid-mode FALSE ++wsrep-ignore-apply-errors 7 ++wsrep-load-data-splitting FALSE ++wsrep-log-conflicts FALSE ++wsrep-max-ws-rows 0 ++wsrep-max-ws-size 2147483647 ++wsrep-mode ++wsrep-mysql-replication-bundle 0 ++wsrep-new-cluster FALSE ++wsrep-node-address ++wsrep-node-incoming-address AUTO ++wsrep-node-name HOSTNAME ++wsrep-notify-cmd ++wsrep-on FALSE ++wsrep-patch-version wsrep_26.22 ++wsrep-provider none ++wsrep-provider-options ++wsrep-recover FALSE ++wsrep-reject-queries NONE ++wsrep-restart-slave FALSE ++wsrep-retry-autocommit 1 ++wsrep-slave-FK-checks TRUE ++wsrep-slave-UK-checks FALSE ++wsrep-slave-threads 1 ++wsrep-sst-auth (No default value) ++wsrep-sst-donor ++wsrep-sst-donor-rejects-queries FALSE ++wsrep-sst-method rsync ++wsrep-sst-receive-address AUTO ++wsrep-start-position 00000000-0000-0000-0000-000000000000:-1 ++wsrep-status-file ++wsrep-sync-wait 0 ++wsrep-trx-fragment-size 0 ++wsrep-trx-fragment-unit bytes ++ ++To see what variables a running server is using, type ++'SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES' instead of 'mysqld --verbose --help' or 'mariadbd --verbose --help'. diff --cc debian/tests/upstream index c48701864,000000000..3f5c4ab4e mode 100644,000000..100644 --- a/debian/tests/upstream +++ b/debian/tests/upstream @@@ -1,71 -1,0 +1,90 @@@ +#!/bin/sh +# autopkgtest check: Build and run the upstream test suite. +# (C) 2012 Canonical Ltd. +# Author: Daniel Kessel + +# running the mysql testsuite as described in: +# https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/959683 + +echo "Running test 'testsuite'" +set -e + - SKIP_TEST_LST="/tmp/skip-test.lst" ++MTR_SKIP_TEST_LIST=$(mktemp) +ARCH=$(dpkg --print-architecture) + +WORKDIR=$(mktemp -d) - trap 'rm -rf $WORKDIR $SKIP_TEST_LST' 0 INT QUIT ABRT PIPE TERM ++trap 'rm -rf $WORKDIR $MTR_SKIP_TEST_LIST' 0 INT QUIT ABRT PIPE TERM +cd "$WORKDIR" + +mkdir var +mkdir tmp + +echo "using vardir: $WORKDIR/var" +echo "using tmpdir: $WORKDIR/tmp" + - echo "Setting up skip-tests-list" ++# Disable native IO and force regular fsync() on selected architectures which ++# seem to sugger from random crashes that stem from Linux kernel incompatibility ++# (Debian Bug#1030510 and perhaps also Bug#1031656, MariaDB MDEV-30728, ++# https://lists.ozlabs.org/pipermail/linuxppc-dev/2023-March/256189.html) ++if [ "$ARCH" = "ppc64el" ] || [ "$ARCH" = "s390x" ] ++then ++ MTR_ARGUMENTS_APPEND="--mysqld=--loose-innodb-flush-method=fsync --mysqld=--loose-skip-innodb-use-native-aio" ++fi + - # Use unstable-tests list as base to skip all tests considered unstable - # or create an empty file if that upstream file does not exists on this branch - cp /usr/share/mysql/mysql-test/unstable-tests $SKIP_TEST_LST || touch $SKIP_TEST_LST ++echo "Setting up skip-tests-list" + - # Also use the arch specific skiplists if exist ++# Use the arch specific skiplists if exist, otherwise list is empty +if [ -f /usr/share/mysql/mysql-test/unstable-tests.$ARCH ] +then - cat /usr/share/mysql/mysql-test/unstable-tests.$ARCH >> $SKIP_TEST_LST ++ cat /usr/share/mysql/mysql-test/unstable-tests.$ARCH >> $MTR_SKIP_TEST_LIST +fi + +# Skip tests that cannot run properly on ci.debian.net / autopkgtests.ubuntu.com - cat >> $SKIP_TEST_LST << EOF ++cat >> $MTR_SKIP_TEST_LIST << EOF +binlog.binlog_server_start_options : Requires writable /usr +main.ctype_uca : Requires writable /usr +rpl.rpl_gtid_mode : Requires starting server as root ref http://bugs.mysql.com/bug.php?id=70517 +EOF + +# Skip tests that cannot run properly on Gitlab-CI +if [ ! -z "$GITLAB_CI" ] +then - cat >> $SKIP_TEST_LST << EOF ++ cat >> $MTR_SKIP_TEST_LIST << EOF +main.mysqld--help : For unknown reason table-cache is 4000 instead of default 421 +EOF +fi + +if [ "$ARCH" = "s390x" ] +then - echo "main.func_regexp_pcre : recursion fails on s390x https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1723947" >> $SKIP_TEST_LST ++ echo "main.func_regexp_pcre : recursion fails on s390x https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1723947" >> $MTR_SKIP_TEST_LIST +elif [ "$ARCH" = "armhf" ] || [ "$ARCH" = "i386" ] +then - echo "main.failed_auth_unixsocket : Test returns wrong exit code on armhf and i386 (but only in debci) https://jira.mariadb.org/browse/MDEV-23933" >> $SKIP_TEST_LST ++ echo "main.failed_auth_unixsocket : Test returns wrong exit code on armhf and i386 (but only in debci) https://jira.mariadb.org/browse/MDEV-23933" >> $MTR_SKIP_TEST_LIST ++fi ++ ++# Temporary workaround to ensure critical MariaDB uploads targeting Debian 13 ++# "Bookworm" don't get stuck on irrelevant lxcfs issue ++# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036818 ++if [ "$ARCH" = "armhf" ] || [ "$ARCH" = "armel" ] ++then ++ echo "run: skipped on armhf and armel due to Bug#1036818" ++ exit 0 +fi + +# Store skipped test list in artifacts so it can be viewed while debugging +# failed autopkgtest runs - cp -v $SKIP_TEST_LST $AUTOPKGTEST_ARTIFACTS ++cp -v $MTR_SKIP_TEST_LIST $AUTOPKGTEST_ARTIFACTS + +cd /usr/share/mysql/mysql-test +echo "starting mysql-test-tun.pl..." - eatmydata perl -I. ./mysql-test-run.pl --suite=main \ ++export MTR_PRINT_CORE=detailed ++eatmydata perl -I. ./mysql-test-run.pl \ ++ --force --testcase-timeout=120 --suite-timeout=540 --retry=3 \ ++ --verbose-restart --max-save-core=1 --max-save-datadir=1 \ ++ --parallel=auto --skip-rpl --suite=main \ ++ --skip-test-list=$MTR_SKIP_TEST_LIST \ + --vardir="$WORKDIR/var" --tmpdir="$WORKDIR/tmp" \ - --parallel=auto --skip-rpl \ - --force --skip-test-list=$SKIP_TEST_LST \ - --xml-report=$AUTOPKGTEST_ARTIFACTS/mysql-test-run-junit.xml $@ 2>&1 ++ --xml-report=$AUTOPKGTEST_ARTIFACTS/mysql-test-run-junit.xml \ ++ $MTR_ARGUMENTS_APPEND \ ++ $@ 2>&1 +echo "run: OK" diff --cc debian/unstable-tests.alpha index 000000000,000000000..722ed455e new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.alpha @@@ -1,0 -1,0 +1,2 @@@ ++main.alter_table_mdev539_maria : MDEV-23922 ++repair_symlink-5543 : MDEV-23920 diff --cc debian/unstable-tests.amd64 index 000000000,000000000..0809ed83d new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.amd64 @@@ -1,0 -1,0 +1,4 @@@ ++disks.disks : MDEV-21587 ++disks.disks_notembedded : MDEV-21587 ++type_test.type_test_double : MDEV-22243 ++unit.conc_connection : CONC-640: unit.conc_connection fails on test_conc21 diff --cc debian/unstable-tests.arm64 index 000000000,000000000..5b9a16f06 new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.arm64 @@@ -1,0 -1,0 +1,5 @@@ ++disks.disks : MDEV-21587 ++disks.disks_notembedded : MDEV-21587 ++main.strings : MDEV-26644 ++type_test.type_test_double : MDEV-22243 ++unit.conc_connection : CONC-640: unit.conc_connection fails on test_conc21 diff --cc debian/unstable-tests.armel index 000000000,000000000..7f9b5a69d new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.armel @@@ -1,0 -1,0 +1,1 @@@ ++main.partition_key_cache : MDEV-23427 diff --cc debian/unstable-tests.armhf index 000000000,000000000..4dc9cb443 new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.armhf @@@ -1,0 -1,0 +1,7 @@@ ++disks.disks : MDEV-21587 ++disks.disks_notembedded : MDEV-21587 ++main.xml : MDEV-21968 ++type_test.type_test_double : MDEV-22243 ++unit.conc_connection : CONC-640: unit.conc_connection fails on test_conc21 ++# The full test suite (including --big-test) has numerous failures on armhf and ++# MariaDB is in desperate need of a Raspberry PI enthusiast to analyze them diff --cc debian/unstable-tests.hppa index 000000000,000000000..f8e6f1adc new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.hppa @@@ -1,0 -1,0 +1,4 @@@ ++main.func_json_notembedded : MDEV-27955 / MDEV-30518 / https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006529 (timeout) ++main.index_intersect : MDEV-23921 ++main.large_pages : MDEV-30572 ++repair_symlink-5543 : MDEV-23920 diff --cc debian/unstable-tests.hurd index 000000000,000000000..dbc096bee new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.hurd @@@ -1,0 -1,0 +1,1 @@@ ++# MDEV-8535: auth_socket does not build on hurd-i368 diff --cc debian/unstable-tests.m68k index 000000000,000000000..1d55cfdbf new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.m68k @@@ -1,0 -1,0 +1,3 @@@ ++# The m68k build on Debian runs in a qemu builder and has ++# DEB_BUILD_OPTIONS="nobench nocheck" defined, so *all* tests are skipped ++# intentionally (Bug#972057) diff --cc debian/unstable-tests.powerpc index 000000000,000000000..1707b100b new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.powerpc @@@ -1,0 -1,0 +1,2 @@@ ++main.func_json_notembedded : MDEV-30518 / MDEV-27955 ++main.kill : MDEV-30558 diff --cc debian/unstable-tests.ppc64 index 000000000,000000000..03c85c258 new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.ppc64 @@@ -1,0 -1,0 +1,1 @@@ ++main.func_json_notembedded : MDEV-30518 / MDEV-27955 diff --cc debian/unstable-tests.ppc64el index 000000000,000000000..c2b06b7cc new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.ppc64el @@@ -1,0 -1,0 +1,8 @@@ ++disks.disks : MDEV-21587 ++disks.disks_notembedded : MDEV-21587 ++innodb.create_isl_with_direct : Will always have result mismatch when MTR running with --mysqld=--loose-innodb-flush-method=fsync ++main.strings : MDEV-26644 ++spider.spider_fixes_part : MDEV-30929 ++sys_vars.innodb_flush_method_func : Will always have result mismatch when MTR running with --mysqld=--loose-innodb-flush-method=fsync ++type_test.type_test_double : MDEV-22243 ++unit.conc_connection : CONC-640: unit.conc_connection fails on test_conc21 diff --cc debian/unstable-tests.s390x index 000000000,000000000..956e93145 new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.s390x @@@ -1,0 -1,0 +1,15 @@@ ++main.func_json_notembedded : MDEV-30518 / MDEV-27955 ++disks.disks : MDEV-21587 ++disks.disks_notembedded : MDEV-21587 ++innodb.create_isl_with_direct : Will always have result mismatch when MTR running with --mysqld=--loose-innodb-flush-method=fsync ++innodb.row_size_error_log_warnings_3 : MDEV-30918 ++main.func_json_notembedded : MDEV-27955 / MDEV-30518 ++main.plugin_auth : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030510 ++main.statistics_upgrade_not_done : MDEV-30084 ++main.strings : MDEV-26644 ++perfschema.show_aggregate : MDEV-22962 ++rpl.rpl_perfschema_applier_status_by_worker : MDEV-26071 ++sys_vars.innodb_flush_method_func : Will always have result mismatch when MTR running with --mysqld=--loose-innodb-flush-method=fsync ++type_test.type_test_double : MDEV-22243 ++unit.aes : MDEV-30919 ++unit.conc_connection : CONC-640: unit.conc_connection fails on test_conc21 diff --cc debian/unstable-tests.sh4 index 000000000,000000000..1d55cfdbf new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.sh4 @@@ -1,0 -1,0 +1,3 @@@ ++# The m68k build on Debian runs in a qemu builder and has ++# DEB_BUILD_OPTIONS="nobench nocheck" defined, so *all* tests are skipped ++# intentionally (Bug#972057) diff --cc debian/unstable-tests.sparc64 index 000000000,000000000..8cb252f86 new file mode 100644 --- /dev/null +++ b/debian/unstable-tests.sparc64 @@@ -1,0 -1,0 +1,15 @@@ ++main.ctype_utf8mb4_innodb : MDEV-28052 ++main.features : MDEV-27954 ++main.func_json_notembedded : MDEV-27955 / MDEV-30518 ++main.func_like : MDEV-27954 ++main.func_math : MDEV-27954 ++main.func_str : MDEV-27954 ++main.group_by : MDEV-27954 ++main.group_by_null : MDEV-27954 ++main.implicit_commit : Bug#1007219 / MDEV-28052 ++main.long_unique_bugs : MDEV-28052 ++main.long_unique_bugs : MDEV-30928 ++main.partition_order : MDEV-27954 ++main.repair_symlink-5543 : MDEV-23920 ++main.type_datetime : MDEV-27954 ++main.xml : MDEV-27954 diff --cc debian/upstream/metadata index 000000000,000000000..184baa427 new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,6 @@@ ++Bug-Database: https://jira.mariadb.org ++Bug-Submit: https://jira.mariadb.org ++Donation: https://mariadb.org/donate/ ++Repository: git://github.com/MariaDB/server.git ++Repository-Browse: https://github.com/MariaDB/server ++Security-Contact: security@mariadb.org diff --cc debian/upstream/signing-key.asc index 000000000,000000000..caeb4e196 new file mode 100644 --- /dev/null +++ b/debian/upstream/signing-key.asc @@@ -1,0 -1,0 +1,86 @@@ ++-----BEGIN PGP PUBLIC KEY BLOCK----- ++ ++mQINBFb8EKsBEADwGmleOSVThrbCyCVUdCreMTKpmD5p5aPz/0jc66050MAb71Hv ++TVcfuMqHYO8O66qXLpEdqZpuk4D+rw1oKyC+d8uPD2PSHRqBXnR0Qf+LVTZvtO92 ++3R7pYnC2x6V6iVGpKQYFP8cwh2B1qgIa+9y/N8cQIqfD+0ghyiUjjTYek3YFBnqa ++L/2h2V0Mt0DkBrDK80LqEY10PAFDfJjINAW9XNHZzi2KqUx5w1z8rItokXV6fYE5 ++ItyGMR6WVajJg5D4VCiZd0ymuQP2bGkrRbl6FH5vofVSkahKMJeHs2lbvMvNyS3c ++n8vxoBvbbcwSAV1gvB1uzXXxv0kdkFZjhU1Tss4+Dak8qeEmIrC5qYycLxIdVEhT ++Z8N8+P7Dll+QGOZKu9+OzhQ+byzpLFhUHKys53eXo/HrfWtw3DdP21yyb5P3QcgF ++scxfZHzZtFNUL6XaVnauZM2lqquUW+lMNdKKGCBJ6co4QxjocsxfISyarcFj6ZR0 ++5Hf6VU3Y7AyuFZdL0SQWPv9BSu/swBOimrSiiVHbtE49Nx1x/d1wn1peYl07WRUv ++C10eF36ZoqEuSGmDz59mWlwB3daIYAsAAiBwgcmN7aSB8XD4ZPUVSEZvwSm/IwuS ++Rkpde+kIhTLjyv5bRGqU2P/Mi56dB4VFmMJaF26CiRXatxhXOAIAF9dXCwARAQAB ++tC1NYXJpYURCIFNpZ25pbmcgS2V5IDxzaWduaW5nLWtleUBtYXJpYWRiLm9yZz6J ++AjgEEwEIACIFAlb8EKsCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEPFl ++byTHTNHYJZ0P/2Z2RURRkSTHLKZ/GqSvPReReeB7AI+ZrDapkpG/26xp1Yw1isCO ++y99pvQ7hjTFhdZQ7xSRUiT/e27wJxR7s4G/ck5VOVjuJzGnByNLmwMjdN1ONIO9P ++hQAs2iF3uoIbVTxzXof2F8C0WSbKgEWbtqlCWlaapDpN8jKAWdsQsNMdXcdpJ2os ++WiacQRxLREBGjVRkAiqdjYkegQ4BZ0GtPULKjZWCUNkaat51b7O7V19nSy/T7MM7 ++n+kqYQLMIHCF8LGd3QQsNppRnolWVRzXMdtR2+9iI21qv6gtHcMiAg6QcKA7halL ++kCdIS2nWR8g7nZeZjq5XhckeNGrGX/3w/m/lwczYjMUer+qs2ww5expZJ7qhtSta ++lE3EtL/l7zE4RlknqwDZ0IXtxCNPu2UovCzZmdZm8UWfMSKk/3VgL8HgzYRr8fo0 ++yj0XkckJ7snXvuhoviW2tjm46PyHPWRKgW4iEzUrB+hiXpy3ikt4rLRg/iMqKjyf ++mvcE/VdmFVtsfbfRVvlaWiIWCndRTVBkAaTu8DwrGyugQsbjEcK+4E25/SaKIJIw ++qfxpyBVhru21ypgEMAw1Y8KC7KntB7jzpFotE4wpv1jZKUZuy71ofr7g3/2O+7nW ++LrR1mncbuT6yXo316r56dfKzOxQJBnYFwTjXfa65yBArjQBUCPNYOKr0iEYEEhEI ++AAYFAlb8JFYACgkQy8sIKhu5Q9snYACgh3id41CYTHELOQ/ymj4tiuFt1lcAn3JU ++9wH3pihM9ISvoeuGnwwHhcKniQIcBBIBCAAGBQJW/CSEAAoJEJFxGJmV5Fqe11cP ++/A3QhvqleuRaXoS5apIY3lrDL79Wo0bkydM3u2Ft9EqVVG5zZvlmWaXbw5wkPhza ++7YUjrD7ylaE754lHI48jJp3KY7RosClY/Kuk56GJI/SoMKx4v518pAboZ4hjY9MY ++gmiAuZEYx5Ibv1pj0+hkzRI78+f6+d5QTQ6y/35ZjSSJcBgCMAr/JRsmOkHu6cY6 ++qOpq4g8mvRAX5ivRm4UxE2gnxZyd2LjY2/S2kCZvHWVaZuiTD0EU1jYPoOo6fhc8 ++zjs5FWS56C1vp7aFOGBvsH3lwYAYi1K2S+/B4nqpitYJz/T0zFzzyYe7ZG77DXKD ++/XajD22IzRGKjoeVPFBx+2V0YCCpWZkqkfZ2Dt3QVW//QIpVsOJnmaqolDg1sxoa ++BEYBtCtovU0wh1pXWwfn7IgjIkPNl0AU8mW8Ll91WF+Lss/oMrUJMKVDenTJ6/ZO ++06c+JFlP7dS3YGMsifwgy5abA4Xy4GWpAsyEM68mqsJUc7ZANZcQAKr6+DryzSfI ++Olsn3kJzOtb/c3JhVmblEO6XzdfZJK/axPOp3mF1oEBoJ56fGwO2usgVwQDyLt3J ++iluJrCvMSBL9KtBZWrTZH5t3rTMN0NUALy4Etd6Y8V94i8c5NixMDyjRU7aKJAAw ++tUvxLd12dqtaXsuvGyzLbR4EDT/Q5DfLC1DZWpgtUtCViQIcBBIBCAAGBQJW/CS2 ++AAoJEEHdwLQNpW8iMUoP/AjFKyZ+inQTI2jJJBBtrLjxaxZSG5ggCovowWn8NWv6 ++bQBm2VurYVKhvY1xUyxoLY8KN+MvoeTdpB3u7z+M6x+CdfoTGqWQ2yapOC0eEJBF ++O+GFho2WE0msiO0IaVJrzdFTPE0EYR2BHziLu0DDSZADe1WYEqkkrZsCNgi6EMng ++mX2h+DK2GlC3W2tY9sc63DsgzjcMBO9uYmpHj6nizsIrETqouVNUCLT0t8iETa25 ++Mehq/I92I70Qfebv7R4eMrs+tWXKyPU0OjV+8b8saZsv1xn98UkeXwYx4JI04OTw ++nBeJG8yPrGDBO5iucmtaCvwGQ3c76qBivrA8eFz3azRxQYWWiFrkElTg+C/E83JQ ++WgqPvPZkI5UHvBwBqcoIXG15AJoXA/ZWIB8nPKWKaV5KDnY3DBuA4rh5Mhy3xwcC ++/22E/CmZMXjUUvDnlPgXCYAYU0FBbGk7JpSYawtNfdAN2XBRPq5sDKLLxftx7D8u ++ESJXXAlPxoRh7x1ArdGM+EowlJJ0xpINBaT0Z/Hk0jxNIFEak796/WeGqewdOIki ++dAs4tppUfzosla5K+qXfWwmhcKmpwA4oynE8wIaoXptoi8+rxaw4N6wAXlSrVxeC ++VTnb7+UY/BT2Wx6IQ10C9jrsj6XIffMvngIinCD9Czvadmr7BEIxKt1LP+gGA8Zg ++iQIcBBIBCgAGBQJYE6oDAAoJEL7YRJ/O6NqIJ24P+QFNa2O+Q1rLKrQiuPw4Q73o ++7/blUpFNudZfeCDpDbUgJ01u1RHnWOyLcyknartAosFDJIpgcXY5I8jsBIO5IZPR ++C/UKxZB3RYOhj49bySD9RNapHyq+Y56j9JUoz6tkKFBd+6g85Ej8d924xM1UnRCS ++9cfI9W0fSunbCi2CXLbXFF7V+m3Ou1SVYGIAxpMn4RXyYfuqeB5wROR2GA5Ef6T3 ++S5byh1dRSEgnrBToENtp5n7Jwsc9pDofjtaUkO854l45IqFarGjCHZwtNRKd2lcK ++FMnd1jS0nfGkUbn3qNJam1qaGWx4gXaT845VsYYVTbxtkKi+qPUIoOyYx4NEm6fC ++ZywH72oP+fmUT/fbfSHa5j137dRqokkR6RFjnEMBl6WHwgqqUqeIT6t9uV6WWzX9 ++lNroZFAFL/de7H31iIRuZcm38DUZOfjVf9glweu4yFvuJ7cQtyQydFQJV4LGDT/C ++8e9TWrV1/gWMyMGQlZsRWa+h+FfFUccQtfSdXpvSxtXfop+fVQmJgUUl92jh4K9j ++c9a6rIp5v1Q1yEgs2iS50/V/NMSmEcE1XMOxFt9fX9T+XmKAWZ8L25lpILsHT3mB ++VWrpHdbawUaiBp9elxhn6tFiTFR7qA7dlUyWrI+MMlINwSZ2AAXvmA2IajH/UIlh ++xotxmSNiZYIQ6UbD3fk4uQINBFb8EKsBEADDfCMsu2U1CdJhr4xp6z4J89/tMnpC ++QASC8DQhtZ6bWG/ksyKt2DnDQ050XBEng+7epzHWA2UgT0liY05zZmFs1X7QeZr1 ++6B7JANq6fnHOdZB0ThS7JEYbProkMxcqAFLAZJCpZT534GpzW7qHwzjV+d13IziC ++Hdi6+DD5eavYzBqY8QzjlOXbmIlY7dJUCwXTECUfirc6kH86CS8fXZTke4QYZ55V ++nrOomB4QGqP371kwBETnhlhi74+pvi3jW05Z5x1tVMwuugyzzkseZp1VYmJq5SHN ++FZ/pnAQLE9gUDTb6UWcPBwQh9Sw+7ahSK74lJKYm3wktyvZhzAxbNyzs1M56yeFP ++6uFwJTBfNByyMAa6TGUhNkxlLcYjxKbVmoAnKCVM8t41TlLv/a0ki8iQxqvphVLu ++fksR9IpN6d3F15j6GeyVtxBEv04iv4vbuKthWytb+gjX4bI8CAo9jGHevmtdiw/S ++beKx2YBM1MF6eua37rFMooOBj4X7VfQCyS+crNsOQn8nJGahYbzUDCCgnX+pqN9i ++ZvXisMS79wVyD5DyISFDvT/5jY7IXxPibxr10P/8lfW1d72uxyI2UiZKZpyHCt4k ++47yMq4KQGLGuhxJ6q6O3bi2aXRuz8bLqTBLca9dmx9wZFvRh6jS/SKEg7eFcY0xb ++b6RVIv1UwGDYfQARAQABiQIfBBgBCAAJBQJW/BCrAhsMAAoJEPFlbyTHTNHYEBIQ ++AJhFTh1u34Q+5bnfiM2dAdCr6T6w4Y1v9ePiIYdSImeseJS2yRglpLcMjW0uEA9K ++XiRtC/Nm/ClnqYJzCKeIaweHqH6dIgJKaXZFt1Uaia7X9tDDwqALGu97irUrrV1K ++h9IkM0J29Vid5amakrdS4mwt2uEISSnCi7pfVoEro+S7tYQ9iH6APVIwqWvcaty3 ++cANdwKWfUQZ6a9IQ08xqzaMhMp2VzhVrWkq3B0j2aRoZR7BNLH2I7Z0giIM8ARjZ ++s99aTRL+SfMEQ3sUxNLb3KWP/n1lSFbrk4HGzqUBBfczESlNc0970C6znK0H0HD1 ++1/3BTkMuPqww+Tzex4dpMQllMEKZ3wEyd9v6ba+nj/P1FHSEy/VN6IXzd82s1lYO ++onKTdmXAIROcHnb0QUzwsd/mhB3jKhEDOV2ZcBTD3yHv8m7C9G9y4hV+7yQlnPlS ++g3DjBp3SS5r+sOObCIy2Ad32upoXkilWa9g7GZSuhY9kyKqeEba1lgXXaQykEeqx ++0pexkWavNnb9JaPrAZHDjUGcXrREmjEyXyElRoD4CrWXySe46jCuNhVVlkLGo7os ++efynXa/+PNjQjURtx8en7M9A1FkQuRAxE8KIZgZzYxkGl5o5POSFCA4JUoRPDcrl ++/sI3fuq2dIOE/BJ2r8dV+LddiR+iukhXRwJXH8RVVEUS ++=Rwkv ++-----END PGP PUBLIC KEY BLOCK----- diff --cc debian/watch index 000000000,000000000..5dcffd6e6 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,17 @@@ ++version=4 ++opts=\ ++pgpsigurlmangle=s/$/.asc/,\ ++uversionmangle=s/-(rc|beta)/$1/,pasv \ ++https://archive.mariadb.org/mariadb-10.11.([\d\.]*(?:-beta|-rc)?)/source mariadb-([\d\.]*(?:-beta|-rc)?).tar.gz ++ ++# String "-10.11." needs to be in path as MariaDB releases several series in ++# parallel (e.g 10.11, 10.4, 10.3 etc) and uscan should check for updates only ++# in the 10.11-series. ++ ++# Automated signature checking with pgpsigurlmangle has been available ++# only since devscripts version 2.13.3 ++ ++# Specifically use archive.mariadb.org because it supports https and the main ++# page has a file listing suitable for scanning new releases. ++# The archive.mariadb.org service is under MariaDB Foundation control and is ++# the official source for new releases.