Bugzilla – Attachment 50782 Details for
Bug 16361
Installer syntax error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16361: Installer syntax error
Bug-16361-Installer-syntax-error.patch (text/plain), 1.24 KB, created by
Liz Rea
on 2016-04-27 02:26:16 UTC
(
hide
)
Description:
Bug 16361: Installer syntax error
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2016-04-27 02:26:16 UTC
Size:
1.24 KB
patch
obsolete
>From 8060e1bad1ea7089ff4e33332d2466d1bfd94b15 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Tue, 26 Apr 2016 23:08:07 -0300 >Subject: [PATCH] Bug 16361: Installer syntax error > >Bug 16354 introduces a syntax error on updatedatabase.pl >see comment #5 there > >To test >1) Check error on update 3.23.00.051 >2) Apply the patch >3) run updatedabase again (perhaps changing 051 to XXX) > >Signed-off-by: Liz Rea <liz@catalyst.net.nz> >happy again! >--- > installer/data/mysql/updatedatabase.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 1f1c5a0..a6eac32 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -12350,7 +12350,9 @@ $dbh->do(q{ > DROP FOREIGN KEY emfk_vendor, > DROP FOREIGN KEY emfk_edi_acct, > DROP FOREIGN KEY emfk_basketno; >+ }); > >+$dbh->do(q{ > ALTER TABLE edifact_messages > ADD CONSTRAINT emfk_vendor FOREIGN KEY ( vendor_id ) REFERENCES aqbooksellers ( id ) ON DELETE CASCADE ON UPDATE CASCADE, > ADD CONSTRAINT emfk_edi_acct FOREIGN KEY ( edi_acct ) REFERENCES vendor_edi_accounts ( id ) ON DELETE CASCADE ON UPDATE CASCADE, >-- >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 16361
:
50779
|
50780
|
50782
|
50786