Mona,
I think a read of the mod_msql documentation (see doc/mod_msql.pdf in
the source distribution) will sort all this out. It covers where the
ember API mappings differ from the C API itself.
Bambi
..
> -----Original Message-----
> From: Mona Wong-Barnum [mailto:mona@eggshell.ucsd.edu]
> Sent: Wednesday, 23 April 2003 1:21 PM
> To: msql-list@lists.hughes.com.au; bambi@Hughes.com.au
> Subject: RE: [msql-list] msqlErrMsg
>
>
> Hi Bambi:
>
> > In ember, any function that reports an error will always return
> > the error message in the $ERRMSG variable
>
> Ah thanks, that worked (:
>
> > Does the Ember doco say to use msqlErrMsg or was that an assumption
> > on your part from the C API doco? If the ember doc's say that then
> > I'll have them updated.
>
> Well, I took another look and found the confusion...
>
> The documentation for msqlQuery() is in the msql PDF
> documentation and
> in there, it says (page 16):
>
> As with previous releases of mSQL, a returned value of -1
> indicates an error and
> msqlErrMsg will be updated to contain a valid error message.
>
> There is no documentation about msqlQuery() in the ember PDF
> documentation. However, the ember documentation does say that
> ERRMSG will
> contain the error message for some functions.
>
> Perhaps a note in the msql documentation about ember's
> error variable
> would be helpful for people like me since msqlQuery() is
> documented there. Just
> my 2 cents...
>
> Thanks, as always!
>
> Cheers,
> Mona
>
> ==================================================================
> Mona Wong-Barnum
> National Center for Microscopy and Imaging Research
> University of California, San Diego
> http://ncmir.ucsd.edu/
>
> "While you are busy dancing for others, just remember that
> others are also busy dancing for you"
> (A Landmark Instructor)
> ==================================================================
>
>
>
-----------------------------------------------------------------
This is the Mini SQL Mailing List operated by Hughes Technologies
To unsubscribe, go to http://www.Hughes.com.au/extras/email/
This archive was generated by hypermail 2b30 : Thu May 01 2003 - 00:20:01 PDT