You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The card(c), card(p) and card(p, o) may be below zero, which is wrong. Maybe fixed by using the conditional UPDATE which would check if the counter is not less than the decrement.