mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
6e2797ffc0
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) |
||
---|---|---|
.. | ||
Database.php | ||
DatabaseException.php | ||
DBConnector.php | ||
DBQueryBuilder.php | ||
DBSchemaManager.php | ||
MySQLDatabase.php | ||
MySQLiConnector.php | ||
MySQLQuery.php | ||
MySQLQueryBuilder.php | ||
MySQLSchemaManager.php | ||
MySQLStatement.php | ||
PDOConnector.php | ||
PDOQuery.php | ||
Query.php |