Changeset 561 for PersistentData/Backend/UPDClientMySQL.pas
- Timestamp:
- Sep 10, 2022, 6:26:39 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PersistentData/Backend/UPDClientMySQL.pas
r362 r561 1 1 unit UPDClientMySQL; 2 2 3 {$mode delphi}4 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, USqlDatabase, UPDClient, SpecializedDictionary;6 Classes, SysUtils, USqlDatabase, UPDClient, UGenerics; 9 7 10 8 type … … 22 20 function GetConnected: Boolean; override; 23 21 procedure Init; override; 22 function GetConnectionString: string; override; 24 23 public 25 24 procedure ObjectLoad(AObject: TObjectProxy); override; … … 45 44 end; 46 45 46 47 47 implementation 48 49 48 50 49 resourcestring 51 50 SMissingBaseType = 'Missing base typ for %s'; 52 51 SUndefinedType = 'Undefined type in %0:s.%1:s'; 53 54 52 55 53 { TPDClientMySQL } … … 155 153 procedure TPDClientMySQL.ListSave(AList: TListProxy); 156 154 begin 157 158 155 end; 159 156 … … 245 242 end; 246 243 244 function TPDClientMySQL.GetConnectionString: string; 245 begin 246 Result := 'Host:' + Host + ',Port:' + IntToStr(Port) + ',User:' + User + 247 ',Password:' + Password + ',Schema:' + Schema; 248 end; 249 247 250 constructor TPDClientMySQL.Create(AOwner: TComponent); 248 251 begin … … 255 258 begin 256 259 FreeAndNil(FDatabase); 257 inherited Destroy;260 inherited; 258 261 end; 259 262
Note:
See TracChangeset
for help on using the changeset viewer.