Someone on irc had a very screwed up DB, and he reported that the updater gave a...
authorBrian Wolff <bawolff@users.mediawiki.org>
Thu, 23 Jun 2011 04:57:14 +0000 (04:57 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Thu, 23 Jun 2011 04:57:14 +0000 (04:57 +0000)
commit40969d5f47b61f245db52e0152a9e71557ee536b
treeb5ad1f18cbf4be1fb564c9401cfdceaeca9991d0
parent0e7320547063bc206a81b5e93f2ceee933cb219d
Someone on irc had a very screwed up DB, and he reported that the updater gave a fatal error
when trying to update (appearently did not have a recentchanges table, and one of the db
functions returned false, which the updater did not expect). Add check for that since I figure
an exception is much better than a fatal error.

The relavent error this potentially stops is:
Fatal error: Call to a member function isMultipleKey() on a non-object in /../includes/installer/MysqlUpdater.php on line 249"

Not sure if the updater should do something better than an exception, but it seems like
a much better situation than the fatal.

In practise, I think it is rare that this situation would arise.
RELEASE-NOTES-1.19
includes/installer/MysqlUpdater.php