← Back to team overview

maria-developers team mailing list archive

Re: Formatting rules for double => varchar assignment


On 23 Jun 2016 4:02 am, "Sergei Golubchik" <serg@xxxxxxxxxxx> wrote:
> Hi, Jesse!
> This is done in our my_gcvt() function.
> Its goal is to minimize the information loss, given the limited target
> column length. There are different cases to consider, comments in the
> function explain some of them.

That's the code I'm looking for! It's fascinating reading code that I've
spent much time trying to replicate the behaviour of. I got it pretty close.


> Regards,
> Sergei
> Chief Architect MariaDB
> and security@xxxxxxxxxxx