Commit 93aaa1b 1 parent ce45348 commit 93aaa1b Copy full SHA for 93aaa1b
File tree 3 files changed +0
-17
lines changed
tests/Doctrine/Tests/DBAL/Functional
3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ interfaces to use. It can be configured in one of three ways:
139
139
extension.
140
140
**Note that this driver caused problems in our tests. Prefer the oci8 driver if possible. **
141
141
- ``pdo_sqlsrv ``: A Microsoft SQL Server driver that uses pdo\_ sqlsrv PDO
142
- **Note that this driver caused problems in our tests. Prefer the sqlsrv driver if possible. **
143
142
- ``sqlsrv ``: A Microsoft SQL Server driver that uses the sqlsrv PHP extension.
144
143
- ``oci8 ``: An Oracle driver that uses the oci8 PHP extension.
145
144
- ``sqlanywhere ``: A SAP Sybase SQL Anywhere driver that uses the sqlanywhere PHP extension.
Original file line number Diff line number Diff line change @@ -179,14 +179,3 @@ liberal DateTime parser that detects the format automatically:
179
179
Type::overrideType('datetime_immutable', 'Doctrine\DBAL\Types\VarDateTimeImmutableType');
180
180
Type::overrideType('datetimetz_immutable', 'Doctrine\DBAL\Types\VarDateTimeImmutableType');
181
181
Type::overrideType('time_immutable', 'Doctrine\DBAL\Types\VarDateTimeImmutableType');
182
-
183
- PDO_SQLSRV: VARBINARY/BLOB columns
184
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185
-
186
- The ``PDO_SQLSRV `` driver currently has a bug when binding values to
187
- VARBINARY/BLOB columns with ``bindValue `` in prepared statements.
188
- This raises an implicit conversion from data type error as it tries
189
- to convert a character type value to a binary type value even if
190
- you explicitly define the value as ``ParameterType::LARGE_OBJECT `` type.
191
- Therefore it is highly encouraged to use the native ``sqlsrv ``
192
- driver instead which does not have this limitation.
Original file line number Diff line number Diff line change 3
3
namespace Doctrine \Tests \DBAL \Functional ;
4
4
5
5
use Doctrine \DBAL \Driver \OCI8 \Driver as OCI8Driver ;
6
- use Doctrine \DBAL \Driver \PDOSqlsrv \Driver as PDOSQLSrvDriver ;
7
6
use Doctrine \DBAL \FetchMode ;
8
7
use Doctrine \DBAL \ParameterType ;
9
8
use Doctrine \DBAL \Schema \AbstractSchemaManager ;
@@ -23,10 +22,6 @@ protected function setUp()
23
22
{
24
23
parent ::setUp ();
25
24
26
- if ($ this ->connection ->getDriver () instanceof PDOSQLSrvDriver) {
27
- $ this ->markTestSkipped ('This test does not work on pdo_sqlsrv driver due to a bug. See: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5a755bdd-41e9-45cb-9166-c9da4475bb94/how-to-set-null-for-varbinarymax-using-bindvalue-using-pdosqlsrv?forum=sqldriverforphp ' );
28
- }
29
-
30
25
/** @var AbstractSchemaManager $sm */
31
26
$ table = new Table ('blob_table ' );
32
27
$ table ->addColumn ('id ' , 'integer ' );
You can’t perform that action at this time.
0 commit comments