From 1149ec656d3e9e5f15473393c9030b07ecf53604 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Wed, 21 Jun 2023 14:30:06 +0800 Subject: [PATCH] * Rename method. --- lib/sqlite/sqlite.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sqlite/sqlite.class.php b/lib/sqlite/sqlite.class.php index d9940d0303..9886a97ee7 100644 --- a/lib/sqlite/sqlite.class.php +++ b/lib/sqlite/sqlite.class.php @@ -178,7 +178,7 @@ class sqlite */ public function exec(string $sql) { - return $this->pushToQueue($sql); + return $this->dbh->exec($sql); } /** @@ -200,7 +200,7 @@ class sqlite * @access public * @return int|null */ - public function pushToQueue(string $sql): int|null + public function pushSqliteQueue(string $sql): int|null { $queue = "INSERT INTO" . TABLE_SQLITE_QUEUE; $queue .= " SET `sql` = " . $this->quote($sql);