mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
CONNECT: compiler warnings
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user