Seeing this I though this thing was promoted, and for avoiding for the question becoming boring, I didn't answer it suddenly and waited and I did mentioned that I knew the answer, maybe it's just misunderstanding that I don't know the answer. Anyways, what's the state/condition regarding such things?
Self-answering a question means that you actually post an answer to your question, not that you had already solved the question in the past. Thus, your second link isn't a "self-answered question" by any measure.
Instead of editing the question to include an answer, it is best to post an answer to the question, and place a note in the question saying "this is a self-answered question." The note in the question reduces the likelihood that someone closes or downvotes by mistake.