[TASK] dbal: Move MySQL / DBMS field type translation into DBMS Specifics 54/39954/6
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Thu, 4 Jun 2015 18:32:12 +0000 (20:32 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 8 Jun 2015 07:10:52 +0000 (09:10 +0200)
commitb105919264b042b858a8ecd5bd75cf987521a596
tree9ac1b1f3a769bb6bc37fde77cbcc8ef7c9a6f8f3
parent9cbe74d05477b16e9ce923ef98517075d686f752
[TASK] dbal: Move MySQL / DBMS field type translation into DBMS Specifics

The function used by the DBAL provide a very coarse and generic translations
between the ADdb meta types and the MySQL native types. This results in
ambiguities that can't properly be resolved and leads to changes in the
install tool schema migration that can never be resolved.

The default DBMS specifics provided resemble the current output of the
functions and don't result in any changes to the DBMS schema.

Resolves: #67297
Related: #67290
Related: #67288
Releases: master
Change-Id: Id26a897c7f43520edd188e0bd2ddb158507c8049
Reviewed-on: http://review.typo3.org/39954
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-67297-DbalFieldTypeConversion.rst [new file with mode: 0644]
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php
typo3/sysext/dbal/Classes/Database/Specifics/AbstractSpecifics.php
typo3/sysext/dbal/Classes/Database/Specifics/Null.php [new file with mode: 0644]
typo3/sysext/dbal/Classes/Database/SqlParser.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseSpecificsTest.php [new file with mode: 0644]