Skip to content
New issue

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

column type LONG BYTE is not compatible with MySQL #36239

Closed
wd0517 opened this issue Jul 15, 2022 · 0 comments · Fixed by #36314
Closed

column type LONG BYTE is not compatible with MySQL #36239

wd0517 opened this issue Jul 15, 2022 · 0 comments · Fixed by #36314
Assignees
Labels

Comments

@wd0517
Copy link
Contributor

wd0517 commented Jul 15, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CREATE TABLE t1 (col2 LONG BYTE) ENGINE=INNODB CHARACTER SET UTF8MB4;

2. What did you expect to see? (Required)

mysql 5.7

+-------+------------+------+-----+---------+-------+
| Field | Type       | Null | Key | Default | Extra |
+-------+------------+------+-----+---------+-------+
| col2  | mediumblob | YES  |     | NULL    |       |
+-------+------------+------+-----+---------+-------+

3. What did you see instead (Required)

+-------+------------+------+------+---------+-------+
| Field | Type       | Null | Key  | Default | Extra |
+-------+------------+------+------+---------+-------+
| col2  | mediumtext | YES  |      | NULL    |       |
+-------+------------+------+------+---------+-------+

4. What is your TiDB version? (Required)

Release Version: v6.1.0
Edition: Community
Git Commit Hash: 1a89dec
Git Branch: heads/refs/tags/v6.1.0
UTC Build Time: 2022-06-05 05:09:33
GoVersion: go1.18.2
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false

@wd0517 wd0517 added the type/bug The issue is confirmed as a bug. label Jul 15, 2022
@wd0517 wd0517 changed the title column type LONG BYTE is not compatible with MYSQL column type LONG BYTE is not compatible with MySQL Jul 15, 2022
@seiya-annie seiya-annie added compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) component/parser severity/moderate and removed compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) labels Jul 18, 2022
@Defined2014 Defined2014 removed the compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) label Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants