We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
mysql> show create table testyear; +----------+-------------------------------------------------------------------------------------------+ | Table | Create Table | +----------+-------------------------------------------------------------------------------------------+ | testyear | CREATE TABLE `testyear` ( `i` year(4) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 | +----------+-------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec) mysql> select * from testyear; Field 1: `i` Catalog: `def` Database: `test` Table: `testyear` Org_table: `testyear` Type: YEAR Collation: binary (63) Length: 4 Max_length: 0 Decimals: 0 Flags: UNSIGNED ZEROFILL NUM 0 rows in set (0.00 sec)
What did you expect to see? Flags: UNSIGNED ZEROFILL NUM
What did you see instead? Flags: ZEROFILL NUM
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)? eec6899
tidb-server -V
select tidb_version();
The text was updated successfully, but these errors were encountered:
@jackysp title is kinda confusing. Do you mean "type year should have an unsigned flag, but it does not have currently"?
Sorry, something went wrong.
jackysp
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
What did you expect to see?
Flags: UNSIGNED ZEROFILL NUM
What did you see instead?
Flags: ZEROFILL NUM
What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?eec6899
The text was updated successfully, but these errors were encountered: