Search found 6 matches
- 12.08.2022, 09:00
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird + empty strings, a problem
- Replies: 9
- Views: 1038
Re: Firebird + empty strings, a problem
No problem and thank you for your work. Mormot souce code has since been modified to take this into consideration i.e. it checks the Len parameter in order to determine if string is actually empty so a Mormot example would no longer show a problem, but I think it's still worth making a change in Zeos.
- 05.08.2022, 11:18
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird + empty strings, a problem
- Replies: 9
- Views: 1038
Re: Firebird + empty strings, a problem
Can an admin move this to 7.2 please?
Also I can provide a sample project if needed, using Mormot, but not using zeos because I am not familiar enough with how it works sorry.
Also I can provide a sample project if needed, using Mormot, but not using zeos because I am not familiar enough with how it works sorry.
- 19.07.2022, 11:49
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird + empty strings, a problem
- Replies: 9
- Views: 1038
Re: Firebird + empty strings, a problem
Which function did you test?
GetPAnsiChar function that doesn't have Len parameter fixes the problem within itself by doing
but the one that does have Len param leaves the string content as-is.
GetPAnsiChar function that doesn't have Len parameter fixes the problem within itself by doing
Code: Select all
ZSetString(P, Len, FRawTemp);
Result := Pointer(FRawTemp);
- 18.07.2022, 11:46
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird + empty strings, a problem
- Replies: 9
- Views: 1038
Re: Firebird + empty strings, a problem
Also I am using FB 2.5 in case it matters.
- 18.07.2022, 11:40
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird + empty strings, a problem
- Replies: 9
- Views: 1038
Re: Firebird + empty strings, a problem
I appologize, this should be in 7.2 forum, I tried to find a way to contact an admin to tell them but I couldn't find a link
- 16.07.2022, 19:51
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird + empty strings, a problem
- Replies: 9
- Views: 1038
Firebird + empty strings, a problem
Hi all, first post so let me just start by saying thank you for your library! I stumbled upon a problem when looking at a table with some string fields empty (not null, just empty) Actual data in DB: ID Name1 Name2 1 'A' '1' 2 'B' '' 3 '' '3' 4 'D' '4' mormot (or zeos) returns: {"ID":1,&qu...