mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
APICHANGE: version() return full version
This commit is contained in:
parent
36acc3deec
commit
cc0592f78f
@ -138,7 +138,7 @@ class SQLite3Database extends SS_Database {
|
|||||||
if(!$this->sqliteVersion) {
|
if(!$this->sqliteVersion) {
|
||||||
$db_version=$this->query("SELECT sqlite_version()")->value();
|
$db_version=$this->query("SELECT sqlite_version()")->value();
|
||||||
|
|
||||||
$this->sqliteVersion = (float)$db_version;
|
$this->sqliteVersion = $db_version;
|
||||||
}
|
}
|
||||||
return $this->sqliteVersion;
|
return $this->sqliteVersion;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user