Updated assignment-function by adding real_escape_string to delete function