Skip to content

Commit 48fe280

Browse files
author
igor@olga.mysql.com
committed
Post-merge fix.
1 parent 040e46f commit 48fe280

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/sql_table.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -4054,7 +4054,8 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
40544054
}
40554055
bool save_abort_on_warning= thd->abort_on_warning;
40564056
thd->abort_on_warning= TRUE;
4057-
make_truncated_value_warning(thd, f_val, strlength(f_val), t_type,
4057+
make_truncated_value_warning(thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
4058+
f_val, strlength(f_val), t_type,
40584059
new_datetime_field->field_name);
40594060
thd->abort_on_warning= save_abort_on_warning;
40604061
}

0 commit comments

Comments
 (0)