mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
Merge pull request #60 from chrometoasters/pulls/transaction-mode-not-supported
Override transaction mode support check method
This commit is contained in:
commit
c95b0105f5
@ -460,6 +460,19 @@ class SQLite3Database extends Database
|
||||
return version_compare($this->getVersion(), '3.6', '>=');
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this database support transaction modes?
|
||||
*
|
||||
* SQLite doesn't support transaction modes.
|
||||
*
|
||||
* @param string $mode
|
||||
* @return bool
|
||||
*/
|
||||
public function supportsTransactionMode(string $mode): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function supportsExtensions($extensions = array('partitions', 'tablespaces', 'clustering'))
|
||||
{
|
||||
if (isset($extensions['partitions'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user