Page 1 of 1
UniQuery.Params.ValueCount
Posted: Wed 01 Jun 2016 16:53
by FredS
Hi,
While attempting to lessen the performance hit reported in
Bulk Inserts I ran into an issue.
Setting:
after it was 1 essentially makes existing data at index 0 unavailable.
Re: UniQuery.Params.ValueCount
Posted: Fri 03 Jun 2016 10:16
by MaximG
The described behavior is correct. On modifying the UniQuery.Params.ValueCount property, you will lose access to previously created elements.
Re: UniQuery.Params.ValueCount
Posted: Fri 03 Jun 2016 20:04
by FredS
MaximG wrote:The described behavior is correct. On modifying the UniQuery.Params.ValueCount property, you will lose access to previously created elements.
That setter method calls RedimItems which calls VarArrayRedim on any other change which preserves prior data.
So from 2..200k existing data is retained.
Re: UniQuery.Params.ValueCount
Posted: Mon 13 Jun 2016 10:32
by MaximG
We will consider the possibility to change behavior of UniDAC in the studied case. We will inform you about the results shortly.
Re: UniQuery.Params.ValueCount
Posted: Mon 15 Aug 2016 10:14
by MaximG
Thank you for the information. We have reproduced the problem and fixed the bug. The fix will be included in the next UniDAC build.