Fix type_newdecimal.test: Warning was produced instead of NOTE. The cause was typo in the merge.

This commit is contained in:
Sergey Petrunya 2013-07-05 09:53:18 +04:00
parent 86bcde82b1
commit 87990b62be

View File

@ -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);