> >   sqlite> select ~1 - ~5;
> >   -8
> >   sqlite> select (~1) - (~5);
> >   4
> >
> 
> That would be a bug in lemon...

I guess adopting the same operator precedence as MySQL or MS SQL Server
is out of the question?

http://dev.mysql.com/doc/refman/5.0/en/operator-precedence.html

BINARY, COLLATE
!
- (unary minus), ~ (unary bit inversion)
^
*, /, DIV, %, MOD
-, +
<<, >>
&
|
=, <=>, >=, >, <=, <, <>, !=, IS, LIKE, REGEXP, IN
BETWEEN, CASE, WHEN, THEN, ELSE
NOT
&&, AND
XOR
||, OR
:=

http://msdn2.microsoft.com/en-us/library/ms190276.aspx



      
____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to