Changeset 243 for oup/current/DataAccess


Ignore:
Timestamp:
Aug 10, 2007, 7:26:03 PM (17 years ago)
Author:
alloc
Message:
 
Location:
oup/current/DataAccess
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • oup/current/DataAccess/Access_OUP_ADB.pas

    r241 r243  
    549549  SetLength(Result, 0);
    550550  FQuery.SQL.Text := 'SELECT [src_id],[src_link_offset],[name],[size],[sep] FROM rawmap ' +
    551     'WHERE [type]="' + RawType + '" ORDER BY src_id ASC, src_link_offset ASC;';
     551    'WHERE [type]="' + RawType + '" and [size]>0 ORDER BY src_id ASC, src_link_offset ASC;';
    552552  FQuery.Open;
    553553  if FQuery.RecordCount > 0 then
  • oup/current/DataAccess/Access_OniArchive.pas

    r241 r243  
    508508    for j := 0 to Length(list) - 1 do
    509509    begin
    510       if list[j].RawType = RawType then
     510      if (list[j].RawType = RawType) and (list[j].RawSize > 0) then
    511511      begin
    512512        SetLength(Result, Length(Result)+1);
Note: See TracChangeset for help on using the changeset viewer.