-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Stefan de Konink wrote:
Since MonetDB internally doesn't care for the length, as in, it could be the length of your free space, your point is valid. It seems that the wrong strlen function is used, one that is not, or only utf8 compatible if the locale is set so, in my perspective varchar(100) should be 100 visible characters and not bytes.
https://sourceforge.net/tracker/?func=detail&aid=2822855&group_id=56967&atid=482468 I have just added a bug + patch (which on my system seems to give very reasonable output) most likely the MonetDB development team can see if the patch makes enough sense to be included. (And if I didn't miss any corner cases). Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkpf5QkACgkQYH1+F2Rqwn0k+wCcDT+u8f0f35N+vxxiSVS/rQ1Y Um0An0n9kqF/R7k2nrM3eSkFymt4d2V2 =wy7n -----END PGP SIGNATURE-----