- on database update, execute garbage_collection(). This ensures a proper closed...
commitce73b313c5f8d33acb3fa8c6156e49ca6a85ded3
authoracydburn <acydburn@89ea8834-ac86-4346-8a33-228a782c2dd0>
Thu, 6 Dec 2007 08:55:19 +0000 (6 08:55 +0000)
committeracydburn <acydburn@89ea8834-ac86-4346-8a33-228a782c2dd0>
Thu, 6 Dec 2007 08:55:19 +0000 (6 08:55 +0000)
tree65d10acd0fe9fdd885382c70b2a1bac85da69800
parentf71b28aaaa66735576aa216fd6bc15e59006b05d
- on database update, execute garbage_collection(). This ensures a proper closed db and written cache
- on sql errors returning (and not triggering an error) execute the rollback too

both "bugs" resulted in transactions left open if a query returned an error on database update preventing a clean update. Symptoms being for example oracle users not having all database info updated, the version number not changing or config variables not written.

git-svn-id: http://code.phpbb.com/svn/phpbb/trunk@8270 89ea8834-ac86-4346-8a33-228a782c2dd0
phpBB/includes/db/dbal.php
phpBB/install/database_update.php