On Wednesday 16 January 2008 11:00:44 Henning Westerholt wrote:
> On Tuesday 15 January 2008, Douglas Garstang wrote:
> > What's the point of the pseudo variable $rc?
> >
> > If I use avp_db_query() with:
> > invalid SQL, then rc = -1.
> > database down: then rc = -1.
> > Everything fine... then rc = -1!!!
>
> Hi Douglas,
>
> i did a short look at the code, and it really should return 1 on success,
> as stated from Iñaki too. Strange.

I think that is the SQL query is not a SELECT then the reply is always -1 (but 
not sure of this, should try).


-- 
Iñaki Baz Castillo
[EMAIL PROTECTED]

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to