Actually ?1 is a valid SQLite set to assign the first parameter to both like $1

This commit is contained in:
Clemens Schwaighofer
2025-07-17 16:55:59 +09:00
parent 8574175e78
commit 1b387baea9

View File

@@ -174,10 +174,10 @@ class SqLite implements SQL\Interface\DatabaseInterface
sqlite_schema AS m,
pragma_index_list(m.name) AS il,
pragma_index_info(il.name) AS ii
WHERE m.name = ?
WHERE m.name = ?1
) AS il_ii ON (ti.cid = il_ii.tbl_cid)
WHERE
m.name = ?
m.name = ?1
SQL;
while (is_array($row = $this->dbReturnArray($query, [$table]))) {
$table_info[] = [