logo       

Re: ODBC in 0.96.4: msg#00027

gnu.radius.general

Subject: Re: ODBC in 0.96.4

On Thu, Jan 30, 2003 at 05:06:31PM +0200, Sergey Poznyakoff wrote:
>
>Hmm, it was a *very* nasty bug. Thank you for reporting it.
>Enclosed is a patch, please let me know if it works for you.

Works fine, thank's !

>
>Regards,
>Sergey
>
>Index: sql/odbc.c
>===================================================================
>RCS file: /cvsroot/radius/radius/sql/odbc.c,v
>retrieving revision 1.2
>diff -p -u -w -b -r1.2 odbc.c
>--- odbc.c 28 Dec 2001 14:47:21 -0000 1.2
>+++ odbc.c 30 Jan 2003 15:04:20 -0000
>@@ -343,7 +343,7 @@ rad_odbc_column(data, ncol)
> return NULL;
> }
>
>- SQLGetData(edata->stmt,ncol+1,SQL_C_CHAR,
>+ result = SQLGetData(edata->stmt,ncol+1,SQL_C_CHAR,
> buffer, sizeof buffer, &size);
> if (result != SQL_SUCCESS) {
> rad_odbc_diag(SQL_HANDLE_STMT, edata->stmt,

--
... All opinions expressed are mine and not those of my employer.

Yours, Max [Msg N 1924]
-------------------------------------------
mailto: mx@xxxxxxxxx phone: +380-44-2054455


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise