Missing assignment for ServerType
---------------------------------

                 Key: DNET-470
                 URL: http://tracker.firebirdsql.org/browse/DNET-470
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 3.0.1.0
            Reporter: Jiri Cincura
            Assignee: Jiri Cincura
            Priority: Critical


if (key == "server type")
 {
 FbServerType serverType = default(FbServerType);
 try
 {
 Enum.Parse(typeof(FbServerType), values[1], true);
 }
 catch
 {
 throw new NotSupportedException("Not supported 'server type'.");
 }
 this.options[key] = serverType;
 }
 else
 {
 this.options[key] = values[1];
 }

You have omitted the variable.
 serverType = (FbServerType)Enum.Parse(typeof(FbServerType), values[1], true);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to