integ/database/mariadb/centos/files/mariadb-covscan.patch
Dongqi Chen 561842194b CentOS 8: Upgrade mariadb to version 10.3.17
(1)Release Version Upgrade

(2)Fix spec to remove TokuDB related compilation errors

(3)Extract the files in srpm to replace the 'centos/files/' directory

Story: 2006729
Task: 38764
Depends-On: https://review.opendev.org/#/c/734429/

Change-Id: I4c1543440027a90edf0d1653b61deea0d9a104cd
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2020-06-12 13:49:35 +08:00

20 lines
718 B
Diff

Error: SHELLCHECK_WARNING:
/usr/bin/mysql_install_db:431:10: warning: Remove backticks to avoid executing output. [SC2092]
# 429| if test ! -d "$dir"
# 430| then
# 431|-> if ! `mkdir -p "$dir"`
# 432| then
# 433| echo "Fatal error Can't create database directory '$dir'"
--- mariadb-10.3.10/scripts/mysql_install_db.sh 2018-10-02 11:45:42.000000000 +0200
+++ mariadb-10.3.10/scripts/mysql_install_db.sh_patched 2018-11-14 10:06:54.868469138 +0100
@@ -428,7 +428,7 @@ for dir in "$ldata" "$ldata/mysql"
do
if test ! -d "$dir"
then
- if ! `mkdir -p "$dir"`
+ if ! mkdir -p "$dir"
then
echo "Fatal error Can't create database directory '$dir'"
link_to_help