You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-298 Fix saturated date/datetime handling
Saturated DML updates would be set to NULL as were saturated cpimport values. This sets them to the zero date/datetime value.
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