Skip to content

Commit

Permalink
Parenthesize set null in SetValue_pval. Modified /storage/connect/val…
Browse files Browse the repository at this point in the history
…ue.cpp
  • Loading branch information
Buggynours committed Jul 19, 2017
1 parent e05920f commit ad2a4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/connect/value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ bool TYPVAL<PSZ>::SetValue_pval(PVAL valp, bool chktype)

char buf[64];

if (!(Null = valp->IsNull() && Nullable))
if (!(Null = (valp->IsNull() && Nullable)))
strncpy(Strp, valp->GetCharString(buf), Len);
else
Reset();
Expand Down

0 comments on commit ad2a4c4

Please sign in to comment.