[m-dev.] ODBC interface

Fergus Henderson fjh at cs.mu.oz.au
Tue Jul 29 15:03:28 AEST 1997


Simon Taylor, you wrote:
> 		case SQL_DECIMAL:
> 			return 1 + cbColDef + 1 + ibScale + 1; 
> 			/* 1 for sign 1, 1 for decimal point, 1, for NUL */

s/1, for/1 for/

> 		/*
> 		** Signed numeric ddd.dd converted to SQL_C_CHAR
> 		*/
> 		case SQL_NUMERIC:
> 			return 1 + cbColDef + 1 + ibScale + 1;
> 					/* 1 for NUL */

Fix the comment.

> /*
> ** Return TRUE if the last ODBC call succeded.
> ** Return FALSE if the ODBC call failed.
> ** Add any error messages to odbc_message_list.
> ** This allocates heap space and calls Mercury, so be sure to call 
> */

... call Ghost-Busters? ;-)

I have some more comments coming soon.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list