Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[6.x] Fix handleBeginTransactionException method calling pdo property instead of getPdo() method #31233
Fix handleBeginTransactionException method calling pdo property instead of getPdo() method (#31230)
When connection to database is lost and transaction is retried, an exception is thrown.
The exception is thrown because of line 157 calling $this->pdo instead of $this->getPdo()
Same bug was detected in Laravel 5.3 but was not linked to the same file.
Steps To Reproduce:
Lose connection to database during transaction creation (hard to reproduce but easy to fix)