|
Re: ODBC in 0.96.4: msg#00026gnu.radius.general
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. 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, |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ODBC in 0.96.4: 00026, Max Speransky |
|---|---|
| Next by Date: | Re: ODBC in 0.96.4: 00026, Max Speransky |
| Previous by Thread: | Re: ODBC in 0.96.4i: 00026, Max Speransky |
| Next by Thread: | Re: ODBC in 0.96.4: 00026, Max Speransky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |