Skip to content

Commit ad4c920

Browse files
committed
revert mysqli prepared query
1 parent bc79bf3 commit ad4c920

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

system/Database/MySQLi/PreparedQuery.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
5656
* override this method.
5757
*
5858
* @param string $sql
59+
* @param array $options Passed to the connection's prepare statement.
60+
* Unused in the MySQLi driver.
5961
*
6062
* @return mixed
6163
*/
62-
public function _prepare(string $sql)
64+
public function _prepare(string $sql, array $options = [])
6365
{
6466
// Mysqli driver doesn't like statements
6567
// with terminating semicolons.

0 commit comments

Comments
 (0)