No inspections here, either. Didn't even know that there were places that had to have them inspected.
Thanks to everyone who has advised me. I cut off the busted piece of PVC today and made a dry fit of everything before I glued it all together, and it looks like it will still have some pulling away force on the male adapter once it's in the ball valve. The new pieces are just short from making a perfect fit, maybe less than a quarter of an inch, even after extending the riser up to make my PVB level (it was on an angle before, to meet the male adapter). If I put it together the way I have it ready to go now, I think the same problem will happen again. Is there a PVC union or some other small piece that would fit between the elbow and the ball valve that could make up the difference?
Oh, and I couldn't get the busted threads out of the ball valve. I tried cutting it, but it wouldn't budge, and by the time I gave up I had started to cut into some of the threads. I bought a new valve instead.