mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
API CHANGE: database extensions now supported by MSSQL
This commit is contained in:
parent
ad3c2d91be
commit
fb5dc5c298
@ -1311,6 +1311,22 @@ class MSSQLDatabase extends Database {
|
|||||||
public function supportsTransactions(){
|
public function supportsTransactions(){
|
||||||
return $this->supportsTransactions;
|
return $this->supportsTransactions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is a quick lookup to discover if the database supports particular extensions
|
||||||
|
* Currently, MSSQL supports no extensions
|
||||||
|
*/
|
||||||
|
public function supportsExtensions($extensions=Array('partitions', 'tablespaces', 'clustering')){
|
||||||
|
if(isset($extensions['partitions']))
|
||||||
|
return false;
|
||||||
|
elseif(isset($extensions['tablespaces']))
|
||||||
|
return false;
|
||||||
|
elseif(isset($extensions['clustering']))
|
||||||
|
return false;
|
||||||
|
else
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Start a prepared transaction
|
* Start a prepared transaction
|
||||||
* See http://developer.postgresql.org/pgdocs/postgres/sql-set-transaction.html for details on transaction isolation options
|
* See http://developer.postgresql.org/pgdocs/postgres/sql-set-transaction.html for details on transaction isolation options
|
||||||
|
Loading…
Reference in New Issue
Block a user