I did some poking around meta looking for an answer to this fairly specific question, but my search didn't turn anything up. Essentially, I would like to know how SO handles questions that are resolved when the Poster finds an issue elsewhere in their code.
For example this Poster asks a seemingly valid question, then realizes the error is in another section of the code not posted to the SO question, and submits an answer explaining this.
I would argue this is the proper course of action, as he or she realized the mistake and made sure people didn't keep posting suggestions. My question is now that the issue is resolved for the Poster, should the post be deleted? Is it up to the Poster to do so, or is it a job for a moderator?
On the other hand: is this worth something in it's own merit? I understand that maybe others with the exact same problem would find this question and it might prompt them to consider looking at their database implementations, but it's not really a specific answer, nor does it contribute much to the conversation.
For these types of questions/answers (which I concede might be fairly rare), is there any action ordinary users of SO can do to help clean up for the moderators?
If the rarity of this scenario makes it a non-issue, sorry for wasting time!