]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
16 years agodid away with preexecute_pk_sequences
Mike Bayer [Mon, 3 Aug 2009 01:38:30 +0000 (01:38 +0000)] 
did away with preexecute_pk_sequences

16 years agosome refinements. would like to try tackling _get_colparams
Mike Bayer [Mon, 3 Aug 2009 01:22:42 +0000 (01:22 +0000)] 
some refinements.  would like to try tackling _get_colparams

16 years agoo handle array results for Binary and tweak test guards for oracle+zxjdbc
Philip Jenvey [Mon, 3 Aug 2009 01:06:11 +0000 (01:06 +0000)] 
o handle array results for Binary and tweak test guards for oracle+zxjdbc

16 years agoadding inline where result isnt needed brings it back down
Mike Bayer [Mon, 3 Aug 2009 00:50:11 +0000 (00:50 +0000)] 
adding inline where result isnt needed brings it back down

16 years agounfortunately the implicit_returning thing adds call counts to these tests, since
Mike Bayer [Mon, 3 Aug 2009 00:46:01 +0000 (00:46 +0000)] 
unfortunately the implicit_returning thing adds call counts to these tests, since
they are single-inserts that just throw the RETURNING away.  we have to fetch it now
in order to auto-close.  in the real world this will not be an issue (and is not an
issue in the ORM either which always fetches)

16 years agorenamed last_inserted_ids() to inserted_primary_key
Mike Bayer [Mon, 3 Aug 2009 00:36:36 +0000 (00:36 +0000)] 
renamed last_inserted_ids() to inserted_primary_key

16 years agoskip the examples on jython for now since they have a hard dependency on sqlite
Philip Jenvey [Mon, 3 Aug 2009 00:20:35 +0000 (00:20 +0000)] 
skip the examples on jython for now since they have a hard dependency on sqlite

16 years ago- allowing resultproxy to autoclose even if implicit returning is used
Mike Bayer [Sun, 2 Aug 2009 23:31:27 +0000 (23:31 +0000)] 
- allowing resultproxy to autoclose even if implicit returning is used
- for now, lastrowid-capable dialects will use pre-execute for any defaults that arent the real "autoincrement";
currently this is letting us treat MSSQL the same as them but we may want to improve upon this

16 years agosome more mssql
Mike Bayer [Sun, 2 Aug 2009 22:01:04 +0000 (22:01 +0000)] 
some more mssql

16 years agogot test_mssql passing except for those tests that seem to be freetds-related
Mike Bayer [Sun, 2 Aug 2009 20:56:59 +0000 (20:56 +0000)] 
got test_mssql passing except for those tests that seem to be freetds-related

16 years agocorrect / test the autoincrement reflection policy
Mike Bayer [Sun, 2 Aug 2009 19:00:59 +0000 (19:00 +0000)] 
correct / test the autoincrement reflection policy

16 years agomerged -r6204:6233 of trunk
Mike Bayer [Sun, 2 Aug 2009 18:40:53 +0000 (18:40 +0000)] 
merged -r6204:6233 of trunk

16 years agoadded test for reflection with index + missing cols
Mike Bayer [Sun, 2 Aug 2009 16:41:31 +0000 (16:41 +0000)] 
added test for reflection with index + missing cols

16 years agofix log to be util
Mike Bayer [Sun, 2 Aug 2009 16:32:53 +0000 (16:32 +0000)] 
fix log to be util

16 years agounused import, rearrange
Philip Jenvey [Sat, 1 Aug 2009 21:24:47 +0000 (21:24 +0000)] 
unused import, rearrange

16 years ago- Databases which rely upon postfetch of "last inserted id" to get at a
Mike Bayer [Sat, 1 Aug 2009 00:36:00 +0000 (00:36 +0000)] 
- Databases which rely upon postfetch of "last inserted id" to get at a
generated sequence value (i.e. MySQL, MS-SQL) now work correctly
when there is a composite primary key where the "autoincrement" column
is not the first primary key column in the table.

16 years agoadded test for already fixed case of oracle alias name truncation being applied prope...
Mike Bayer [Fri, 31 Jul 2009 23:07:21 +0000 (23:07 +0000)] 
added test for already fixed case of oracle alias name truncation being applied properly, [ticket:1309]

16 years agodont assume "returning" is present
Mike Bayer [Fri, 31 Jul 2009 14:47:27 +0000 (14:47 +0000)] 
dont assume "returning" is present

16 years agomove cx_oracle's bind param quoting out of base and its do_release_savepoint
Philip Jenvey [Fri, 31 Jul 2009 05:28:44 +0000 (05:28 +0000)] 
move cx_oracle's bind param quoting out of base and its do_release_savepoint
into base

16 years agoavoid unicodedata.normalize when on Java 5
Philip Jenvey [Thu, 30 Jul 2009 00:25:43 +0000 (00:25 +0000)] 
avoid unicodedata.normalize when on Java 5

16 years agofix setuptools command
Mike Bayer [Wed, 29 Jul 2009 21:37:10 +0000 (21:37 +0000)] 
fix setuptools command

16 years agodon't create a bind for pk col + sequence if the backend doesn't support sequences
Mike Bayer [Wed, 29 Jul 2009 04:03:51 +0000 (04:03 +0000)] 
don't create a bind for pk col + sequence if the backend doesn't support sequences

16 years agoapparently this passes with implicit returning
Philip Jenvey [Wed, 29 Jul 2009 00:47:32 +0000 (00:47 +0000)] 
apparently this passes with implicit returning

16 years agomerge r6218 from trunk
Philip Jenvey [Wed, 29 Jul 2009 00:42:27 +0000 (00:42 +0000)] 
merge r6218 from trunk

16 years agoimproved reduce_columns() to navigate around a CompositeSelect that buries foreign...
Mike Bayer [Tue, 28 Jul 2009 17:13:31 +0000 (17:13 +0000)] 
improved reduce_columns() to navigate around a CompositeSelect that buries foreign-key holding columns down
on later selectables, [ticket:1486]

16 years agoboiled down "rendered_returning" etc. into just "returning"
Mike Bayer [Tue, 28 Jul 2009 17:12:19 +0000 (17:12 +0000)] 
boiled down "rendered_returning" etc. into just "returning"

16 years agoavoid dumps output comparisons relying on dict ordering on jython
Philip Jenvey [Tue, 28 Jul 2009 05:42:32 +0000 (05:42 +0000)] 
avoid dumps output comparisons relying on dict ordering on jython

16 years agoserver_version_info for cx_Oracle
Philip Jenvey [Mon, 27 Jul 2009 03:06:29 +0000 (03:06 +0000)] 
server_version_info for cx_Oracle

16 years ago- implicit returning support. insert() will use RETURNING to get at primary key...
Mike Bayer [Mon, 27 Jul 2009 02:09:54 +0000 (02:09 +0000)] 
- implicit returning support.  insert() will use RETURNING to get at primary key values generated via sequence or default if the dialect detects the feature being availble.  works for fb+ pg, needs work for oracle, mssql

16 years agoinitial oracle+zxjdbc support
Philip Jenvey [Mon, 27 Jul 2009 00:43:59 +0000 (00:43 +0000)] 
initial oracle+zxjdbc support

16 years agothis is more of a crash
Philip Jenvey [Mon, 27 Jul 2009 00:06:56 +0000 (00:06 +0000)] 
this is more of a crash

16 years agoremove unneeded custom ExecutionContext
Philip Jenvey [Sun, 26 Jul 2009 23:16:44 +0000 (23:16 +0000)] 
remove unneeded custom ExecutionContext

16 years agomerged -r6172:6204 of trunk
Mike Bayer [Sun, 26 Jul 2009 18:58:54 +0000 (18:58 +0000)] 
merged -r6172:6204 of trunk

16 years agopreexecute_pk_sequences indicates run the "default" separately to get its value
Mike Bayer [Sun, 26 Jul 2009 18:39:31 +0000 (18:39 +0000)] 
preexecute_pk_sequences indicates run the "default" separately to get its value

16 years agoo move mysqldb's DecimalType behavior out of base
Philip Jenvey [Sat, 25 Jul 2009 20:20:26 +0000 (20:20 +0000)] 
o move mysqldb's DecimalType behavior out of base
o add a BIT result processor for zxjdbc

16 years agofix the paramstyle check
Philip Jenvey [Sat, 25 Jul 2009 19:35:14 +0000 (19:35 +0000)] 
fix the paramstyle check

16 years agoreuse NoneType
Philip Jenvey [Sat, 25 Jul 2009 19:27:34 +0000 (19:27 +0000)] 
reuse NoneType

16 years agorevert r6184, toggle the jdbc driver's yearIsDateType option instead
Philip Jenvey [Fri, 24 Jul 2009 23:34:25 +0000 (23:34 +0000)] 
revert r6184, toggle the jdbc driver's yearIsDateType option instead

16 years agomark as failing because zxjdbc relies on SELECT LAST_INSERT_ID()
Philip Jenvey [Fri, 24 Jul 2009 23:06:07 +0000 (23:06 +0000)] 
mark as failing because zxjdbc relies on SELECT LAST_INSERT_ID()

16 years agodisable mysqldb's Time type conversion on zxjdb
Philip Jenvey [Fri, 24 Jul 2009 04:53:05 +0000 (04:53 +0000)] 
disable mysqldb's Time type conversion on zxjdb

16 years agoaccommodate zxjdbc's datetime result
Philip Jenvey [Fri, 24 Jul 2009 04:51:55 +0000 (04:51 +0000)] 
accommodate zxjdbc's datetime result

16 years agograb lastrowid on a different cursor so we don't munge the original's state
Philip Jenvey [Fri, 24 Jul 2009 04:12:10 +0000 (04:12 +0000)] 
grab lastrowid on a different cursor so we don't munge the original's state

16 years agoadjust select to not assume set order
Philip Jenvey [Fri, 24 Jul 2009 01:46:12 +0000 (01:46 +0000)] 
adjust select to not assume set order

16 years agoclose cursors
Philip Jenvey [Thu, 23 Jul 2009 05:11:19 +0000 (05:11 +0000)] 
close cursors

16 years agothese are unnecessary
Philip Jenvey [Thu, 23 Jul 2009 04:58:06 +0000 (04:58 +0000)] 
these are unnecessary

16 years agomake Table doesn't exist detection portable
Philip Jenvey [Thu, 23 Jul 2009 04:49:25 +0000 (04:49 +0000)] 
make Table doesn't exist detection portable

16 years agomysql+zxjdbc guards/allowances
Philip Jenvey [Thu, 23 Jul 2009 04:48:25 +0000 (04:48 +0000)] 
mysql+zxjdbc guards/allowances

16 years agoo close connections to avoid maxing out the pool on Jython
Philip Jenvey [Thu, 23 Jul 2009 04:47:39 +0000 (04:47 +0000)] 
o close connections to avoid maxing out the pool on Jython
o make test_charset_caching/test_num/test_expression more portable

16 years agoadd/strengthen guards for concurrent GC
Philip Jenvey [Thu, 23 Jul 2009 01:08:17 +0000 (01:08 +0000)] 
add/strengthen guards for concurrent GC

16 years agomerged r6174 of trunk
Mike Bayer [Wed, 22 Jul 2009 20:41:58 +0000 (20:41 +0000)] 
merged r6174 of trunk

16 years agomerged -r6134:6172 of trunk
Mike Bayer [Wed, 22 Jul 2009 20:33:40 +0000 (20:33 +0000)] 
merged -r6134:6172 of trunk

16 years agoapply the unique __hash__ workaround to all ClauseElements, and only apply it on...
Philip Jenvey [Wed, 22 Jul 2009 02:35:15 +0000 (02:35 +0000)] 
apply the unique __hash__ workaround to all ClauseElements, and only apply it on Jython
fixes #1475

16 years agodefer the heavier plugin setup until begin() when the plugin is definitely
Philip Jenvey [Wed, 22 Jul 2009 02:17:26 +0000 (02:17 +0000)] 
defer the heavier plugin setup until begin() when the plugin is definitely
enabled

16 years agorevert the unicode check from r6162, zxjdbc just needs the correct
Philip Jenvey [Wed, 22 Jul 2009 00:43:42 +0000 (00:43 +0000)] 
revert the unicode check from r6162, zxjdbc just needs the correct
description_encoding
fixes #1479

16 years agoreally close connections
Philip Jenvey [Tue, 21 Jul 2009 23:22:20 +0000 (23:22 +0000)] 
really close connections

16 years agoclose connections
Philip Jenvey [Tue, 21 Jul 2009 21:07:04 +0000 (21:07 +0000)] 
close connections

16 years agoadd fails_if for lack of supports_sane_rowcount support
Philip Jenvey [Tue, 21 Jul 2009 05:58:20 +0000 (05:58 +0000)] 
add fails_if for lack of supports_sane_rowcount support

16 years agoexpunge the session again so we're not recycling anything, for Jython
Philip Jenvey [Tue, 21 Jul 2009 05:26:36 +0000 (05:26 +0000)] 
expunge the session again so we're not recycling anything, for Jython

16 years agorefactor to handle lazy loaded columns raising UnboundExecutionErrors. fixes
Philip Jenvey [Tue, 21 Jul 2009 05:26:26 +0000 (05:26 +0000)] 
refactor to handle lazy loaded columns raising UnboundExecutionErrors. fixes
orm.test_merge test_no_load_with_backrefs on Jython, CPython avoided this due
to the luck of dict ordering

16 years agouse supports_unicode_statements on Jython trunk and handle unicode cursor
Philip Jenvey [Tue, 21 Jul 2009 03:10:53 +0000 (03:10 +0000)] 
use supports_unicode_statements on Jython trunk and handle unicode cursor
description names from zxJDBC

16 years agodon't rely on unicode repr() output
Philip Jenvey [Tue, 21 Jul 2009 01:14:56 +0000 (01:14 +0000)] 
don't rely on unicode repr() output

16 years agodetect disconnections on closed cursors
Philip Jenvey [Tue, 21 Jul 2009 01:04:26 +0000 (01:04 +0000)] 
detect disconnections on closed cursors

16 years agoensure _BindParamClause hash codes are unique on Jython
Philip Jenvey [Tue, 21 Jul 2009 00:47:03 +0000 (00:47 +0000)] 
ensure _BindParamClause hash codes are unique on Jython
fixes #1475

16 years agoo we don't need to escape % in text on zxjdbc
Philip Jenvey [Mon, 20 Jul 2009 05:02:32 +0000 (05:02 +0000)] 
o we don't need to escape % in text on zxjdbc
o don't assume ProgrammingError on zxjdbc, hopefully zxjdbc won't use plain
Error so much one day

16 years agoo don't assume exact insertion order in test_polymorph2.testjointo
Philip Jenvey [Sun, 19 Jul 2009 21:12:12 +0000 (21:12 +0000)] 
o don't assume exact insertion order in test_polymorph2.testjointo
o zxjdbc fails like pg8000 on test_query.test_values_with_boolean_selectspn

16 years agoremoved disabled method
Mike Bayer [Sun, 19 Jul 2009 20:13:17 +0000 (20:13 +0000)] 
removed disabled method

16 years agoone more neg to positive change
Mike Bayer [Sun, 19 Jul 2009 20:12:24 +0000 (20:12 +0000)] 
one more neg to positive change

16 years ago- the "dont_load=True" flag on Session.merge() is deprecated and is now
Mike Bayer [Sun, 19 Jul 2009 20:06:07 +0000 (20:06 +0000)] 
- the "dont_load=True" flag on Session.merge() is deprecated and is now
"load=False".
- changed two internal "no_"/"dont_" arguments to positive names

16 years agoassert -> eq_
Philip Jenvey [Sun, 19 Jul 2009 07:03:16 +0000 (07:03 +0000)] 
assert -> eq_

16 years agoskip sqlite tests when it's not available
Philip Jenvey [Sun, 19 Jul 2009 06:36:20 +0000 (06:36 +0000)] 
skip sqlite tests when it's not available

16 years agodisable test_prune on jython for now:
Philip Jenvey [Sun, 19 Jul 2009 06:29:43 +0000 (06:29 +0000)] 
disable test_prune on jython for now:
http://www.sqlalchemy.org/trac/ticket/1473

16 years agoo handle array.ArrayTypes for Binary on jython
Philip Jenvey [Sun, 19 Jul 2009 05:39:39 +0000 (05:39 +0000)] 
o handle array.ArrayTypes for Binary on jython
o tag zxjdbc as lacking datetime microsecond support

16 years agogenerate the RETURNING col lists the same was as visit_select() does (except for...
Mike Bayer [Sun, 19 Jul 2009 04:59:18 +0000 (04:59 +0000)] 
generate the RETURNING col lists the same was as visit_select() does (except for oracle).
mssql gets extra label stuff to deal with column adaption (not sure if column adaption should
blow away labels like that...).   fixes potential column targeting issues on all platforms
+ fixes mssql failures

16 years agofixed [ticket:1471]
Mike Bayer [Sun, 19 Jul 2009 04:06:39 +0000 (04:06 +0000)] 
fixed [ticket:1471]

16 years agoskip interval test_roundtrip on zxjdbc for now
Philip Jenvey [Sun, 19 Jul 2009 02:52:40 +0000 (02:52 +0000)] 
skip interval test_roundtrip on zxjdbc for now

16 years ago- returning() support is native to insert(), update(), delete(). Implementations
Mike Bayer [Sun, 19 Jul 2009 02:20:18 +0000 (02:20 +0000)] 
- returning() support is native to insert(), update(), delete().  Implementations
of varying levels of functionality exist for Postgresql, Firebird, MSSQL and
Oracle.
- MSSQL still has a few glitches that need to be resolved via label/column targeting logic.
- its looking like time to take another look at positional column targeting overall.

16 years agoo disable array/pyformat/positional tests on zxjdbc
Philip Jenvey [Sun, 19 Jul 2009 02:05:14 +0000 (02:05 +0000)] 
o disable array/pyformat/positional tests on zxjdbc
o zxjdbc execute doesn't like None params

16 years agothis has been already moved to dialect/test_postgresql
Philip Jenvey [Sun, 19 Jul 2009 02:03:01 +0000 (02:03 +0000)] 
this has been already moved to dialect/test_postgresql

16 years agoreuse the simple mock_dbapi
Philip Jenvey [Sun, 19 Jul 2009 00:45:06 +0000 (00:45 +0000)] 
reuse the simple mock_dbapi

16 years agodon't assume sqlite is always available
Philip Jenvey [Sun, 19 Jul 2009 00:44:11 +0000 (00:44 +0000)] 
don't assume sqlite is always available

16 years agolong from zxjdbc is also a reasonable result
Philip Jenvey [Sun, 19 Jul 2009 00:06:45 +0000 (00:06 +0000)] 
long from zxjdbc is also a reasonable result

16 years agotemp. workaround for deadlock on Jython
Philip Jenvey [Sun, 19 Jul 2009 00:06:04 +0000 (00:06 +0000)] 
temp. workaround for deadlock on Jython

16 years agozxjdbc doesn't like None params here
Philip Jenvey [Sat, 18 Jul 2009 23:41:41 +0000 (23:41 +0000)] 
zxjdbc doesn't like None params here

16 years agofix Select's _copy_internals not maintaining _froms' order
Philip Jenvey [Sat, 18 Jul 2009 23:15:55 +0000 (23:15 +0000)] 
fix Select's _copy_internals not maintaining _froms' order

16 years agomore doc stuff.
Mike Bayer [Sat, 18 Jul 2009 22:01:33 +0000 (22:01 +0000)] 
more doc stuff.

16 years ago- documentation crap
Mike Bayer [Sat, 18 Jul 2009 21:53:38 +0000 (21:53 +0000)] 
- documentation crap
- we're probably going to want ez_setup.py around for now
- rubber malleted the access dialect to not look for old compiler classes

16 years agomerged -r6112:6134 of trunk
Mike Bayer [Sat, 18 Jul 2009 21:01:32 +0000 (21:01 +0000)] 
merged -r6112:6134 of trunk

16 years agoskip profiling tests on Jython and platforms that lack hotshot/cProfile
Philip Jenvey [Fri, 17 Jul 2009 05:35:02 +0000 (05:35 +0000)] 
skip profiling tests on Jython and platforms that lack hotshot/cProfile

16 years agomake our test skips recognizable by nose
Philip Jenvey [Fri, 17 Jul 2009 02:50:39 +0000 (02:50 +0000)] 
make our test skips recognizable by nose

16 years agoclose all connections
Philip Jenvey [Fri, 17 Jul 2009 01:25:12 +0000 (01:25 +0000)] 
close all connections

16 years agoskip deadlocking test_two_phase_recover on mysql+zxjdbc, ensure cursors are
Philip Jenvey [Thu, 16 Jul 2009 23:02:00 +0000 (23:02 +0000)] 
skip deadlocking test_two_phase_recover on mysql+zxjdbc, ensure cursors are
closed

16 years agoensure cursors are closed
Philip Jenvey [Thu, 16 Jul 2009 22:56:19 +0000 (22:56 +0000)] 
ensure cursors are closed

16 years agoensure cursors are closed, various fetchone() -> first()
Philip Jenvey [Thu, 16 Jul 2009 22:29:26 +0000 (22:29 +0000)] 
ensure cursors are closed, various fetchone() -> first()
patch from Demi-god

16 years agocorrect the zxJDBC disconnect matching
Philip Jenvey [Thu, 16 Jul 2009 01:54:22 +0000 (01:54 +0000)] 
correct the zxJDBC disconnect matching

16 years agosmall change
Philip Jenvey [Thu, 16 Jul 2009 01:15:31 +0000 (01:15 +0000)] 
small change

16 years agodisable two phase transaction support on postgresql+zxjdbc, the jdbc driver
Philip Jenvey [Thu, 16 Jul 2009 01:15:01 +0000 (01:15 +0000)] 
disable two phase transaction support on postgresql+zxjdbc, the jdbc driver
can't handle it without some more work

16 years agouse locale neutral ISO date format
Philip Jenvey [Wed, 15 Jul 2009 20:58:01 +0000 (20:58 +0000)] 
use locale neutral ISO date format
patch from Demi-God

16 years ago- fix driver imports
Mike Bayer [Wed, 15 Jul 2009 18:48:10 +0000 (18:48 +0000)] 
- fix driver imports
- update info on special schema names in unittest README

16 years agobeefed up the description of dialects
Mike Bayer [Mon, 13 Jul 2009 22:53:37 +0000 (22:53 +0000)] 
beefed up the description of dialects

16 years agorenamed "postgres" to "postgresql", "Postgres" to "PostgreSQL". since
Mike Bayer [Mon, 13 Jul 2009 00:46:44 +0000 (00:46 +0000)] 
renamed "postgres" to "postgresql", "Postgres" to "PostgreSQL".  since
that's been the thing's name since 1996 or so.  backwards compatibility
with the old name should be more or less complete.