[plt-scheme] Strange error in C bindings

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Wed Jan 22 11:00:19 EST 2003

--- Paul Steckler <steck at ccs.neu.edu> wrote:
> Not quite equivalent, since the second call to
> maybe-fail-mysql is
> applied to a returned value in the first case, and
> to mysql in the
> second.  How do you know what that returned value
> is?

Ta.  I thought the result was always a *MYSQL but I'm
wrong:

Return Values

A MYSQL* connection handle if the connection was
successful, NULL if the connection was unsuccessful.
For a successful connection, the return value is the
same as the value of the first parameter.

Thanks for the RubberDucking;
http://c2.com/cgi/wiki?RubberDucking
 
Noel


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


Posted on the users mailing list.