mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update sqlite.php
This commit is contained in:
parent
c6039e413d
commit
4f98d80dd4
10
library/includes/cache/sqlite.php
vendored
10
library/includes/cache/sqlite.php
vendored
@ -296,6 +296,16 @@ class sqlite_common extends cache_common
|
||||
return SQLite3::escapeString($str);
|
||||
}
|
||||
|
||||
function close ()
|
||||
{
|
||||
return @$this->dbh->close();
|
||||
}
|
||||
|
||||
function busy ($timeout)
|
||||
{
|
||||
return @$this->dbh->busyTimeout($timeout);
|
||||
}
|
||||
|
||||
function get_error_msg ()
|
||||
{
|
||||
return 'SQLite error #'. ($err_code = $this->dbh->lastErrorCode()) .': '. $this->dbh->lastErrorMsg();
|
||||
|
Loading…
Reference in New Issue
Block a user