You are not logged in.
Hi,
I have merged this update but my test result on the JSON content returned from Oracle DB was not correct as before.
The difference was that the column with ftCurrency data type lost its value in JSON.
After trace, I found the problem was caused by following:
procedure TTextWriter.AddFloatStr(P: PUTF8Char);
old: {$ifdef FPC}Move{$else}MoveFast{$endif}(P^,B^,L);
new: MoveSmall(P,B+1,L);
If I revise the new to MoveSmall(P,B,L), the correct JSON result is back.
I'm not good at pointer technique, any help would be appreciated.
Offline