-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #40 rows.Next() skips first records #41
Fix #40 rows.Next() skips first records #41
Conversation
Fix and simplify (DataSet) Next function
there is a problem in this changes |
actually I try the driver with many SELECT sql statement (return one row or return more than 1000 rows) and all rows are returned correctly same as sql developer sorry if I am late in response because I am study the network behavior for LOB to add support for it |
Take your time. I have searched all code using dataSet.index, and it's used only in Next(). So I'm confident I can use it for tracking the row number in the current chunk instead of the absolute row in the dataset. I'm doing systematic tests with a query that gives the exact number of rows we want: select INVOICE_SUM A ,1 C from DOCS where ROWNUM<=:1; Current master c9e66ca works until 24 rows. PR branch: If I start the test by requesting 26 rows, I don't get any error for both. Master branch is wrong, PR branch gives expected result Provisional conclusion: PR behaves right up to 26 rows, but there is a problem with accumulation of queries. With PR bran I'll do more tests against a big table to compare extraction of a various number of lines and compare it. I'll check how the driver behaves around chunk limit of 25 rows. |
note
fetch will call Read() again |
note that the operation is like fast read forward operation |
I find the problem I try to solve the issue #35 the original condition I change to now I fall back to the original one to solve the problem and I will solve the problem of LONG and LOBs in another way load last changes and It will work |
Fix and simplify (DataSet) Next function
I suggest you to test it before merging. The solution looks to simple for been error less.