Don't warn about max_allowed_packet if documents don't go in the DB.