You've already forked mariadb-columnstore-engine
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user