mirror of
https://github.com/MariaDB/server.git
synced 2025-09-03 20:43:11 +03:00
merging
sql/field.cc: here we can get negative values
This commit is contained in:
@@ -4926,7 +4926,7 @@ int Field_time::store_time(TIME *ltime, timestamp_type type)
|
|||||||
(ltime->minute * 100 + ltime->second);
|
(ltime->minute * 100 + ltime->second);
|
||||||
if (ltime->neg)
|
if (ltime->neg)
|
||||||
tmp= -tmp;
|
tmp= -tmp;
|
||||||
return Field_time::store((longlong) tmp, TRUE);
|
return Field_time::store((longlong) tmp, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user