Abstract out mysql_field_type() call from DatabaseBase
authorKevin Israel <pleasestand@live.com>
Sat, 7 Dec 2013 20:08:47 +0000 (15:08 -0500)
committerIAlex <codereview@emsenhuber.ch>
Sun, 15 Dec 2013 18:40:50 +0000 (18:40 +0000)
commitbc06a9b8b705b3069088e4dda5ee0a2b4c99e5e4
tree9ef87f155bea8c826ac75761f5ffd9ccdc0907b4
parent1e66d7840b318ba55ceec5000d1dc44b9e79e26a
Abstract out mysql_field_type() call from DatabaseBase

DatabaseMysqlBase::fieldType() is used in the maintenance script
convertLinks.php for upgrading from MediaWiki 1.2 or earlier. This
script was failing when the mysqli extension was enabled.

Follows-up b1cc3511fd7ab2d64432ee02, and 00299ecb9515.

Change-Id: I5d888f4dd344ecba15506023d35f6d2d6e24cfd8
includes/db/Database.php
includes/db/DatabaseMysql.php
includes/db/DatabaseMysqlBase.php
includes/db/DatabaseMysqli.php
tests/phpunit/includes/db/DatabaseMysqlBaseTest.php