From: Matthias R. <mat...@so...> - 2006-07-10 06:59:55
|
Bjorn, Bjorn Bringert <bri...@cs...> writes: > I went to check what needed to be done for it, and ended up > implementing it instead. It's in darcs now, but completely untested. > I added a new "_in" operator. Could you give it a spin and see if it > does the right thing? I slotted your version into my app and it works fine. Thanks! A test case should probably be added for this new operator. Btw, is the test code actually working at the moment? I am asking because it uses 'genericConnect', which, afaict, no longer exists. > If you run the connect function "outside" the runFastCGIorCGI, you > will only have one database connection set up for the life of that > process. If you want to connect once for every request, put it inside > instead. Ok. That's what I thought. > When data is committed when you use persistent connections > may vary depending on the back-end. Using "transaction" should make > sure that it's committed with any back-end. I ended up doing exactly that and it all works as expected. Matthias |