Ah nice, yes 255 sounds like a much better default

On Dec 4, 1:08 pm, Justin Carter <[email protected]> wrote:
> On Dec 4, 12:44 pm, Michael Sharman <[email protected]> wrote:
>
> > I created a custom type today and got an error deploying it that the
> > row size was too large. Basically the new db engine in farcry 6.1
> > defaults varchar to 2000 characters. Seeing as I had 3-4 'string'
> > types (and I was extending types) that made the db (mysql) barf.
>
> Yep, this is a known issue (we were even discussing it again yesterday
> afternoon). At the moment the precision for string types is defaulting
> to "max", but due to the row size limits of MySQL and for the sake of
> a more sensible, consistent default we'll probably change it back to
> 255 for string types. So if developers need to increase the size of
> their particular string property then they can do so using the db
> precision attribute. And for the properties across all the FarCry
> types we'll specify the precision so that the row sizes aren't
> unnecessarily large.

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to