Browse Source

* Keep connection type when reading

git-svn-id: trunk@41572 -
michael 6 years ago
parent
commit
92429997b5
1 changed files with 1 additions and 1 deletions
  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);