There is an error on the SQL command.

SQL:
DELETE FROM fbz_imoveis WHERE ORIGEM = 0 and codigo in (0000000000860,0000000001156,0000000001478)

Error:
MySQL server has gone away