|
Re: ODBC in 0.96.4: msg#00027gnu.radius.general
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> |
|---|---|---|
| Previous by Date: | Re: ODBC in 0.96.4: 00027, Sergey Poznyakoff |
|---|---|
| Next by Date: | YOONG Choen Hin/Engr - Sys/iSTT/ST Group is out of the office.: 00027, yoong . choen . hin |
| Previous by Thread: | Re: ODBC in 0.96.4i: 00027, Sergey Poznyakoff |
| Next by Thread: | huntgroups & hints: 00027, Sergei Nesterkov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |