Hi
In ember, any function that reports an error will always return
the error message in the $ERRMSG variable (that's for mSQL,
system calls, anything else etc). The msqlErrMsg variable is the
C API library's approach from 2.x. 3.x based C code should call
msqlGetErrMsg() rather than use the variable (although it's still
available).
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.
Bambi
..
> -----Original Message-----
> From: owner-msql-list@lists.hughes.com.au
> [mailto:owner-msql-list@lists.hughes.com.au]On Behalf Of Mona
> Wong-Barnum
> Sent: Wednesday, 23 April 2003 11:53 AM
> To: msql-list@lists.hughes.com.au
> Subject: [msql-list] msqlErrMsg
>
>
>
> I'm using MiniSQL 3.5 and according to the doc, msqlErrMsg should
> contain the error message for some of the commands. However,
> when I try to
> print this, I get nothing. I am using it after a msqlQuery()
> call that returned
> -1; I do a echo statement and all I get is:
>
> msqlErrMsg = $msqlErrMsg
>
> All help is appreciated.
>
> thanks,
> 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 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