gnu: MariaDB: Update to 10.1.44.

* gnu/packages/databases.scm (mariadb): Update to 10.1.44.
[arguments]: Add substitution for hard coded file name.  Disable test that
depends on the existence of 'root@hostname' user.
This commit is contained in:
Marius Bakke 2020-02-12 17:40:49 +01:00
parent cf99239cee
commit e313327ee8
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -689,7 +689,7 @@ (define-public mysql
(define-public mariadb (define-public mariadb
(package (package
(name "mariadb") (name "mariadb")
(version "10.1.43") (version "10.1.44")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://downloads.mariadb.com/MariaDB" (uri (string-append "https://downloads.mariadb.com/MariaDB"
@ -697,7 +697,7 @@ (define-public mariadb
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1pxyq37q4p7515by7k8hs3l3css68f3bm3akx99vw4m1rxwwbm63")) "0fah6d50hldq0farxwr8mj3jnniwdz0d1wsha07nx37fc79h7wi1"))
(patches (search-patches "mariadb-client-test-32bit.patch")) (patches (search-patches "mariadb-client-test-32bit.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
@ -789,6 +789,7 @@ (define-public mariadb
;; See <https://jira.mariadb.org/browse/MDEV-7761>. ;; See <https://jira.mariadb.org/browse/MDEV-7761>.
"main.join_cache" "main.join_cache"
"main.explain_non_select" "main.explain_non_select"
"main.stat_tables"
"main.stat_tables_innodb" "main.stat_tables_innodb"
"roles.acl_statistics" "roles.acl_statistics"
@ -824,6 +825,10 @@ (define-public mariadb
(("latin1_swedish_ci") "utf8_general_ci") (("latin1_swedish_ci") "utf8_general_ci")
(("\tlatin1") "\tutf8")) (("\tlatin1") "\tutf8"))
(substitute* "mysql-test/suite/binlog/t/binlog_mysqlbinlog_stop_never.test"
(("/bin/bash")
(which "bash")))
(substitute* "mysql-test/mysql-test-run.pl" (substitute* "mysql-test/mysql-test-run.pl"
(("/bin/ls") (which "ls")) (("/bin/ls") (which "ls"))
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))