Changeset 247 for oup/current/DataAccess
- Timestamp:
- Nov 25, 2007, 3:24:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/DataAccess/ConnectionManager.pas
r112 r247 2 2 interface 3 3 4 uses TypeDefs, DataAccess, Access_OniArchive, Access_OUP_ADB ;4 uses TypeDefs, DataAccess, Access_OniArchive, Access_OUP_ADB, Access_OniSplitArchive; 5 5 6 6 type … … 155 155 else if ext = '.DAT' then 156 156 backend := DB_ONI 157 else if ext = '.ONI' then 158 backend := DB_ONISPLIT 157 159 else 158 160 begin … … 168 170 DB_ADB: 169 171 FConnections[i] := TAccess_OUP_ADB.Create(FileName, FLastID + 1, CreateMsg); 172 DB_ONISPLIT: 173 FConnections[i] := TAccess_OniSplitArchive.Create(FileName, FLastID + 1, CreateMsg); 170 174 end; 171 175 … … 179 183 begin 180 184 FConnections[i].Close; 181 FConnections[i].Free;182 185 FConnections[i] := nil; 183 186 SetLength(FConnections, Length(FConnections) - 1);
Note:
See TracChangeset
for help on using the changeset viewer.