Last active
December 15, 2015 15:17
-
-
Save mpchadwick/82037f4f14c634e15fc6 to your computer and use it in GitHub Desktop.
Simulate a Deadlock in Magento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the following queries | |
set transaction isolation level serializable; | |
# In the admin | |
start transaction; | |
select * from core_config_data; | |
# load the system configuration | |
# On the frontend | |
start transaction; | |
select * from sales_flat_quote for update; | |
# Update a shopping cart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment