pingcap/tidb

blob/text/int length isn't accuracy in column metadata

Open

#7,465 opened on Aug 22, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (6,186 forks)batch import
help wantedtype/compatibility

Repository metrics

Stars
 (40,090 stars)
PR merge metrics
 (Avg merge 14d 4h) (346 merged PRs in 30d)

Description

  1. What did you do?

connection tidb with --column-type-info

create table bitest(b blob(2));
select * from bitest;
  1. What did you expect to see?
Length:     255
  1. What did you see instead?
Length:     8
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
2.0.6

ref #7463

Contributor guide