From 815425bcd79a2707db815915337fd7eaa012e370 Mon Sep 17 00:00:00 2001 From: prabatuty Date: Fri, 14 Mar 2008 06:41:08 +0000 Subject: [PATCH] 1913584 update fails when using NULL values --- src/sql/UpdStatement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/UpdStatement.cxx b/src/sql/UpdStatement.cxx index f8c32eb1..939c9f5e 100644 --- a/src/sql/UpdStatement.cxx +++ b/src/sql/UpdStatement.cxx @@ -441,7 +441,7 @@ DbRetVal UpdStatement::resolveForAssignment() cValue->type = fInfo->type; cValue->length = fInfo->length; cValue->value = AllDataType::alloc(fInfo->type, fInfo->length); - if (value->parsedString == NULL) + if (cValue->parsedString == NULL) { delete fInfo; printError(ErrSyntaxError, "Condition value should not be NULL"); -- 2.11.4.GIT