Skip to content

Commit

Permalink
SNOW-937188 fixes to the unquoting
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mhofman committed May 7, 2024
1 parent 2849369 commit d705c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/Session/SFSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ internal void UpdateSessionProperty(ref string initialSessionValue, string final
string unquotedFinalValue = UnquoteJson(finalSessionValue, ref quoted);
if (!string.IsNullOrEmpty(initialSessionValue))
{
quoted |= initialSessionValue.StartsWith('\"');
quoted |= initialSessionValue.StartsWith("\"");
if (!string.Equals(initialSessionValue, unquotedFinalValue, quoted ? StringComparison.Ordinal : StringComparison.InvariantCultureIgnoreCase))
{
sessionPropertiesChanged = true;
Expand Down

0 comments on commit d705c21

Please sign in to comment.