nyurik / timeseriesdb

Automatically exported from code.google.com/p/timeseriesdb
GNU General Public License v3.0
13 stars 6 forks source link

ReadData Exception #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using ObsoleteExtensions.ReadData to stream data out, I am receiving the 
exception "Internal logic error: more than maxItemCount elements received".

I think this is just a check bug, the check should be that

done+seg.Count > buffer.Offset + buffer.Count

Original issue reported on code.google.com by kar...@gmail.com on 28 Feb 2012 at 8:01

GoogleCodeExporter commented 9 years ago
Karl, anyway you can provide a simple unit test for this? For examples, see 
WritableFeedTests.cs

Original comment by yuriastrakhan on 1 Mar 2012 at 8:01

GoogleCodeExporter commented 9 years ago
See attached ReadTest.cs for a simple unit test.

Original comment by kar...@gmail.com on 2 Mar 2012 at 7:25

Attachments:

GoogleCodeExporter commented 9 years ago
fixed, thanks!

Original comment by yuriastrakhan on 2 Mar 2012 at 10:18