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.
2 parents 47219b9 + 54b142c commit 13a2b86Copy full SHA for 13a2b86
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