Bugs item #3442071, was opened at 2011-11-25 07:35
Message generated for change (Comment added) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=3442071&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SQLite
Group: SQLObject release (specify)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tobias (vanity)
>Assigned to: Oleg Broytman (phd)
Summary: Modulo mapped to function instead of operator
Initial Comment:
With SQLObject 1.2.0 and whatever SQLite comes with Python 2.6, this following works fine:
Video.select("""video.width % 2 == 1""")[0]
But this raises sqlobject.dberrors.OperationalError: no such function: MOD:
Video.select(Video.q.width % 2 == 1)[0]
----------------------------------------------------------------------
>Comment By: Oleg Broytman (phd)
Date: 2011-11-26 05:28
Message:
Fixed in commits 4482:4484 (branches 1.1, 1.2 and the trunk). Will be in
the next releases. Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=3442071&group_id=74338
|