Browse Source

* Keep connection type when reading

git-svn-id: trunk@41572 -
michael 6 năm trước cách đây
mục cha
commit
92429997b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/fcl-web/src/restbridge/sqldbrestini.pp

+ 1 - 1
packages/fcl-web/src/restbridge/sqldbrestini.pp

@@ -530,7 +530,7 @@ begin
     begin
     if (scoClearOnRead in aOptions) then
        ClearValues;
-    ConnectionType:=ReadString(ASection,KeyType,'');
+    ConnectionType:=ReadString(ASection,KeyType,ConnectionType;
     HostName:=ReadString(ASection,KeyHost,HostName);
     DatabaseName:=ReadString(ASection,KeyDatabaseName,DatabaseName);
     UserName:=ReadString(ASection,KeyUserName,UserName);