Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
Andrew Thornton 2022-07-13 20:28:39 +01:00
parent 72bfadeefd
commit 9278b05d7e
No known key found for this signature in database
GPG Key ID: 3CDE74631F13A748
1 changed files with 3 additions and 5 deletions

View File

@ -290,13 +290,11 @@ func TestGetColumnsComment(t *testing.T) {
} }
func TestGetColumnsLength(t *testing.T) { func TestGetColumnsLength(t *testing.T) {
var max_length int var max_length int64
switch testEngine.Dialect().URI().DBType { switch testEngine.Dialect().URI().DBType {
case case schemas.POSTGRES:
schemas.POSTGRES:
max_length = 0 max_length = 0
case case schemas.MYSQL:
schemas.MYSQL:
max_length = 65535 max_length = 65535
default: default:
t.Skip() t.Skip()