diff --git a/code/SQLite3Database.php b/code/SQLite3Database.php index 8834d9e..86389c1 100644 --- a/code/SQLite3Database.php +++ b/code/SQLite3Database.php @@ -37,13 +37,6 @@ class SQLite3Database extends SS_Database { */ protected $parameters; - /* - * Actually SQLite supports transactions (they are used below), but they - * work signifficantly different to the transactions in Postgres on which - * the unit test are based upon... ;( - */ - protected $supportsTransactions=true; - /* * if we're on a In-Memory db */ @@ -947,7 +940,7 @@ class SQLite3Database extends SS_Database { * Does this database support transactions? */ public function supportsTransactions(){ - return $this->supportsTransactions; + return !($this->getVersion() < 3.6); } /*