× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2010-04-01T00:40:42Z  · last modified 2010-04-02T17:06:36Z

MySQl Index Length for tinyblob, longblob, mediumblob etc


Priority Low
Complexity Trivial
Component App - Visual Editing
Version 09.0

Related to

http://10.168.1.17:8081/do/home/project/aquadatastudio/issue/3518

MySQL 6 on 10.168.1.38

demo database

created a table with the below syntax

CREATE TABLE a_index_length_test  (
    a    bigint(20) NOT NULL,
    b    tinyblob NOT NULL,
    c    longblob NOT NULL,
    d    mediumblob NOT NULL,
    e    mediumtext NOT NULL,
    f    longtext NOT NULL,
    g    tinytext NOT NULL
    )
GO

Tried to create indexes on all the columns but the length is not enabled for the above data types(not on bigint) - so I cant create indexes

ADS displays BLOB/TEXT xolumn used in key specification without a key length

See pic

---------

I created an index manually by putting the length and it is displayed in index properties

CREATE INDEX `ind_1`
    ON a_index_length_test(`b`(5), `c`(5), `d`(5), `e`(5), `f`(5), `g`(5))

1 attachment
  • 505.png

    2010-04-01T00:40:52Z

    35 KB

Issue #3825

Closed
Fixed
Resolved 2010-04-02T17:06:36Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017