Bugzilla – Attachment 41245 Details for
Bug 12372
Make koha-mysql handle arbitrary mysql arguments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12372: koha-mysql: process any mysql args
Bug-12372-koha-mysql-process-any-mysql-args.patch (text/plain), 1.16 KB, created by
Liz Rea
on 2015-07-31 04:07:27 UTC
(
hide
)
Description:
Bug 12372: koha-mysql: process any mysql args
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2015-07-31 04:07:27 UTC
Size:
1.16 KB
patch
obsolete
>From 2fad60dd076e4132cd16af23aedc750f2a0ce02c Mon Sep 17 00:00:00 2001 >From: Barton Chittenden <barton@bywatersolutions.com> >Date: Mon, 1 Jun 2015 15:29:14 -0700 >Subject: [PATCH] Bug 12372: koha-mysql: process any mysql args > >Signed-off-by: Ian Bays <ian.bays@ptfs-europe.com> >Signed-off-by: Liz Rea <liz@catalyst.net.nz> >--- > debian/scripts/koha-mysql | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-mysql b/debian/scripts/koha-mysql >index d1f9576..baf2d5c 100755 >--- a/debian/scripts/koha-mysql >+++ b/debian/scripts/koha-mysql >@@ -29,8 +29,9 @@ else > exit 1 > fi > >-[ "$#" = 1 ] || die "Usage: $0 instancename" >+is_instance "$1" || die "Usage: $0 instancename" > name="$1" >+shift # remove instance name from argument list. > kohaconfig="/etc/koha/sites/$name/koha-conf.xml" > > mysqlhost="$( xmlstarlet sel -t -v 'yazgfs/config/hostname' $kohaconfig )" >@@ -39,5 +40,5 @@ mysqluser="$( xmlstarlet sel -t -v 'yazgfs/config/user' $kohaconfig )" > mysqlpass="$( xmlstarlet sel -t -v 'yazgfs/config/pass' $kohaconfig )" > > mysql --host="$mysqlhost" --user="$mysqluser" --password="$mysqlpass" \ >- "$mysqldb" >+ "$mysqldb" "${@}" > >-- >1.9.1
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 12372
:
40322
|
40323
|
40379
|
40526
|
40527
|
41243
|
41244
|
41245
|
41246
|
41247
|
41366
|
41367
|
41368