-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction still active with sqlsrv driver. #1882
Comments
It is happending to me also. I have only tested this using Capsule. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]A transaction that was started in a MARS batch is still active at the end of the batch. The transaction is rolled back.' in C:\caseon.dk\cn.new.caseon.dk\vendor\illuminate\database\Illuminate\Database\SqlServerConnection.php:15 Stack trace: |
I have a solution for this in pull #1883. |
This should be fixed. |
Using DB::transaction() with the Windows pdo_sqlsrv driver causes this error to appear:
SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]A transaction that was started in a MARS batch is still active at the end of the batch. The transaction is rolled back.
The text was updated successfully, but these errors were encountered: