Skip to content

Commit

Permalink
修正对特殊语句的指定链接的返回问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
cyq1162 committed May 11, 2019
1 parent a0012af commit 9c21c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQL/Schema/CrossDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static string GetConn(string nameOrSql, out string fixName, string priori
conn = info.DBInfo.ConnName;
}
}
return conn;
return string.IsNullOrEmpty(conn) ? priorityConn : conn;
}

/// <summary>
Expand Down

0 comments on commit 9c21c2b

Please sign in to comment.