On 6 Jun 2011, at 1:49pm, Igor Tandetnik wrote:

> Simon Slavin <slav...@bigfraud.org> wrote:
>> 
> 
>> http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt
> 
> If we talking about the standard, note that both division by zero and numeric 
> overflow are supposed to trigger an error:
> 
> 6.12-General Rules-4: If the value of a divisor is zero, then an exception 
> condition is raised: data exception-division by zero. [snip]
> 
> 
> So SQLite behaves neither in the way expected by the OP, nor in the way 
> prescribed by the standard (I'm not arguing that's a bad thing, just stating 
> the fact).

Ah.  In that case, I /would/ argue that this is bad, and that SQLite should 
conform to the standard.  Whenever someone can get around to it.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to