mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Updated warning test
Updated all tests to catchup warnings for all field conversions mysql-test/t/ctype_many.test: Disable the warnings for misc conversion mysql-test/t/warnings.test: More warning tests
This commit is contained in:
@ -164,6 +164,12 @@ select * from t1 where btn like "q%";
|
||||
btn
|
||||
alter table t1 add column new_col char(1) not null, add key using HASH (btn,new_col), drop key btn;
|
||||
update t1 set new_col=btn;
|
||||
Warnings:
|
||||
Warning 1263 Data truncated for column 'new_col' at row 1
|
||||
Warning 1263 Data truncated for column 'new_col' at row 2
|
||||
Warning 1263 Data truncated for column 'new_col' at row 3
|
||||
Warning 1263 Data truncated for column 'new_col' at row 4
|
||||
Warning 1263 Data truncated for column 'new_col' at row 5
|
||||
explain select * from t1 where btn="a";
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ALL btn NULL NULL NULL 14 Using where
|
||||
|
Reference in New Issue
Block a user