Skip to content

[Bug]: enum类型插入问题 #14860

Closed
Closed

Description

@ck89119

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

f9c3eac

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

插入int类型数据没有check范围
image

不能插入string类型列
MO:
image

Mysql:
image

Expected Behavior

No response

Steps to Reproduce

create table t4 (a enum('abc', 'def'));
insert into t4 values (0);
select * from t4;


create table t4 (a enum('abc', 'def'));
create table t5 (a char(10));
insert into t5 values ('abc');
insert into t4 select * from t5;
select * from t4;

Additional information

No response

Activity

  1. added
    kind/bug
    on Mar 8, 2024
  2. added this to the 1.2.0 milestone on Mar 8, 2024
  3. added
    severity/s0
    on Mar 8, 2024
  4. assigned and unassigned on Mar 13, 2024
  5. ck89119 commented on Mar 13, 2024

    @ck89119
    ContributorAuthor

    已验证

    image image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugresolved/v1.1.2severity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions