Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/FakePdoStatementTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,4 +601,9 @@ private function getExecutedSql(?array $params) : string

return $sql;
}

public function errorInfo(): array
{
return ['00000', 0, 'PHP MySQL Engine: errorInfo() not supported.'];
}
}
5 changes: 5 additions & 0 deletions src/FakePdoTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,9 @@ public function quote($string, $parameter_type = \PDO::PARAM_STR)

return "{$quotes[0]}{$quoted}{$quotes[1]}";
}

public function errorInfo(): array
{
return ['00000', 0, 'PHP MySQL Engine: errorInfo() not supported.'];
}
}