Fix type_newdecimal.test: Warning was produced instead of NOTE. The cause was typo in the merge.
This commit is contained in:
parent
86bcde82b1
commit
87990b62be
@ -2717,7 +2717,7 @@ int Field_new_decimal::store(const char *from, uint length,
|
||||
|
||||
switch (err) {
|
||||
case E_DEC_TRUNCATED:
|
||||
set_warning(Sql_condition::WARN_LEVEL_WARN, WARN_DATA_TRUNCATED, 1);
|
||||
set_warning(Sql_condition::WARN_LEVEL_NOTE, WARN_DATA_TRUNCATED, 1);
|
||||
break;
|
||||
case E_DEC_OVERFLOW:
|
||||
set_warning(Sql_condition::WARN_LEVEL_WARN, ER_WARN_DATA_OUT_OF_RANGE, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user