]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years agostart sketching ideas for a rewritten unit of work.
Mike Bayer [Fri, 19 Mar 2010 20:59:52 +0000 (16:59 -0400)] 
start sketching ideas for a rewritten unit of work.
the basic idea is to bring topological back down to the raw function,
then the whole UOW constructs itself as very fine grained elements with
full dependencies to each other.  then a straight execute with a straight sort.
the hope is that the mechanism here would be vastly simpler.  while
the presence of a large number of fine-grained records may be expensive
it still is potentially a lot easier to distill into C code, as the
uow's structure now consists of data.

15 years agorename test_select to test_compiler
Mike Bayer [Fri, 19 Mar 2010 19:32:17 +0000 (15:32 -0400)] 
rename test_select to test_compiler

15 years ago- join() will now simulate a NATURAL JOIN by default. Meaning,
Mike Bayer [Fri, 19 Mar 2010 19:30:48 +0000 (15:30 -0400)] 
- join() will now simulate a NATURAL JOIN by default.  Meaning,
if the left side is a join, it will attempt to join the right
side to the rightmost side of the left first, and not raise
any exceptions about ambiguous join conditions if successful
even if there are further join targets across the rest of
the left.  [ticket:1714]

15 years ago- An exception is raised when a single-table subclass specifies
Mike Bayer [Fri, 19 Mar 2010 17:23:06 +0000 (13:23 -0400)] 
- An exception is raised when a single-table subclass specifies
a column that is already present on the base class.
[ticket:1732]

15 years agobranch merge
Mike Bayer [Fri, 19 Mar 2010 17:10:40 +0000 (13:10 -0400)] 
branch merge

15 years ago- added "lockmode" kw argument to Session.refresh(), will
Mike Bayer [Fri, 19 Mar 2010 17:10:13 +0000 (13:10 -0400)] 
- added "lockmode" kw argument to Session.refresh(), will
pass through the string value to Query the same as
in with_lockmode(), will also do version check for a
version_id_col-enabled mapping.

15 years agonobody expects the insanely significant decimal
Mike Bayer [Fri, 19 Mar 2010 16:35:31 +0000 (16:35 +0000)] 
nobody expects the insanely significant decimal

15 years ago- get firebird on board
Mike Bayer [Fri, 19 Mar 2010 16:30:22 +0000 (12:30 -0400)] 
- get firebird on board
- a lot of these drivers suck at decimals, not sure what to do

15 years agomake this test slightly easier, SQLite + win32 appears to not like it otherwise
Mike Bayer [Fri, 19 Mar 2010 16:04:45 +0000 (11:04 -0500)] 
make this test slightly easier, SQLite + win32 appears to not like it otherwise

15 years agodon't seem to need bind processing for pg8000 decimals.
Mike Bayer [Fri, 19 Mar 2010 15:58:16 +0000 (11:58 -0400)] 
don't seem to need bind processing for pg8000 decimals.

15 years agostill poking at numerics
Mike Bayer [Fri, 19 Mar 2010 15:55:59 +0000 (11:55 -0400)] 
still poking at numerics

15 years agodistinguish between small, large, and many significant digits. the irony
Mike Bayer [Fri, 19 Mar 2010 15:45:42 +0000 (11:45 -0400)] 
distinguish between small, large, and many significant digits.  the irony
that oracle and sybase are the ones that have the most issues with decimal numbers.

15 years ago- the string approach appears to be necessary for large numbers, however.
Mike Bayer [Fri, 19 Mar 2010 15:35:32 +0000 (11:35 -0400)] 
- the string approach appears to be necessary for large numbers, however.
Don't know how to get large decimals through to Sybase.

15 years agoswitching Decimal treatment in MSSQL to be pyodbc specific, added
Mike Bayer [Fri, 19 Mar 2010 15:17:14 +0000 (11:17 -0400)] 
switching Decimal treatment in MSSQL to be pyodbc specific, added
to connector to share between sybase/mssql.   Going
with turning decimals with very low significant digit to floats,
seems to work so far.

15 years agosome more tests. unfortunately i cant run them here since my osx freetds/pyodbc...
Mike Bayer [Fri, 19 Mar 2010 01:28:54 +0000 (21:28 -0400)] 
some more tests.  unfortunately i cant run them here since my osx freetds/pyodbc is hosed

15 years agoMerged latest tip
Brad Allen [Thu, 18 Mar 2010 22:50:35 +0000 (16:50 -0600)] 
Merged latest tip

15 years agofixed missing return statement which caused render_literal_value to choke
Brad Allen [Thu, 18 Mar 2010 22:47:52 +0000 (16:47 -0600)] 
fixed missing return statement which caused render_literal_value to choke

15 years agosome CHANGES moving around
Mike Bayer [Thu, 18 Mar 2010 20:54:37 +0000 (16:54 -0400)] 
some CHANGES moving around

15 years agoAdded MSSQLStrictCompiler support for rendering datetime types
Brad Allen [Thu, 18 Mar 2010 20:09:04 +0000 (14:09 -0600)] 
Added MSSQLStrictCompiler support for rendering datetime types

15 years ago- normalize sybase version numbers
Mike Bayer [Thu, 18 Mar 2010 20:07:48 +0000 (16:07 -0400)] 
- normalize sybase version numbers
- sybase has 255 identifier length on 15, 30 earlier

15 years agoAdded module docstring for mssql+mxodbc dialect.
Brad Allen [Thu, 18 Mar 2010 20:06:30 +0000 (14:06 -0600)] 
Added module docstring for mssql+mxodbc dialect.

15 years agoRemoved MxNumeric and MxFloat because now the sqlalchemy.types base classes support...
Brad Allen [Thu, 18 Mar 2010 20:05:59 +0000 (14:05 -0600)] 
Removed MxNumeric and MxFloat because now the sqlalchemy.types base classes support dialects having a class attribute of "supports_native_decimal" indicating native Python Demimal support. Adjusted mssql+mxodbc to use the sqlalchemy.types base classes for Float and Numeric instead of using the base mssql dialect's numeric types.

15 years ago- oracle needs a filter for this test
Mike Bayer [Thu, 18 Mar 2010 19:47:33 +0000 (19:47 +0000)] 
- oracle needs a filter for this test
- oracle outparam test reveals usage of numeric proc with scale==None

15 years agosome weird numerictype coming back from pysybase, run through float()
Mike Bayer [Thu, 18 Mar 2010 19:44:12 +0000 (19:44 +0000)] 
some weird numerictype coming back from pysybase, run through float()

15 years agoclean up NumericTest to use a consistent one column at a time system
Mike Bayer [Thu, 18 Mar 2010 19:34:09 +0000 (15:34 -0400)] 
clean up NumericTest to use a consistent one column at a time system

15 years agoremoved mxODBC imports from the module level
Brad Allen [Thu, 18 Mar 2010 18:42:37 +0000 (12:42 -0600)] 
removed mxODBC imports from the module level

15 years agoadjustments to improve readability (indentation to complex conditional expressions...
Brad Allen [Thu, 18 Mar 2010 18:16:01 +0000 (12:16 -0600)] 
adjustments to improve readability (indentation to complex conditional expressions, excessively long lines brokenup). This is only a partial cleanup.

15 years agoHardcoded ident_seed and ident_increment query had bind markers noncompliant with...
Brad Allen [Thu, 18 Mar 2010 17:47:45 +0000 (11:47 -0600)] 
Hardcoded ident_seed and ident_increment query had bind markers noncompliant with SQL-92, which caused mxODBC failures. This was corrected by using string substitution in building the statement, and removing the bind params.

15 years agoMerged from main tip.
Brad Allen [Thu, 18 Mar 2010 17:20:45 +0000 (11:20 -0600)] 
Merged from main tip.

15 years agoper zzzeek, for mssql+mxodbc, disabled test.sql.test_query.QueryTest.test_bind_in
Brad Allen [Thu, 18 Mar 2010 17:14:46 +0000 (11:14 -0600)] 
per zzzeek, for mssql+mxodbc, disabled test.sql.test_query.QueryTest.test_bind_in

15 years agocx_oracle adjust
Mike Bayer [Thu, 18 Mar 2010 16:10:29 +0000 (16:10 +0000)] 
cx_oracle adjust

15 years agoadjustment for pysybase
Mike Bayer [Thu, 18 Mar 2010 16:08:39 +0000 (16:08 +0000)] 
adjustment for pysybase

15 years agoturning the decimals to floats allows the E notation to work with sybase+pyodbc for...
Mike Bayer [Thu, 18 Mar 2010 16:05:20 +0000 (12:05 -0400)] 
turning the decimals to floats allows the E notation to work with sybase+pyodbc for small E notations

15 years ago- moved most Decimal bind/result handling into types.py, out of sqlite, mysql dialects.
Mike Bayer [Thu, 18 Mar 2010 15:48:24 +0000 (11:48 -0400)] 
- moved most Decimal bind/result handling into types.py, out of sqlite, mysql dialects.
- added an explicit test for [ticket:1216]
- some questions remain about MSSQL - would like to simplify/remove bind handling for numerics

15 years agocomments/question about using connection.closed in is_disconnect method
Brad Allen [Thu, 18 Mar 2010 15:12:06 +0000 (09:12 -0600)] 
comments/question about using connection.closed in is_disconnect method

15 years agoMerge
Brad Allen [Thu, 18 Mar 2010 14:53:06 +0000 (08:53 -0600)] 
Merge

15 years agoDocstring improvements for MxDecimal and MxNumeric result processors.
Brad Allen [Thu, 18 Mar 2010 14:41:54 +0000 (08:41 -0600)] 
Docstring improvements for MxDecimal and MxNumeric result processors.

15 years agoeGenix says "It's better to let mxODBC decide which bind type to use."
Brad Allen [Thu, 18 Mar 2010 14:35:16 +0000 (08:35 -0600)] 
eGenix says "It's better to let mxODBC decide which bind type to use."

15 years agosome ms fixes
Mike Bayer [Thu, 18 Mar 2010 02:33:08 +0000 (22:33 -0400)] 
some ms fixes

15 years agolatex can't handle the rowspans. pdf still cuts off the table and looks like
Mike Bayer [Thu, 18 Mar 2010 01:17:51 +0000 (21:17 -0400)] 
latex can't handle the rowspans.  pdf still cuts off the table and looks like
crap but at least it builds.

15 years agoif anybody complains that they didn't know it was called "relation" in 0.5, why....
Mike Bayer [Thu, 18 Mar 2010 00:49:41 +0000 (20:49 -0400)] 
if anybody complains that they didn't know it was called "relation" in 0.5, why..I'll eat my hat !

15 years agoadd a synonym for RelationProperty -> RelationshipProperty too
Mike Bayer [Thu, 18 Mar 2010 00:30:45 +0000 (20:30 -0400)] 
add a synonym for RelationProperty -> RelationshipProperty too

15 years agoBecause of changes to SQLAlchemy bind parameter placement, removed all mxodbc test...
Brad Allen [Wed, 17 Mar 2010 22:27:39 +0000 (16:27 -0600)] 
Because of changes to SQLAlchemy bind parameter placement, removed all mxodbc test disabling statements having this pattern: @testing.crashes('mssql+mxodbc', """Invalid bind parameter placement:

15 years agomerged from main tip
Brad Allen [Wed, 17 Mar 2010 22:11:45 +0000 (16:11 -0600)] 
merged from main tip

15 years agoMerged from main tip, and resolved conflicts in mxodbc dialect and connector.
Brad Allen [Wed, 17 Mar 2010 22:06:42 +0000 (16:06 -0600)] 
Merged from main tip, and resolved conflicts in mxodbc dialect and connector.

15 years ago- The official name for the relation() function is now
Mike Bayer [Wed, 17 Mar 2010 21:48:29 +0000 (17:48 -0400)] 
- The official name for the relation() function is now
relationship(), to eliminate confusion over the relational
algebra term.  relation() however will remain available
in equal capacity for the foreseeable future.  [ticket:1740]

15 years agoworking through syb capabilities
Mike Bayer [Wed, 17 Mar 2010 21:29:35 +0000 (17:29 -0400)] 
working through syb capabilities

15 years agoSetting default bindmethod to BIND_USING_SQLTYPE, since this should provide better...
Brad Allen [Wed, 17 Mar 2010 21:26:03 +0000 (15:26 -0600)] 
Setting default bindmethod to BIND_USING_SQLTYPE, since this should provide better type conversion performance.

15 years agoAdded decimalformat binding ( I thought this was committed earlier)
Brad Allen [Wed, 17 Mar 2010 21:24:59 +0000 (15:24 -0600)] 
Added decimalformat binding ( I thought this was committed earlier)

15 years ago- pyodbc can do *some* unicode with sybase, python-sybase not at all.
Mike Bayer [Wed, 17 Mar 2010 20:01:29 +0000 (16:01 -0400)] 
- pyodbc can do *some* unicode with sybase, python-sybase not at all.
Since python-sybase source code seems to be all from 2001 with no updates,
making pyodbc the default driver.

15 years ago- added pyodbc for sybase driver.
Mike Bayer [Wed, 17 Mar 2010 19:15:44 +0000 (15:15 -0400)] 
- added pyodbc for sybase driver.
- generalized the "freetds" / "unicode statements" behavior of MS-SQL/pyodbc
into the base Pyodbc connector, as this seems to apply to Sybase as well.
- generalized the python-sybase "use autocommit for DDL" into the pyodbc
connector.  With pyodbc, the "autocommit" flag on connection is used,
as Pyodbc seems to have more database conversation than python-sybase that
can't otherwise be suppressed.
- Some platforms will now interpret certain literal values
as non-bind parameters, rendered literally into the SQL
statement.   This to support strict SQL-92 rules that are
enforced by some platforms including MS-SQL and Sybase.
In this model, bind parameters aren't allowed in the
columns clause of a SELECT, nor are certain ambiguous
expressions like "?=?".  When this mode is enabled, the base
compiler will render the binds as inline literals, but only across
strings and numeric values.  Other types such as dates
will raise an error, unless the dialect subclass defines
a literal rendering function for those.  The bind parameter
must have an embedded literal value already or an error
is raised (i.e. won't work with straight bindparam('x')).
Dialects can also expand upon the areas where binds are not
accepted, such as within argument lists of functions
(which don't work on MS-SQL when native SQL binding is used).

15 years ago- basic sybase+pyodbc support. in particular this will impact freetds detection...
Mike Bayer [Wed, 17 Mar 2010 17:14:47 +0000 (13:14 -0400)] 
- basic sybase+pyodbc support.  in particular this will impact freetds detection for MS-SQL as well.

15 years agoChanged OurSQL to use supports_unicode_binds and supports_unicode_statements.
Michael Trier [Wed, 17 Mar 2010 01:50:46 +0000 (21:50 -0400)] 
Changed OurSQL to use supports_unicode_binds and supports_unicode_statements.

15 years ago- mxodbc can use default execute() call
Mike Bayer [Wed, 17 Mar 2010 00:58:46 +0000 (20:58 -0400)] 
- mxodbc can use default execute() call
- modified SQLCompiler to support rendering of bind parameters as literal
inline strings for specific sections, if specified by the compiler
subclass, using either literal_binds=True passed to process() or any visit
method, or by setting to False the "binds_in_columns_clause" flag for SQL-92
compatible columns clauses..  The compiler subclass is responsible for
implementing the literal quoting function which should make use of the DBAPI's native
capabilities.
- SQLCompiler now passes **kw to most process() methods (should be all,
ideally) so that literal_binds is propagated.
- added some rudimentary tests for mxodbc.

15 years agocorrected import statements forgotten on prior commit
Brad Allen [Tue, 16 Mar 2010 22:59:07 +0000 (16:59 -0600)] 
corrected import statements forgotten on prior commit

15 years agoDisabling tests for mssql+mxodbc where mxODBC cursor.execute chokes on invalid placem...
Brad Allen [Tue, 16 Mar 2010 22:57:54 +0000 (16:57 -0600)] 
Disabling tests for mssql+mxodbc where mxODBC cursor.execute chokes on invalid placement of bind parameter "?" within the SQL statement.

15 years agoFixes to pass numeric tests; now by default, the mxodbc connector natively returns...
Brad Allen [Tue, 16 Mar 2010 22:53:21 +0000 (16:53 -0600)] 
Fixes to pass numeric tests; now by default, the mxodbc connector natively returns Python Decimal data types from columns of type SQL.NUMERIC or SQL.DECIMAL

15 years agoAdded module docstring for mxodbc connector
Brad Allen [Tue, 16 Mar 2010 22:50:20 +0000 (16:50 -0600)] 
Added module docstring for mxodbc connector

15 years ago- The except_() method now renders as MINUS on Oracle,
Mike Bayer [Tue, 16 Mar 2010 22:38:18 +0000 (22:38 +0000)] 
- The except_() method now renders as MINUS on Oracle,
which is more or less equivalent on that platform.
[ticket:1712]

15 years ago- Fixed bug which caused "row switch" logic, that is an
Mike Bayer [Tue, 16 Mar 2010 16:58:13 +0000 (12:58 -0400)] 
- Fixed bug which caused "row switch" logic, that is an
INSERT and DELETE replaced by an UPDATE, to fail when
version_id_col was in use. [ticket:1692]

- Added "version_id_generator" argument to Mapper, this is a
callable that, given the current value of the "version_id_col",
returns the next version number.  Can be used for alternate
versioning schemes such as uuid, timestamps.  [ticket:1692]

15 years ago- added test for #1737
Mike Bayer [Tue, 16 Mar 2010 16:07:47 +0000 (12:07 -0400)] 
- added test for #1737
- the fix from r502f1a4f92d5 broke another rare use case, one-to-one on a PK/FK combo which apparently enables use_get.
 fortunate that another test waiting in trac reveals this.

15 years agoremoved junk pdb.set_trace()
Brad Allen [Tue, 16 Mar 2010 02:35:14 +0000 (20:35 -0600)] 
removed junk pdb.set_trace()

15 years agoRemoved custom do_execute which called cursor.executedirect, after discussion with...
Brad Allen [Tue, 16 Mar 2010 02:34:34 +0000 (20:34 -0600)] 
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.

15 years agoadjust mxodbc imports to dialect level
Mike Bayer [Tue, 16 Mar 2010 00:56:55 +0000 (20:56 -0400)] 
adjust mxodbc imports to dialect level

15 years agomerged mainline default branch
Brad Allen [Mon, 15 Mar 2010 17:42:35 +0000 (11:42 -0600)] 
merged mainline default branch

15 years agousing executemany instead of executedirect, which passes more tests than with plain...
Brad Allen [Mon, 15 Mar 2010 17:39:03 +0000 (11:39 -0600)] 
using executemany instead of executedirect, which passes more tests than with plain execute. Later we need to define logic to determine when to call the normal execute.

15 years ago- The visit_pool() method of Dialect is removed, and replaced with
Mike Bayer [Mon, 15 Mar 2010 17:08:31 +0000 (13:08 -0400)] 
- The visit_pool() method of Dialect is removed, and replaced with
on_connect().  This method returns a callable which receives
the raw DBAPI connection after each one is created.   The callable
is assembled into a first_connect/connect pool listener by the
connection strategy if non-None.   Provides a simpler interface
for dialects.

15 years agowhitespace fixes to improve readability (shortened excessively long lines, and one...
Brad Allen [Mon, 15 Mar 2010 17:01:50 +0000 (11:01 -0600)] 
whitespace fixes to improve readability (shortened excessively long lines, and one 5-space indentation block corrected to 4 spaces).

15 years agofix failing test due to sybase paramstyle
Mike Bayer [Sun, 14 Mar 2010 23:50:50 +0000 (19:50 -0400)] 
fix failing test due to sybase paramstyle

15 years ago- name all the "sub" dialect components <DB><component>_<dialectname>, [ticket:1738]
Mike Bayer [Sun, 14 Mar 2010 23:31:30 +0000 (19:31 -0400)] 
- name all the "sub" dialect components <DB><component>_<dialectname>, [ticket:1738]

15 years ago- many incantations to get the tests to run reasonably
Mike Bayer [Sun, 14 Mar 2010 23:03:24 +0000 (23:03 +0000)] 
- many incantations to get the tests to run reasonably
- executemany() for some reason uses some tiny buffer, overriding it
- we need to use the IDENTITY_INSERT thing

15 years ago- initial working version of sybase, with modifications to the transactional
Mike Bayer [Sun, 14 Mar 2010 22:04:20 +0000 (22:04 +0000)] 
- initial working version of sybase, with modifications to the transactional
model to accomodate Sybase's default mode of "no ddl in transactions".
- identity insert not working yet.  it seems the default here might be the
opposite of that of MSSQL.
- reflection will be a full rewrite
- default DBAPI is python-sybase, well documented and nicely DBAPI compliant
except for the bind parameter situation, where we have a straightforward workaround
- full Sybase docs at: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0/title.htm

15 years agostarting to add notes for sybase
Mike Bayer [Sun, 14 Mar 2010 19:00:27 +0000 (15:00 -0400)] 
starting to add notes for sybase

15 years agomerge of the "database chart" diff
Mike Bayer [Sun, 14 Mar 2010 01:06:07 +0000 (20:06 -0500)] 
merge of the "database chart" diff

15 years ago- Fixed bug in 0.6-reworked "many-to-one" optimizations
Mike Bayer [Sun, 14 Mar 2010 01:05:17 +0000 (20:05 -0500)] 
- Fixed bug in 0.6-reworked "many-to-one" optimizations
such that a many-to-one that is against a non-primary key
column on the remote table (i.e. foreign key against a
UNIQUE column) will pull the "old" value in from the
database during a change, since if it's in the session
we will need it for proper history/backref accounting,
and we can't pull from the local identity map on a
non-primary key column. [ticket:1737] (test is pending)

15 years agoongoing typos
Mike Bayer [Sat, 13 Mar 2010 23:17:26 +0000 (18:17 -0500)] 
ongoing typos

15 years agogr and pysqlite
Mike Bayer [Sat, 13 Mar 2010 23:13:41 +0000 (18:13 -0500)] 
gr and pysqlite

15 years agoupdate link for sqlite3
Mike Bayer [Sat, 13 Mar 2010 23:10:31 +0000 (18:10 -0500)] 
update link for sqlite3

15 years agothe big table of all the DBAPIs
Mike Bayer [Sat, 13 Mar 2010 23:04:39 +0000 (18:04 -0500)] 
the big table of all the DBAPIs

15 years agoworking dialect support into a chart
Mike Bayer [Sat, 13 Mar 2010 22:20:37 +0000 (17:20 -0500)] 
working dialect support into a chart

15 years ago- further checks when running in WITH_UNICODE
Mike Bayer [Sat, 13 Mar 2010 21:12:29 +0000 (16:12 -0500)] 
- further checks when running in WITH_UNICODE
- When WITH_UNICODE
mode is used in Python 2.xx, a large and scary warning
is emitted asking that the user seriously consider
the usage of this difficult mode of operation.
[ticket:1670]

15 years agocallcount...
Mike Bayer [Sat, 13 Mar 2010 19:54:41 +0000 (14:54 -0500)] 
callcount...

15 years agoarg, oracle, bah
Mike Bayer [Sat, 13 Mar 2010 19:53:38 +0000 (14:53 -0500)] 
arg, oracle, bah

15 years agoensure with_unicode flag is false for cx_oracle < 5
Mike Bayer [Sat, 13 Mar 2010 18:56:05 +0000 (13:56 -0500)] 
ensure with_unicode flag is false for cx_oracle < 5

15 years agomerge tip
Mike Bayer [Sat, 13 Mar 2010 18:54:24 +0000 (13:54 -0500)] 
merge tip

15 years ago- Added "logging_name" argument to create_engine(), Pool() constructor
Mike Bayer [Sat, 13 Mar 2010 18:53:31 +0000 (13:53 -0500)] 
- Added "logging_name" argument to create_engine(), Pool() constructor
as well as "pool_logging_name" argument to create_engine() which
filters down to that of Pool.   Issues the given string name
within the "name" field of logging messages instead of the default
hex identifier string.  [ticket:1555]

15 years agoadjust per a couple zxjdbc failures
Philip Jenvey [Sat, 13 Mar 2010 18:29:09 +0000 (10:29 -0800)] 
adjust per a couple zxjdbc failures

15 years agoonly enable WITH_UNICODE when >= cx_Oracle v5
Philip Jenvey [Sat, 13 Mar 2010 18:20:57 +0000 (10:20 -0800)] 
only enable WITH_UNICODE when >= cx_Oracle v5

15 years ago- query.get() now returns None if queried for an identifier
Mike Bayer [Sat, 13 Mar 2010 17:28:50 +0000 (12:28 -0500)] 
- query.get() now returns None if queried for an identifier
that is present in the identity map with a different class
than the one requested, i.e. when using polymorphic loading.
[ticket:1727]

15 years agomerge tip
Mike Bayer [Sat, 13 Mar 2010 16:52:50 +0000 (11:52 -0500)] 
merge tip

15 years agofix the timeout test once and for all
Mike Bayer [Sat, 13 Mar 2010 16:52:17 +0000 (11:52 -0500)] 
fix the timeout test once and for all

15 years agotweak to take advantage of returning support in executemany
Philip Jenvey [Sat, 13 Mar 2010 03:01:59 +0000 (19:01 -0800)] 
tweak to take advantage of returning support in executemany

15 years agodisable interval tests on oracle+zxjdbc for now, and also test_fk_nonpassive
Philip Jenvey [Sat, 13 Mar 2010 01:50:33 +0000 (17:50 -0800)] 
disable interval tests on oracle+zxjdbc for now, and also test_fk_nonpassive

15 years agofix extending of a tuple
Philip Jenvey [Sat, 13 Mar 2010 01:19:07 +0000 (17:19 -0800)] 
fix extending of a tuple

15 years agomove the initial connect out of the profile zone so we don't get a method call hit...
Mike Bayer [Sat, 13 Mar 2010 00:57:06 +0000 (19:57 -0500)] 
move the initial connect out of the profile zone so we don't get a method call hit on that

15 years agofurther refinement
Mike Bayer [Fri, 12 Mar 2010 23:45:53 +0000 (23:45 +0000)] 
further refinement

15 years agomerging master...
Mike Bayer [Fri, 12 Mar 2010 23:23:44 +0000 (23:23 +0000)] 
merging master...

15 years agoconsolidate unicode/CLOB handling
Mike Bayer [Fri, 12 Mar 2010 23:22:20 +0000 (23:22 +0000)] 
consolidate unicode/CLOB handling

15 years agoadjust to allow mock DBAPIs
Mike Bayer [Fri, 12 Mar 2010 21:49:32 +0000 (16:49 -0500)] 
adjust to allow mock DBAPIs

15 years agooursql doesn't like the cursor being reused without fetch being finished
Mike Bayer [Fri, 12 Mar 2010 21:19:41 +0000 (16:19 -0500)] 
oursql doesn't like the cursor being reused without fetch being finished