You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@@ -109,6 +109,7 @@ namespace System.Data.Common {
|
||||
private readonly Hashtable _parsetable;
|
||||
internal readonly NameValuePair KeyChain;
|
||||
internal readonly bool HasPasswordKeyword;
|
||||
internal readonly bool HasUserIdKeyword;
|
||||
|
||||
// differences between OleDb and Odbc
|
||||
// ODBC:
|
||||
@@ -144,12 +145,14 @@ namespace System.Data.Common {
|
||||
if (0 < _usersConnectionString.Length) {
|
||||
KeyChain = ParseInternal(_parsetable, _usersConnectionString, true, synonyms, UseOdbcRules);
|
||||
HasPasswordKeyword = (_parsetable.ContainsKey(KEY.Password) || _parsetable.ContainsKey(SYNONYM.Pwd));
|
||||
HasUserIdKeyword = (_parsetable.ContainsKey(KEY.User_ID) || _parsetable.ContainsKey(SYNONYM.UID));
|
||||
}
|
||||
}
|
||||
|
||||
protected DbConnectionOptions(DbConnectionOptions connectionOptions) { // Clone used by SqlConnectionString
|
||||
_usersConnectionString = connectionOptions._usersConnectionString;
|
||||
HasPasswordKeyword = connectionOptions.HasPasswordKeyword;
|
||||
HasUserIdKeyword = connectionOptions.HasUserIdKeyword;
|
||||
UseOdbcRules = connectionOptions.UseOdbcRules;
|
||||
_parsetable = connectionOptions._parsetable;
|
||||
KeyChain = connectionOptions.KeyChain;
|
||||
|
||||
Reference in New Issue
Block a user