From a7b6943ee4bd740bb42e7259abbe911273c752e3 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 31 Jan 2021 19:42:14 +0100 Subject: CONNECT: compiler warnings --- storage/connect/array.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'storage/connect/array.cpp') diff --git a/storage/connect/array.cpp b/storage/connect/array.cpp index 84a686cc145..3c736941b6f 100644 --- a/storage/connect/array.cpp +++ b/storage/connect/array.cpp @@ -599,10 +599,12 @@ int ARRAY::Convert(PGLOBAL g, int k, PVAL vp) /* Converting STRING to DATE can be done according to date format. */ /*********************************************************************/ if (Type == TYPE_DATE && ovblp->GetType() == TYPE_STRING && vp) + { if (((DTVAL*)Value)->SetFormat(g, vp)) return TYPE_ERROR; else b = true; // Sort the new array on date internal values + } /*********************************************************************/ /* Do the actual conversion. */ -- cgit v1.2.1