MysqliDriver::hasIndex() uses SHOW INDEX ... WHERE Key_name = ? over the prepared-statement protocol, which Dolt rejects. Fix by querying information_schema.statistics instead.
Also the $table-parameter is interpolated unfiltered into the query string.
MysqliDriver::hasIndex() uses SHOW INDEX ... WHERE Key_name = ? over the prepared-statement protocol, which Dolt rejects. Fix by querying information_schema.statistics instead.
Also the
$table-parameter is interpolated unfiltered into the query string.