> OK, the problem is that the Postgres adapter returns {ok,0} from the update
> attempt, instead of the expected {ok, _, _, [0]}.  It's not clear to me
> whether the adapter should be changed, or if the change should happen in
> boss_db:incr().  For now, I've implemented a local function to do the job.

I think the adapter is the problem.  It should handle {ok, 0}.

It'd be cool to add a test for this too...

-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CA%2Bb9R_s5dVA0xeJ2qmpEjP2Wa7k2wB5qCtLJfburHUdtDp_YiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to