Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Database/Core VCL    [ Add a report in this area ]  
Report #:  29889   Status: Closed
ftFixedWideChar type checking is missing in many places
Project:  Delphi Build #:  10.0.2288.4245
Version:    10.0 Submitted By:   Eivind Bakkestuen
Report Type:  Crash / Data loss / Total failure Date Reported:  6/7/2006 6:25:18 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   240374
Resolution: Fixed (Resolution Comments) Resolved in Build: :
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
In db.pas, ftFixedWideChar has been added to the TFieldType array. However, searching through db.pas shows that it is missing from all places where there are CASE fieldtype OF ... constructs. This affects methods like TParam.GetDataSize, TParam.GetData... etc etc.

no test program should be necessary; it is obvious from db.pas that the new fieldtype is not fully implemented yet.
Steps to Reproduce:
If, like NexusDB, you implement your TDataset descendant with support for this new fieldtype, you will get a nasty surprise when trying to use it with parameters etc.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01