Bugzilla – Attachment 64557 Details for
Bug 18564
koha-common.cnf parsing is too restrictive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18564: MariaDB doesn't have a debian.cnf file
Bug-18564-MariaDB-doesnt-have-a-debiancnf-file.patch (text/plain), 836 bytes, created by
Mark Tompsett
on 2017-06-22 22:49:14 UTC
(
hide
)
Description:
Bug 18564: MariaDB doesn't have a debian.cnf file
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-06-22 22:49:14 UTC
Size:
836 bytes
patch
obsolete
>From e9837b08b22e7c658e40d04e7c6c358edd78e295 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 22 Jun 2017 22:40:29 +0000 >Subject: [PATCH] Bug 18564: MariaDB doesn't have a debian.cnf file > >The koha-common.cnf file is a link to debian.cnf, which MariaDB >does not install. This just forces a 'localhost' return value. >--- > debian/scripts/koha-create | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 503f365..810ad2b 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -122,6 +122,12 @@ generate_config_file() { > } > > getmysqlhost() { >+ if [ ! -f /etc/mysql/debian.cnf ] >+ then >+ echo localhost >+ return >+ fi >+ > awk ' > BEGIN { FS="=" } > $1 ~/\[/ { inclient=0 } >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18564
:
63501
|
64557
|
67371
|
68315