diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-01-31 19:42:14 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-02-01 13:50:16 +0100 |
commit | a7b6943ee4bd740bb42e7259abbe911273c752e3 (patch) | |
tree | d3e26237629730d9dce3ecd43d152e9651f0852f /storage/connect/array.cpp | |
parent | bbbe7e781f1309f1125569fb7eeb3727b0cc6505 (diff) | |
download | mariadb-git-a7b6943ee4bd740bb42e7259abbe911273c752e3.tar.gz |
CONNECT: compiler warnings
Diffstat (limited to 'storage/connect/array.cpp')
-rw-r--r-- | storage/connect/array.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |