Bugzilla – Attachment 1868 Details for
Bug 4141
reconcile 3.0.x and HEAD database updates for 3.2.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Partial fix
0001--3.2-Bug-4141-Reconcile-3.0.x-and-HEAD-database-upd.patch (text/plain), 1.38 KB, created by
Chris Cormack
on 2010-05-12 01:48:00 UTC
(
hide
)
Description:
Partial fix
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-05-12 01:48:00 UTC
Size:
1.38 KB
patch
obsolete
>From dd1f31795eb3062264b2acaf087eb83a9d568db9 Mon Sep 17 00:00:00 2001 >From: Chris Nighswonger <chris.nighswonger@gmail.com> >Date: Wed, 12 May 2010 13:40:47 +1200 >Subject: [PATCH] [3.2] Bug 4141 Reconcile 3.0.x and HEAD database updates for 3.2.0 >Content-Type: text/plain; charset="utf-8" > >This is a partial fix addressing this error: > >You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at /home/koha/koha.prod/installer/data/mysql/updatedatabase.pl line 2916., referer: http://koha-staff.foobar.org/cgi-bin/koha/installer/install.pl > >If there are no records in aqbudgets the result is an empty array which causes the sql to attempt to set AUTOINCREMENT to null. > >This patch is being submitted on behalf of the Maupa Community Library. >--- > installer/data/mysql/updatedatabase.pl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 89b8c0f..53fec36 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -2913,6 +2913,8 @@ BUDGETNAME > SELECT MAX(aqbudgetid) from aqbudgets > IDsBUDGET > >+$$maxbudgetid[0] = 0 if !$$maxbudgetid[0]; >+ > $dbh->do(<<BUDGETAUTOINCREMENT); > ALTER TABLE `aqbudgets` AUTO_INCREMENT=$$maxbudgetid[0] > BUDGETAUTOINCREMENT >-- >1.5.6.5 >
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 4141
:
1866
|
1867
|
1868
|
1869