1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Merge pull request #10 from LinuxJedi/date_fix

MCOL-298 Fix saturated date/datetime handling
This commit is contained in:
dhall-InfiniDB
2016-09-14 17:14:48 -05:00
committed by GitHub
4 changed files with 14 additions and 63 deletions

View File

@ -1100,16 +1100,8 @@ boost::any
}
else
{
if ( isUpdate) //@Bug 5222 set to null for ot of range value
{
uint32_t d = joblist::DATENULL;
value = d;
pushWarning = true;
}
else
{
throw QueryDataExcept("Invalid date", formatErr);
}
value = 0;
pushWarning = true;
}
}
break;
@ -1123,14 +1115,8 @@ boost::any
}
else
{
if ( isUpdate) //@Bug 5222 set to null for ot of range value
{
uint64_t d = joblist::DATETIMENULL;
value = d;
pushWarning = true;
}
else
throw QueryDataExcept("Invalid datetime", formatErr);
value = 0;
pushWarning = true;
}
}
break;