My changes weren't counting threaded deletes correctly ... this still needsretesting on Oracle/PG which I'll do in the next day or so by writing newtest cases...
Tch tch someone put some SQL code inline rather than in an XQL file 'causethey thought it was DB independent and it was really PG dependent. I madeit DB independent and stuck it in the XQL file where it belongs anyway.