-
-
Notifications
You must be signed in to change notification settings - Fork 508
Closed
Labels
enhancementEnhances an existing featureEnhances an existing featurenettype-mysqlMySQL and/or MariaDB specific issueMySQL and/or MariaDB specific issue
Milestone
Description
Preconditions
- HeidiSQL version: 11.1.0.6141
- Database type and version: MariaDB 10.5.8
- OS: Windows 10 20H2 for HeidiSQL, MariaDB running on Ubuntu 20.04 in WSL 2 docker
Describe the bug
The CREATE code tab doesn't show the COMPRESSED attribute for fields that have it.
To Reproduce
CREATE TABLE `compr_demo` ( `id` INT NOT NULL AUTO_INCREMENT, `a` TEXT NULL, `b` TEXT NULL, PRIMARY KEY (`id`));
ALTER TABLE `compr_demo` MODIFY COLUMN `a` TEXT COMPRESSED;
The CREATE code tab shows:
CREATE TABLE `compr_demo` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`a` TEXT NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_520_nopad_ci',
`b` TEXT NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_520_nopad_ci',
PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb4_unicode_520_nopad_ci'
ENGINE=InnoDB
While
SHOW CREATE TABLE `compr_demo`;
shows the following, including the compressed attribute for column a.
CREATE TABLE `compr_demo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`a` text /*!100301 COMPRESSED*/ COLLATE utf8mb4_unicode_520_nopad_ci DEFAULT NULL,
`b` text COLLATE utf8mb4_unicode_520_nopad_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_nopad_ci
Screenshots or Crash reports
gakowalski
Metadata
Metadata
Assignees
Labels
enhancementEnhances an existing featureEnhances an existing featurenettype-mysqlMySQL and/or MariaDB specific issueMySQL and/or MariaDB specific issue