* Delte unused method in SQLite lib.

This commit is contained in:
zhouxin
2023-06-26 14:25:58 +08:00
parent f9305cd491
commit 927d5c6c5b
-13
View File
@@ -54,7 +54,6 @@ class sqlite
$this->app = $app;
$this->mysql = $dbh;
$this->config = $config;
$this->magicQuote = (version_compare(phpversion(), '5.4', '<') and function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc());
$file = empty($params) || !isset($params->file) ? '' : $params->file;
$this->connectSqlite($file);
@@ -206,16 +205,4 @@ class sqlite
{
return $this->dbh->commit();
}
/**
* Execute sql without format.
*
* @param string $sql
* @access public
* @return mixed
*/
public function rawExec(string $sql)
{
return $this->dbh->exec($sql);
}
}