Skip to content

Commit 13a2b86

Browse files
authored
Merge pull request #1 from chadicus/bug/double-quotes
Use single quotes for string literal
2 parents 47219b9 + 54b142c commit 13a2b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/Driver/MySql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getPrimaryKey($tableName)
3535
if (!isset($this->primaryKeys[$tableName])) {
3636
$primaryKey = [];
3737
$stmt = $this->getDbh()->query(
38-
'SHOW KEYS FROM ' . $this->getQuotedName($tableName) . ' WHERE Key_name = "PRIMARY"'
38+
'SHOW KEYS FROM ' . $this->getQuotedName($tableName) . " WHERE Key_name = 'PRIMARY'"
3939
);
4040
$columns = $stmt->fetchAll(\PDO::FETCH_ASSOC);
4141

0 commit comments

Comments
 (0)