# | Line 133 | Line 133 | var SPB: ISPB; | |
---|---|---|
133 | begin | |
134 | if not FirebirdAPI.HasServiceAPI then Exit; | |
135 | ||
136 | < | ServerName := Owner.GetEmployeeDatabaseName; |
137 | < | I := Pos(':',ServerName); |
138 | < | if i > 0 then |
139 | < | DBName := system.copy(ServerName,i+1,length(ServerName) - 2); |
140 | < | system.Delete(ServerName,i,Length(ServerName)-i+1); |
136 | > | ServerName := Owner.Server; |
137 | ||
138 | SPB := FirebirdAPI.AllocateSPB; | |
139 | SPB.Add(isc_spb_user_name).setAsString(Owner.GetUserName); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |