]> git.koha-community.org Git - koha.git/commit
Bug 10185: Fix update 3.09.00.025
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 3 May 2013 15:20:17 +0000 (17:20 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 12 May 2013 03:16:41 +0000 (15:16 +1200)
commit84d55391cdf74b2ebe5415d62cd76148d2182e66
tree5835a9a6f8ac0062abb85ceff583fee8def640e9
parentbaa2d7f049760b9ad147e6b9bbe3f2ec64fc687a
Bug 10185: Fix update 3.09.00.025

It can remove all reserves from reserves table when there is no entries
in old_reserves.
This is due to @ai which is set to NULL in
  SET @ai = ( SELECT MAX( reserve_id ) FROM tmp_reserves )
and reserve_id > NULL returns no results in
  INSERT INTO reserves SELECT * FROM tmp_reserves WHERE reserve_id > @ai

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test plan and comments on second patch.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 37c52367b08f30514483b02a387cb5a463ea15d0)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 254173bc21043b92cecd3037962da832175bcdcc)

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
installer/data/mysql/updatedatabase.pl