Andrew O'Neil 6e2797ffc0 Fixes for using dblib PDO driver.
These fixes allow *nix environments to connect to SQL Server using
the dblib PDO driver and the silverstripe mssql module.

  - Only set MYSQL_ATTR_INIT_COMMAND when using the mysql driver, this
    constant isn't defined if the mysql pdo driver isn't installed
  - Supress warnings on getting the server version, attributes aren't
    supported by the dblib driver
  - Explicitly check for errors on sql exec, checking the return
    value isn't reliable for statements with no return value (e.g.
    USE database)
2017-02-10 10:20:16 +11:00
..
2017-02-10 10:20:16 +11:00
2016-10-04 13:56:12 -07:00
2014-08-19 09:17:15 +12:00
2016-12-22 13:18:37 +13:00
2017-02-08 10:01:14 +13:00
2016-10-27 16:14:01 +01:00
2016-11-22 11:31:39 +00:00