Sorry, please check the ticket you posted, that's not a production version
version of SQLalchemy you're using, and you also did not specify MySQLdb
version or an adequate test case. The error cannot be reproduced.
On Jun 19, 2010, at 11:51 AM, Didip Kerabat wrote:
> Hi all,
>
> when running engine.execute("my query without optional escaped
> arguments").fetchall(),
>
>
> /Library/Python/2.6/site-packages/SQLAlchemy-0.6beta1-py2.6.egg/sqlalchemy/engine/base.py:
> self.__distill_params returns an empty tuple.
>
> but, inside /Library/Python/2.6/site-packages/MySQLdb/cursors.py, args must
> explicitly be None, not empty tuple.
>
> I guess i can have a work around by using the optional arguments in my query,
> is that the right thing to do?
>
> I documented the stack trace here: http://www.sqlalchemy.org/trac/ticket/1832
>
> - Didip -
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sqlalchemy?hl=en.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.