04.08.2013 11:20, Mark Rotteveel wrote:
 >
> Ok, lets not call it a bug, but an area of potential improvement: based
> on the context it should be possible to deduce that the literal should
> be a smallint. Therefor it should be possible to handle 0x8000 as -32768
> when assigned to a smallint and as 32768 for an integer.

I doubt this is possible. AFAIK, the value is created at the parser 
level, so it's "contextless".


Dmitry


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to