--- sql/odbc/parser3odbc.C 2002/10/29 10:17:41 1.11 +++ sql/odbc/parser3odbc.C 2002/12/09 12:33:28 1.12 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char *RCSId="$Id: parser3odbc.C,v 1.11 2002/10/29 10:17:41 paf Exp $"; +static const char *RCSId="$Id: parser3odbc.C,v 1.12 2002/12/09 12:33:28 paf Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -192,6 +192,9 @@ public: if(column_count>MAX_COLS) column_count=MAX_COLS; + SQL_Error sql_error; +#define CHECK(afailed) if(afailed) services._throw(sql_error) + for(int i=0; i=offset) { - handlers.add_row(); + CHECK(handlers.add_row(sql_error)); for(int i=0; i