DBAL-762: [GH-491] Fix SQL Server drivers functional test suite and drivers #1991

doctrinebot opened this Issue Jan 4, 2014 · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of deeky666:

Url: #491


This should finally fix the functional test suites for SQL Server's sqlsrv and pdo_sqlsrv drivers. It introduces the following changes:

  • Support for custom classes and constructor arguments with \PDO::FETCH_CLASS fetch mode when using SQLSrvStatement::setFetchMode()
  • Fix fetch modes for SQLSrvStatement::fetchAll()
  • Fix SQLSrvStatement::fetchColumn() for empty result sets
  • Skip BlobTest for pdo_sqlsrv driver due to a bug in the driver when binding values to varbinary/blob type columns. See DBAL-122 and MSDN Post
  • Mention pdo_sqlsrv driver varbinary/blob limitations in documentation
  • Add sqlsrv driver configuration documentation
  • Fix schema manager functional test for retrieving column comments
  • Fix SQL Azure functional tests (referenced non-existent classes)
  • Fix PDOConnection::bindParam() signature's $driverOptions default value as pdo_sqlsrv driver errors with the wrong signature. See here

Please also note that the functional test suite will still fail if the underlying SQL Server database does not support SQL Azure as there currently is no reasonable way to distinguish those tests from SQL Server. Otherwise the tests now all pass!


Comment created by @doctrinebot:

A related Github Pull-Request [GH-491] was closed:


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@beberlei beberlei was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment