Mysql – Executing stored procedure delete all rows from table despite WHERE clause setting
I created this little stored procedure that deletes a row from my 'qrcode' table. Due to the constraint, I update all child rows before, it works fine. However, performing this procedure....deletes all rows from the table!!!! I added a log…