We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47219b9 commit 54b142cCopy full SHA for 54b142c
src/Codeception/Lib/Driver/MySql.php
@@ -35,7 +35,7 @@ public function getPrimaryKey($tableName)
35
if (!isset($this->primaryKeys[$tableName])) {
36
$primaryKey = [];
37
$stmt = $this->getDbh()->query(
38
- 'SHOW KEYS FROM ' . $this->getQuotedName($tableName) . ' WHERE Key_name = "PRIMARY"'
+ 'SHOW KEYS FROM ' . $this->getQuotedName($tableName) . " WHERE Key_name = 'PRIMARY'"
39
);
40
$columns = $stmt->fetchAll(\PDO::FETCH_ASSOC);
41
0 commit comments