MySQL does not support the SELECT ... INTO ... syntax.
#1327 - Undeclared variable: newsletter_to_send:
SELECT f.id, f.name INTO ABAB1 FROM friend_status f WHERE f.name = 'John';
right:
INSERT INTO abab(id,name) SELECT f.id, f.name FROM friend_status f WHERE f.name = 'John';