]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 8 May 2013 14:00:58 +0000 (10:00 -0400)
commit254173bc21043b92cecd3037962da832175bcdcc
treef371ca113461e0ba4c5b635bf89c1a15cbbdc82a
parent36e06a151c718d7d905e4cb0b8d818c0b12f3b4d
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>
installer/data/mysql/updatedatabase.pl