[fpc-devel] Inserting first record

LacaK lacak at zoznam.sk
Thu Jun 9 13:43:37 CEST 2011


Very similar to my fix, which I did minute ago.
We can more cleanup code by removing unneeded parts.
Please look at attached patch.
Thanks
L.
PS1: Yes it fixes AV
PS2: But still remains OldValue=null problem (see me 1st email)


>
> Hi,
>
> I committed a possible fix in rev. 17704. Please test.
>
> Michael.
>
> On Thu, 9 Jun 2011, LacaK wrote:
>
>> May be like this ?
>> Thanks.
>> Laco.
>>
>>> On Thu, 2011-06-09 at 11:49 +0200, LacaK wrote:
>>>
>>>> Here is attached debug output with {$DEFINE DSDebug}.
>>>> It seems, that exception is related to Append/Insert (it does not 
>>>> depend if dataset is empty before or not) followed by accesing 
>>>> OldValue
>>>>
>>>
>>> Can't you just post the backtrace? Joost.
>>>
>>>
>>
>>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bufdataset_dsOldValue.diff
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110609/29511b4b/attachment.ksh>


More information about the fpc-devel mailing list