Bug 4141 Reconcile 3.0.x and HEAD database updates for 3.2.0
authorChris Nighswonger <cnighswonger@foundations.edu>
Wed, 12 May 2010 12:00:50 +0000 (08:00 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 12 May 2010 12:05:22 +0000 (08:05 -0400)
commit72cc96c1ebc2ff84d69266c3206dbeb3f88ebcac
treeb01e25a394cf760c115534bb44ae7d3415faf7b2
parentdd1ad2d3eba9650afbbb6633b3767107622f25d4
Bug 4141 Reconcile 3.0.x and HEAD database updates for 3.2.0

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 Mapua Community Library.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
installer/data/mysql/updatedatabase.pl