Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1956

Deadlock Issue (3 replies)

$
0
0
Hi Forum,

Please guide me for the below issue.

We have recently upgraded the mysql DB to version 5.5 and one of the application is throwing the exception of "Deadlock found when trying to get lock; try restarting transaction" with Mysql version 5.5. The procedure has multiple UPDATE statement as per below:

start transaction;
CASE
when condition_1 then
update table_1 ......
when condition_2 then
update table_1 .......
when condition_3 then
update table_1 ......
when condition_4 then
update table_1 .......
when condition_5 then
update table_1 ......
END CASE;

Viewing all articles
Browse latest Browse all 1956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>