--- sql/odbc/parser3odbc.C 2004/09/13 10:56:44 1.25 +++ sql/odbc/parser3odbc.C 2004/09/13 14:47:43 1.26 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char *RCSId="$Id: parser3odbc.C,v 1.25 2004/09/13 10:56:44 paf Exp $"; +static const char *RCSId="$Id: parser3odbc.C,v 1.26 2004/09/13 14:47:43 paf Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -209,7 +209,8 @@ public: CRecordset rs(db); TRY { rs.Open( - CRecordset::forwardOnly, + CRecordset::forwardOnly + ||CRecordset::readOnly, statement, CRecordset::executeDirect ); @@ -401,4 +402,4 @@ public: extern "C" SQL_Driver *SQL_DRIVER_CREATE() { return new ODBC_Driver(); -} \ No newline at end of file +}