Index: driver/info.c =================================================================== --- driver/info.c (revision 898) +++ driver/info.c (working copy) @@ -584,9 +584,8 @@ case SQL_SCROLL_OPTIONS: MYINFO_SET_ULONG(SQL_SO_FORWARD_ONLY | - ((dbc->flag & FLAG_FORWARD_CURSOR) ? - ((dbc->flag & FLAG_DYNAMIC_CURSOR) ? SQL_SO_DYNAMIC : 0) : - SQL_SO_STATIC)); + ((dbc->flag & FLAG_FORWARD_CURSOR) ? 0 + :SQL_SO_STATIC | ((dbc->flag & FLAG_DYNAMIC_CURSOR) ? SQL_SO_DYNAMIC : 0))); case SQL_SEARCH_PATTERN_ESCAPE: MYINFO_SET_STR("\\");