]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Removed custom do_execute which called cursor.executedirect, after discussion with...
authorBrad Allen <bradallen137@gmail.com>
Tue, 16 Mar 2010 02:34:34 +0000 (20:34 -0600)
committerBrad Allen <bradallen137@gmail.com>
Tue, 16 Mar 2010 02:34:34 +0000 (20:34 -0600)
commit4ed1f0e57faa3ebd0f7cd9e46e1ab5671f4f54d4
treeaa0119c0a6c0b75b2e550593c1f280c7a62b4565
parent00ac90accb8d29cd665a9c14089c51a32afb3bd8
Removed custom do_execute which called cursor.executedirect, after discussion with eGenix and zzzeek. Even though more tests pass with executedirect, it is not appropriate for default usage because it does not issue prepare statements to the db, and it forces Python type binding. The executedirect method should only be called when the API user specifically requests it for special case performance reasons.
lib/sqlalchemy/connectors/mxodbc.py