Commit 74ffcbc1 authored by Olivier Bertrand's avatar Olivier Bertrand

- Typo (from 10.1) Modified: storage/connect/value.cpp

parent c83e2a63
......@@ -1659,15 +1659,16 @@ bool TYPVAL<PSZ>::Compute(PGLOBAL g, PVAL *vp, int np, OPVAL op)
if (trace)
htrc("Compute: np=%d op=%d\n", np, op);
for (i = 0; i < np; i++) {
p[i] = vp[i]->IsNull() ? NULL : vp[i]->GetCharString(val[i]);
for (i = 0; i < np; i++)
if (!vp[i]->IsNull()) {
p[i] = vp[i]->GetCharString(val[i]);
if (trace)
htrc("p[%d]=%s\n", i, p[i]);
} // endfor i
} else
return false;
if (p[0] && p[np - 1]) {
switch (op) {
case OP_CNC:
assert(np == 1 || np == 2);
......@@ -1697,8 +1698,6 @@ bool TYPVAL<PSZ>::Compute(PGLOBAL g, PVAL *vp, int np, OPVAL op)
} // endswitch op
Null = false;
} // endif p[i]
return false;
} // end of Compute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment