Remove default length of 50 for Blob #1959

Merged
lunny merged 2 commits from zeripath/xorm:change-default-size-for-blobs-mssql into master 2021-07-23 00:59:54 +00:00
Contributor

There is an odd inconsistency with default blob sizes - this PR only sets the
default size for bytea and binary.

Signed-off-by: Andrew Thornton art27@cantab.net

There is an odd inconsistency with default blob sizes - this PR only sets the default size for bytea and binary. Signed-off-by: Andrew Thornton <art27@cantab.net>
Owner

CI failed is related.

CI failed is related.
Author
Contributor

Agh sorry I missed the CI failure.

I've updated to set that to MAX size

Agh sorry I missed the CI failure. I've updated to set that to MAX size
zeripath force-pushed change-default-size-for-blobs-mssql from 0466284dec to 4ab644369a 2021-07-20 19:45:03 +00:00 Compare
lunny reviewed 2021-07-20 23:52:17 +00:00
@ -310,1 +310,4 @@
}
case schemas.Blob, schemas.TinyBlob, schemas.MediumBlob, schemas.LongBlob:
res = schemas.VarBinary
if c.Length == -1 {
Owner

c.Length == 0?

`c.Length == 0`?
zeripath added 1 commit 2021-07-22 21:39:48 +00:00
as per lunny
Signed-off-by: Andrew Thornton <art27@cantab.net>
All checks were successful
continuous-integration/drone/pr Build is passing
cb2b96e875
lunny approved these changes 2021-07-23 00:59:49 +00:00
lunny merged commit ad4830f531 into master 2021-07-23 00:59:54 +00:00
zeripath deleted branch change-default-size-for-blobs-mssql 2021-07-23 07:42:34 +00:00
Sign in to join this conversation.
No description provided.