Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
table, executor: set a real enum as the default enum value #8469
What problem does this PR solve?
When getting a default enum value from nil, TiDB will return a string type datum, which will cause panic when reading the inserted value.
What is changed and how it works?
Set an enum value as the default.