Skip to content

Commit

Permalink
Fixed object null reference
Browse files Browse the repository at this point in the history
  • Loading branch information
DavoudEshtehari committed Jun 2, 2020
1 parent 7dedda5 commit 9281bc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1649,9 +1649,9 @@ TimeoutTimer timeout
// If it is read-only routing - we did not supply AppIntent=RO (it should be checked before)
// If it is something else, not known yet (future server) - this client is not designed to support this.
// In any case, server should not have sent the routing info.
SqlClientEventSource.Log.TraceEvent("<sc.SqlInternalConnectionTds.LoginWithFailover> Routed to {0}", RoutingInfo.ServerName);
throw SQL.ROR_UnexpectedRoutingInfo(this);
}
SqlClientEventSource.Log.TraceEvent("<sc.SqlInternalConnectionTds.LoginWithFailover> Routed to {0}", RoutingInfo.ServerName);
break; // leave the while loop -- we've successfully connected
}
catch (SqlException sqlex)
Expand Down

0 comments on commit 9281bc0

Please sign in to comment.