[FEATURE] dbal: DBMS specific conversion between Meta/MySQL field types 38/40138/6
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 6 Jun 2015 16:43:57 +0000 (18:43 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 19 Jun 2015 09:43:21 +0000 (11:43 +0200)
commit873c2e60c4b8e0d27f26d53a91f6f0129f323593
tree7340ba0bfd978401e743dc3e8400c94783f95263
parent67b6c3308e6cdc5c4fa7bd5de71d4548e879d855
[FEATURE] dbal: DBMS specific conversion between Meta/MySQL field types

This patch changes the implementation of the methods that convert
between ADOdb meta field types and MySQL native field types to allow
overriding the conversion per data type.

The PostgresSpecifics provide better matching of BLOB, SERIAL, DOUBLE
and INTEGER types.

Resolves: #67290
Releases: master
Change-Id: Ieda2a2a26d411b031c2db96821d85e21b2ebb037
Reviewed-on: http://review.typo3.org/40138
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/dbal/Classes/Database/DatabaseConnection.php
typo3/sysext/dbal/Classes/Database/Specifics/AbstractSpecifics.php
typo3/sysext/dbal/Classes/Database/Specifics/Oci8.php [deleted file]
typo3/sysext/dbal/Classes/Database/Specifics/Oci8Specifics.php [new file with mode: 0644]
typo3/sysext/dbal/Classes/Database/Specifics/PostgresSpecifics.php [new file with mode: 0644]
typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionOracleTest.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseSpecificsPostgresqlTest.php [new file with mode: 0644]