Index: results.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/results.c,v retrieving revision 1.72 diff -u -c -r1.72 results.c *** results.c 21 Jul 2004 12:29:59 -0000 1.72 --- results.c 2 Jun 2005 02:58:06 -0000 *************** *** 1293,1305 **** EXTFETCH_RETURN_BOF(stmt, res) } #else ! if (stmt->rowset_start < opts->rowset_size) { SC_set_error(stmt, STMT_POS_BEFORE_RECORDSET, "fetch prior and before the beggining"); stmt->rowset_start = 0; } else ! stmt->rowset_start -= opts->rowset_size; #endif /* DRIVER_CURSOR_IMPLEMENT */ } break; --- 1293,1305 ---- EXTFETCH_RETURN_BOF(stmt, res) } #else ! if (stmt->rowset_start < opts->size_of_rowset) { SC_set_error(stmt, STMT_POS_BEFORE_RECORDSET, "fetch prior and before the beggining"); stmt->rowset_start = 0; } else ! stmt->rowset_start -= opts->size_of_rowset; #endif /* DRIVER_CURSOR_IMPLEMENT */ } break; Index: descriptor.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/descriptor.c,v retrieving revision 1.2 diff -u -c -r1.2 descriptor.c *** descriptor.c 21 Jul 2004 12:29:58 -0000 1.2 --- descriptor.c 2 Jun 2005 02:58:02 -0000 *************** *** 390,396 **** target->desc_type = src->desc_type; } ard_src = (ARDFields *) (src + 1); ! inolog(" rowset_size=%d bind_size=%d ope_ptr=%x off_ptr=%x\n", ard_src->size_of_rowset, ard_src->bind_size, ard_src->row_operation_ptr, ard_src->row_offset_ptr); ard_tgt = (ARDFields *) (target + 1); --- 390,396 ---- target->desc_type = src->desc_type; } ard_src = (ARDFields *) (src + 1); ! inolog(" size_of_rowset=%d bind_size=%d ope_ptr=%x off_ptr=%x\n", ard_src->size_of_rowset, ard_src->bind_size, ard_src->row_operation_ptr, ard_src->row_offset_ptr); ard_tgt = (ARDFields *) (target + 1); Index: statement.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/statement.c,v retrieving revision 1.92 diff -u -c -r1.92 statement.c *** statement.c 23 Feb 2005 16:41:50 -0000 1.92 --- statement.c 2 Jun 2005 02:58:06 -0000 *************** *** 1392,1398 **** qlog(" stmt_with_params='%s'\n", nullcheck(self->stmt_with_params)); qlog(" data_at_exec=%d, current_exec_param=%d, put_data=%d\n", self->data_at_exec, self->current_exec_param, self->put_data); qlog(" currTuple=%d, current_col=%d, lobj_fd=%d\n", self->currTuple, self->current_col, self->lobj_fd); ! qlog(" maxRows=%d, rowset_size=%d, keyset_size=%d, cursor_type=%d, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); qlog(" cursor_name='%s'\n", nullcheck(self->cursor_name)); qlog(" ----------------QResult Info -------------------------------\n"); --- 1392,1398 ---- qlog(" stmt_with_params='%s'\n", nullcheck(self->stmt_with_params)); qlog(" data_at_exec=%d, current_exec_param=%d, put_data=%d\n", self->data_at_exec, self->current_exec_param, self->put_data); qlog(" currTuple=%d, current_col=%d, lobj_fd=%d\n", self->currTuple, self->current_col, self->lobj_fd); ! qlog(" maxRows=%d, rowsetSize=%d, keyset_size=%d, cursor_type=%d, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); qlog(" cursor_name='%s'\n", nullcheck(self->cursor_name)); qlog(" ----------------QResult Info -------------------------------\n");