On Wed, Jul 23, 2014 at 2:15 PM, Simon Slavin <slav...@bigfraud.org> wrote:

> > (3) Convert hex literals of 63-bits or less into integers and convert
> > 64-bit or larger hex literals into a floating-point approximation.
>
> BLOBs.  Anything longer than 64 bits should be BLOBs.  Code which compares
> two values for identity (y == x) will still work correctly, but most other
> things will fail.
>

We already have hex-string literals for blobs, x"ff", so I don't think it's
a good idea.

Someone could accidentally type one too many hex-digit and silently switch
from integer to blob, which might not be immediately apparent, unlike an
error. Which is why I prefer (6). --DD
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to