mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MINOR Update on compatibility of MSSQLAzureDatabase
This commit is contained in:
parent
058c29bf69
commit
9a86a6d9a5
@ -1,8 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Specific support for SQL Azure databases running on Windows Azure.
|
* Specific support for SQL Azure databases running on Windows Azure.
|
||||||
* "sqlsrv" for PHP MUST be installed to use SQL Azure. It does not support
|
* Currently only supports the SQLSRV driver from Microsoft.
|
||||||
* the mssql_*() functions in PHP, as SQL Azure is Windows only.
|
|
||||||
*
|
*
|
||||||
* Some important things about SQL Azure:
|
* Some important things about SQL Azure:
|
||||||
*
|
*
|
||||||
@ -42,7 +41,6 @@ class MSSQLAzureDatabase extends MSSQLDatabase {
|
|||||||
$this->tableList = $this->fieldList = $this->indexList = null;
|
$this->tableList = $this->fieldList = $this->indexList = null;
|
||||||
$this->database = $parameters['database'];
|
$this->database = $parameters['database'];
|
||||||
$this->active = true;
|
$this->active = true;
|
||||||
$this->mssql = false; // mssql functions don't work with this database
|
|
||||||
$this->fullTextEnabled = false;
|
$this->fullTextEnabled = false;
|
||||||
|
|
||||||
$this->query('SET QUOTED_IDENTIFIER ON');
|
$this->query('SET QUOTED_IDENTIFIER ON');
|
||||||
|
Loading…
Reference in New Issue
Block a user