There is an error on the SQL command.

SQL:
DELETE FROM fbz_imoveis WHERE ORIGEM = 0 and codigo in (0000000001050)

Error:
MySQL server has gone away