]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Cursors now have "arraysize" set to 50 by default on
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2008 20:56:47 +0000 (20:56 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2008 20:56:47 +0000 (20:56 +0000)
commit062324bd2c2c952417edcd10a7c98a1ae7dc77c6
treee224e100bf7c7e29318daf2380f8fce75dfa6072
parent645eea53c6676c958df7205564988c7fdf6c60ca
- Cursors now have "arraysize" set to 50 by default on
them, the value of which is configurable using the
"arraysize" argument to create_engine() with the
Oracle dialect.  This to account for cx_oracle's default
setting of "1", which has the effect of many round trips
being sent to Oracle.  This actually works well in
conjunction with BLOB/CLOB-bound cursors, of which
there are any number available but only for the life of
that row request (so BufferedColumnRow is still needed,
but less so). [ticket:1062]
CHANGES
lib/sqlalchemy/databases/oracle.py
test/dialect/oracle.py