Skip to content

[BUG]MySQL, Import from SQL TEXT parsing fail #235

@xuetuing

Description

@xuetuing

issue using "import form SQL" feature with MySQL : TEXT

How to reproduce
image

CREATE TABLE `ys_map_info` (
	`id` SMALLINT NOT NULL AUTO_INCREMENT UNIQUE,
	`detail` TEXT(65535),
	PRIMARY KEY(`id`)
); 

Fail

But if the datatype is VARCHAR:

CREATE TABLE `ys_map_info` (
	`id` SMALLINT NOT NULL AUTO_INCREMENT UNIQUE,
	`detail` varchar(65535),
	PRIMARY KEY(`id`)
);

image

OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions