I\'ve been getting a Deadlock found when trying to get lock; try restarting transaction error on my InnoDB tables. Here is the query:
Deadlock found when trying to get lock; try restarting transaction
UPDATE views
Here is good documentation about handling InnoDB deadlocks.
PS: I didn't have anything more to add so just gave you the link.