View Issue Details

IDProjectCategoryView StatusLast Update
0005486JEDI VCL00 JVCL Componentspublic2011-09-21 14:10
ReporterZENsanAssigned ToAHUser 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.45 
Summary0005486: function CompareRecord in JvDBUtils wasn't fixed right way.
DescriptionI provided source file just to demonstrate the appeareance. But really it must be somethuing like this. Because KeyValues not always is array...

  function CompareRecord: Boolean;
  var
    I: Integer;
  begin
    Result := True;
    if VarIsArray(KeyValues) then
      for I := 0 to FieldCount - 1 do
      begin
        Fld := TField(Fields[I]);
        Result := Result and CompareField(Fld, KeyValues[I]);
      end
    else
      if FieldCount > 0 then
        begin
          Fld := TField(Fields.First);
          Result := CompareField(Fld, KeyValues);
        end;
  end;
Additional InformationIt's about bug ID 0005485
TagsNo tags attached.

Activities

AHUser

2011-02-17 19:14

developer   ~0018386

Fixed in svn revision 12988.

Issue History

Date Modified Username Field Change
2011-02-17 10:11 ZENsan New Issue
2011-02-17 19:14 AHUser Note Added: 0018386
2011-02-17 19:14 AHUser Status new => resolved
2011-02-17 19:14 AHUser Fixed in Version => Daily / SVN
2011-02-17 19:14 AHUser Resolution open => fixed
2011-02-17 19:14 AHUser Assigned To => AHUser
2011-09-21 14:10 obones Fixed in Version Daily / SVN => 3.45