From ad2a4c42b69fc69294b97e27a76a7d50950d96f3 Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Wed, 19 Jul 2017 18:31:40 +0200 Subject: [PATCH] Parenthesize set null in SetValue_pval. Modified /storage/connect/value.cpp --- storage/connect/value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp index 4ea838b094026..52230e0e17a76 100644 --- a/storage/connect/value.cpp +++ b/storage/connect/value.cpp @@ -1350,7 +1350,7 @@ bool TYPVAL::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();