"Erik Moeller" erik_moeller@gmx.de wrote in message news:8pOynqihpVB@erik_moeller...
Tim-
thanks for coding this. One bug I noticed: When creating and removing a link to a non-existent page, the brokenlinks table is not updated accordingly, i.e. the removed link is still there. It works fine for normal links.
Done. It was an unquoted string in the SQL query which went unreported and unlogged, since database errors get lost when a redirect is sent.
"Timwi" timwi@gmx.net wrote in message news:TNJFZUQN1VNKJHMK97IGWTSMNHONB63Y.3f08239c@xptoe...
06.07.2003 14:21:09, Brion Vibber
brion@pobox.com wrote:
It may be a touch more efficient to do the deletes in one query, such as: $sql = "DELETE FROM links WHERE l_from='{$this->mTitleEnc}' AND l_to IN (". implode( ",", $del) . ")";
Probably not just a touch. :-)
Yeah, I was going to say the same. Do it this way, and then this way should always be faster than the old way, so trash it.
I would have loved to do it, but I guess I'm too late :-)
You just want me to do all the work, don't you? :) Done.
-- Tim Starling.