Changeset 247 for oup/current/DataAccess


Ignore:
Timestamp:
Nov 25, 2007, 3:24:53 PM (17 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

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

    r112 r247  
    22interface
    33
    4 uses TypeDefs, DataAccess, Access_OniArchive, Access_OUP_ADB;
     4uses TypeDefs, DataAccess, Access_OniArchive, Access_OUP_ADB, Access_OniSplitArchive;
    55
    66type
     
    155155  else if ext = '.DAT' then
    156156    backend := DB_ONI
     157  else if ext = '.ONI' then
     158    backend := DB_ONISPLIT
    157159  else
    158160  begin
     
    168170    DB_ADB:
    169171      FConnections[i] := TAccess_OUP_ADB.Create(FileName, FLastID + 1, CreateMsg);
     172    DB_ONISPLIT:
     173      FConnections[i] := TAccess_OniSplitArchive.Create(FileName, FLastID + 1, CreateMsg);
    170174  end;
    171175
     
    179183  begin
    180184    FConnections[i].Close;
    181     FConnections[i].Free;
    182185    FConnections[i] := nil;
    183186    SetLength(FConnections, Length(FConnections) - 1);
Note: See TracChangeset for help on using the changeset viewer.