I can't find an answer for my question. I hope I won't make a duplicate.
So, let's say I have exactly 10 rows with row_parent_id = 3
.
It is possible that mysql, on command DELETE FROM table WHERE row_parent_id = 3
, to delete only 9 rows because ... an error on mysql?
If yes, if some error can occur and the query will delete only 9 rows, then that means I must count rows before any delete action?
If no, then I can trust mysql?
PS: I'm using PDO and prepared statements. I just don't understand if is necessary to count rows before delete. I want to make sure all rows are deleted as I ask.