Fixed detection of unsigned mysql column in updater
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 18 Feb 2015 18:34:30 +0000 (19:34 +0100)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 5 Mar 2015 18:25:50 +0000 (18:25 +0000)
commitb21bf82bb1782106cfbeb1d7d8a9eedd07191f5b
tree4f12df38ba0f6708db8295485184059046e05462
parent0bf1384b16d6e5f88162458737a4eb46db9be447
Fixed detection of unsigned mysql column in updater

MediaWiki running with an old mysql or php without mysqli cannot
use the newly added flags property of Database::fieldInfo.
For backward compatibility add the missing properties using the flags
property to the result of Database::fieldInfo.

Added missing unsigned, numeric, blob and zerofill properties to the
MysqlField using flags in mysqli.
The missing fields in mysqli are taken from
http://php.net/manual/en/function.mysql-fetch-field.php

Follow-Up: I641dc1fad0a5bb14815f55e0357243a562fd672b
Change-Id: I1da904df72f8af7725fc7ff94121ef85b18a36f8
includes/db/DatabaseMysqlBase.php
includes/db/DatabaseMysqli.php
includes/installer/MysqlUpdater.php