Merge pull request #60 from chrometoasters/pulls/transaction-mode-not-supported

Override transaction mode support check method
This commit is contained in:
Sam Minnée 2019-09-25 10:03:09 +12:00 committed by GitHub
commit c95b0105f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'])) {