Fix bug that id type cannot be blob
This commit is contained in:
parent
545f30f5cc
commit
c9f074e293
|
@ -1134,7 +1134,7 @@ func (engine *Engine) idTypeAssertion(col *core.Column, sid string) (interface{}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return n, nil
|
return n, nil
|
||||||
} else if col.SQLType.IsText() {
|
} else if col.SQLType.IsText() || col.SQLType.IsBlob() {
|
||||||
return sid, nil
|
return sid, nil
|
||||||
} else {
|
} else {
|
||||||
return nil, errors.New("not supported")
|
return nil, errors.New("not supported")
|
||||||
|
|
Loading…
Reference in New Issue