mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
field.cc:
Correction after manula merge.
This commit is contained in:
parent
abe8ec4be2
commit
c3aa161c28
1 changed files with 1 additions and 1 deletions
|
@ -3317,7 +3317,7 @@ int Field_long::store(const char *from,uint len,CHARSET_INFO *cs)
|
|||
}
|
||||
if (error)
|
||||
{
|
||||
error= 1;
|
||||
error= error != MY_ERRNO_EDOM ? 1 : 2;
|
||||
set_warning(MYSQL_ERROR::WARN_LEVEL_WARN, ER_WARN_DATA_OUT_OF_RANGE, 1);
|
||||
}
|
||||
else if (from+len != end && table->in_use->count_cuted_fields &&
|
||||
|
|
Loading…
Reference in a new issue