[BUGFIX] dbal: return NULL/NOT NULL information in admin_get_fields() 51/40051/4
authorMorton Jonuschat <yabawock@gmail.com>
Sat, 6 Jun 2015 14:03:35 +0000 (16:03 +0200)
committerXavier Perseguers <xavier@typo3.org>
Wed, 10 Jun 2015 07:43:22 +0000 (09:43 +0200)
commit52cc7013cf76972c23678044f1add208d5e75c93
tree13cccc4734578bac7d24b63df16dddff7014294e
parentab13da3d0958e00991661c6f48c97fb4e430ddb2
[BUGFIX] dbal: return NULL/NOT NULL information in admin_get_fields()

MySQL returns a YES/NO string for every field to determine if NULL values
are allowed in the field. The DBAL version of admin_get_fields always
returned an empty string although the required details are returned by
ADOdb drivers. Make this information available.

Resolves: #67298
Releases: master
Change-Id: I6892783aced1e574cb6f5702da067f4e6e867529
Reviewed-on: http://review.typo3.org/40051
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/dbal/Classes/Database/Specifics/AbstractSpecifics.php