Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.3.11, 10.2.19
Description
https://dbfiddle.uk/?rdbms=mariadb_10.3&fiddle=a104c74c56d1a9e25ae1e5104016b774
|
|
create table x (y enum ('0','1','2','3') );
|
|
✓
|
|
insert into x values ('1'),('0'),('2'),('3')
|
|
✓
|
|
select * from x
|
|
| y |
|
| :- |
|
| 1 |
|
| 0 |
|
| 2 |
|
| 3 |
|
|
alter table x modify y tinyint unsigned;
|
|
✓
|
|
select * from x;
|
|
| y |
|
| -: |
|
| 2 |
|
| 1 |
|
| 3 |
|
| 4 |
|
|