Skip to content

Commit

Permalink
FIX MultipleActiveResultSets is required
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Oct 13, 2020
1 parent 732553c commit cc80227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MSSQLAzureDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function connectDatabase($database)
{
$parameters = $this->parameters;
$parameters['database'] = $database;
$parameters['multipleactiveresultsets'] = 0;
$parameters['multipleactiveresultsets'] = 1;

// Ensure that driver is available (required by PDO)
if (empty($parameters['driver'])) {
Expand Down

0 comments on commit cc80227

Please sign in to comment.