[fpc-pascal] TMemoField saving empty strings as '' (double quote)
LacaK
lacak at zoznam.sk
Wed Sep 11 11:56:29 CEST 2013
silvioprog wrote / napĂsal(a):
> 2013/9/10 silvioprog <silvioprog at gmail.com <mailto:silvioprog at gmail.com>>
>
> 2013/9/10 Sven Barth <pascaldragon at googlemail.com
> <mailto:pascaldragon at googlemail.com>>
>
> Am 10.09.2013 13:47, schrieb silvioprog:
>> 2013/9/10 LacaK <lacak at zoznam.sk <mailto:lacak at zoznam.sk>>
>>
>> Hi Silvio,
>> I cann't reproduce your error in 2.7.1 (trunk)
>> Fix in rev.25411 closes also problem you mentioned. (but
>> before this rev. problem existed)
>> But now I get another error, which says that there is "no
>> insert query specified" because all fields in posted row
>> are empty (null)
>> (which is okay from point of application view, but this
>> situation is not handled when ApplyingUpdates)
>> -Laco.
>>
>>
>> Is there any place where I can download a FPC stable with
>> this fix? I don't feel comfortable using a unstable FPC to
>> compile a project to use in production.
> There is no stable, because there is currently no release of
> 2.8 planned. Maybe it will merged to 2.6.3 then you could get
> it once 2.6.4 is released.
>
>
> Hm... Now I really don't know what to do. :/
>
>
> You should nevertheless test using a development version
> snapshot whether this fix does indeed fix your problem though.
>
> Regards,
> Sven
>
>
> I downloaded a snapshot now. I'll test it and send the result here ...
>
>
> Same problem in FPC 2.7.1 (my environment: Lazarus 1.1 r42538 FPC
> 2.7.1 i386-win32-win32/win64).
>
> The pgAdmin screenshot:
>
> http://imagebin.org/270446
>
Now doing more tests. I see, that in pgAdmin when I use right click on
table and use "View Data" then '' (two single quotes) are shown in TEXT
column, but when I use SQL and type:
select * from <table name> then empty fields are shown ... so it seems
to me, that bug is in pgAdmin, does not ?
-Laco.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130911/63e9842a/attachment.html>
More information about the fpc-pascal
mailing list