fix test
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
72bfadeefd
commit
9278b05d7e
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue