Skip to content

Commit

Permalink
Removed quotes when setting isolation level for mysql connections
Browse files Browse the repository at this point in the history
  • Loading branch information
duxthefux committed Aug 10, 2020
1 parent 0c93bf3 commit 40b709d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Connectors/MySqlConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function configureIsolationLevel($connection, array $config)
}

$connection->prepare(
"SET SESSION TRANSACTION ISOLATION LEVEL '{$config['isolation_level']}'"
"SET SESSION TRANSACTION ISOLATION LEVEL {$config['isolation_level']}"
)->execute();
}

Expand Down

0 comments on commit 40b709d

Please sign in to comment.