Commit a6023312 authored by unknown's avatar unknown

field.cc:

  Correction after manula merge.


sql/field.cc:
  Correction after manula merge.
parent 61e7655c
...@@ -3317,7 +3317,7 @@ int Field_long::store(const char *from,uint len,CHARSET_INFO *cs) ...@@ -3317,7 +3317,7 @@ int Field_long::store(const char *from,uint len,CHARSET_INFO *cs)
} }
if (error) 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); 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 && else if (from+len != end && table->in_use->count_cuted_fields &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment