1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
unknown
2003-04-30 00:07:37 -07:00
parent 05af39d591
commit b857129454
21 changed files with 392 additions and 19 deletions

View File

@ -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 (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