Commit 87990b62 authored by Sergey Petrunya's avatar Sergey Petrunya

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

parent 86bcde82
...@@ -2717,7 +2717,7 @@ int Field_new_decimal::store(const char *from, uint length, ...@@ -2717,7 +2717,7 @@ int Field_new_decimal::store(const char *from, uint length,
switch (err) { switch (err) {
case E_DEC_TRUNCATED: 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; break;
case E_DEC_OVERFLOW: case E_DEC_OVERFLOW:
set_warning(Sql_condition::WARN_LEVEL_WARN, ER_WARN_DATA_OUT_OF_RANGE, 1); set_warning(Sql_condition::WARN_LEVEL_WARN, ER_WARN_DATA_OUT_OF_RANGE, 1);
......
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