pingcap/tidb

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

Open

#7 465 ouverte le 22 août 2018

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Go (6 186 forks)batch import
help wantedtype/compatibility

Métriques du dépôt

Stars
 (40 090 stars)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

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

Guide contributeur