]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
12 years ago- add coverage for result map rewriting
Mike Bayer [Wed, 5 Jun 2013 01:36:34 +0000 (21:36 -0400)] 
- add coverage for result map rewriting
- fix the result map rewriter for col mismatches, since the rewritten
select at the moment typically has more columns than the original

12 years agocallcounts
Mike Bayer [Wed, 5 Jun 2013 00:53:38 +0000 (20:53 -0400)] 
callcounts

12 years ago- if the select() does not have use_labels on, then we just render
Mike Bayer [Tue, 4 Jun 2013 23:52:53 +0000 (19:52 -0400)] 
- if the select() does not have use_labels on, then we just render
the joins as is, regardless of the dialect not supporting it.  use_labels=True
indicates a higher level of automation and also can maintain the labels
between rewritten and not.  use_labels=False indicates a manual use case.

12 years ago- support for a__b_dc, i.e. two levels of nesting
Mike Bayer [Tue, 4 Jun 2013 23:44:57 +0000 (19:44 -0400)] 
- support for a__b_dc, i.e. two levels of nesting

12 years agorepair these tests now that we allow join from selectable to fromgrouping
Mike Bayer [Tue, 4 Jun 2013 22:58:24 +0000 (18:58 -0400)] 
repair these tests now that we allow join from selectable to fromgrouping

12 years agoclean up the dialect selection thing here
Mike Bayer [Tue, 4 Jun 2013 22:49:24 +0000 (18:49 -0400)] 
clean up the dialect selection thing here

12 years ago- add a flag to DefaultDialect for this so that people will have some
Mike Bayer [Tue, 4 Jun 2013 22:43:59 +0000 (18:43 -0400)] 
- add a flag to DefaultDialect for this so that people will have some
workaround

12 years ago- improve overlapping selectables, apply to both query and relationship
Mike Bayer [Tue, 4 Jun 2013 22:23:06 +0000 (18:23 -0400)] 
- improve overlapping selectables, apply to both query and relationship
- clean up inspect() calls within query._join()
- make sure join.alias(flat) propagates
- fix almost all assertion tests

12 years ago- eager loads
Mike Bayer [Tue, 4 Jun 2013 20:48:14 +0000 (16:48 -0400)] 
- eager loads
- two suite of SQL assertions converted

12 years agohere's the flat join thing. it just works. Changing the existing compiled SQL...
Mike Bayer [Tue, 4 Jun 2013 20:21:25 +0000 (16:21 -0400)] 
here's the flat join thing.  it just works.   Changing the existing compiled SQL assertions
might even be most of the tests we need (though dedicated sql tests would be needed anyway)

12 years agoand this comment
Mike Bayer [Tue, 4 Jun 2013 18:31:56 +0000 (14:31 -0400)] 
and this comment

12 years agorewriting scheme now works.
Mike Bayer [Tue, 4 Jun 2013 18:30:29 +0000 (14:30 -0400)] 
rewriting scheme now works.

12 years agocapture the really hard one in a test (hooray)
Mike Bayer [Tue, 4 Jun 2013 17:11:03 +0000 (13:11 -0400)] 
capture the really hard one in a test (hooray)

12 years agoOK this is the broken version, need to think a lot more about this
Mike Bayer [Tue, 4 Jun 2013 01:28:53 +0000 (21:28 -0400)] 
OK this is the broken version, need to think a lot more about this

12 years ago- pulling out more aliases, sort of
Mike Bayer [Tue, 4 Jun 2013 01:01:20 +0000 (21:01 -0400)] 
- pulling out more aliases, sort of

12 years agoworking through tests....
Mike Bayer [Mon, 3 Jun 2013 00:23:03 +0000 (20:23 -0400)] 
working through tests....

12 years ago- figured out what the from_self() thing was about, part of query.statement, but...
Mike Bayer [Sun, 2 Jun 2013 23:48:30 +0000 (19:48 -0400)] 
- figured out what the from_self() thing was about, part of query.statement, but would
like to improve upon query.statement needing to do this

12 years agogetting things to join without subqueries, but some glitches in the compiler step
Mike Bayer [Sun, 2 Jun 2013 23:33:19 +0000 (19:33 -0400)] 
getting things to join without subqueries, but some glitches in the compiler step
when we do query.count() are showing

12 years agoimplement join rewriting inside of visit_select(). Currently this is global or not...
Mike Bayer [Sun, 2 Jun 2013 22:05:47 +0000 (18:05 -0400)] 
implement join rewriting inside of visit_select().  Currently this is global or not based on fixing nested_join_translation as True or not.

12 years ago- blow away context._attributes
Mike Bayer [Sun, 2 Jun 2013 16:06:39 +0000 (12:06 -0400)] 
- blow away context._attributes
- to account for query._attributes/context.attributes, just pass
the attributes dict directly to the PathRegistry methods

12 years ago0.8 changelog in 0.9
Mike Bayer [Fri, 31 May 2013 16:00:56 +0000 (12:00 -0400)] 
0.8 changelog in 0.9

12 years agoFixed a regression caused by [ticket:2682] whereby the
Mike Bayer [Fri, 31 May 2013 15:52:31 +0000 (11:52 -0400)] 
Fixed a regression caused by [ticket:2682] whereby the
evaluation invoked by :meth:`.Query.update` and :meth:`.Query.delete`
would hit upon unsupported ``True`` and ``False`` symbols
which now appear due to the usage of ``IS``.
[ticket:2737]

12 years agoadd a test for the exception we want to raise here
Mike Bayer [Fri, 31 May 2013 00:26:45 +0000 (20:26 -0400)] 
add a test for the exception we want to raise here

12 years agoThe "auto-aliasing" behavior of the :class:`.Query.select_from`
Mike Bayer [Fri, 31 May 2013 00:09:44 +0000 (20:09 -0400)] 
The "auto-aliasing" behavior of the :class:`.Query.select_from`
method has been turned off.  The specific behavior is now
availble via a new method :class:`.Query.select_entity_from`.
[ticket:2736]

12 years ago- implement armin's awesome metaclass adaptor, can drop the refs to MetaBase.
Mike Bayer [Thu, 30 May 2013 20:20:59 +0000 (16:20 -0400)] 
- implement armin's awesome metaclass adaptor, can drop the refs to MetaBase.

12 years agoremove
Mike Bayer [Thu, 30 May 2013 20:02:46 +0000 (16:02 -0400)] 
remove

12 years agoMerge branch 'rel_0_9' (was already merged...git wants to merge again)
Mike Bayer [Thu, 30 May 2013 19:59:24 +0000 (15:59 -0400)] 
Merge branch 'rel_0_9'  (was already merged...git wants to merge again)

12 years ago- the distinct hash code logic here is entirely obsolete as you can
Mike Bayer [Thu, 30 May 2013 19:56:00 +0000 (15:56 -0400)] 
- the distinct hash code logic here is entirely obsolete as you can
do eq_() on columnelements now with a meaningful bool; jython is entirely a
non-starter right now in any case as 2.7 doesn't support common accessors like __defaults__

12 years ago- fix up 0.9 links
Mike Bayer [Thu, 30 May 2013 02:37:36 +0000 (22:37 -0400)] 
- fix up 0.9 links

12 years agore-add these...
Mike Bayer [Wed, 29 May 2013 23:57:40 +0000 (19:57 -0400)] 
re-add these...

12 years ago- version 0.9
Mike Bayer [Wed, 29 May 2013 23:02:17 +0000 (19:02 -0400)] 
- version 0.9
- changelog, migration doc

12 years ago- add typical local test scripts
Mike Bayer [Wed, 29 May 2013 22:50:33 +0000 (18:50 -0400)] 
- add typical local test scripts

12 years agoMerge branch 'rel_0_9'
Mike Bayer [Wed, 29 May 2013 22:49:27 +0000 (18:49 -0400)] 
Merge branch 'rel_0_9'

Conflicts:
lib/sqlalchemy/dialects/postgresql/hstore.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py

12 years agokeep the contract for Properties as returning lists for keys, values, items.
Mike Bayer [Wed, 29 May 2013 22:46:10 +0000 (18:46 -0400)] 
keep the contract for Properties as returning lists for keys, values, items.
It's not the same as a dictionary as __iter__ does the values

12 years agoadd the py2k symbol from the 0.9 branch to support the hstore change
Mike Bayer [Wed, 29 May 2013 22:36:10 +0000 (18:36 -0400)] 
add the py2k symbol from the 0.9 branch to support the hstore change

12 years agochangelog
Mike Bayer [Wed, 29 May 2013 22:30:56 +0000 (18:30 -0400)] 
changelog

12 years ago- repair for py3k
Mike Bayer [Wed, 29 May 2013 22:29:12 +0000 (18:29 -0400)] 
- repair for py3k
- fix test

12 years agoUnicode support for psycopg2 native hstore implementation
Dmitry Mugtasimov [Tue, 28 May 2013 12:50:12 +0000 (16:50 +0400)] 
Unicode support for psycopg2 native hstore implementation

12 years ago hstores are text, and in py3k they seem to be implcitly unicode. so
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)] 
  hstores are text, and in py3k they seem to be implcitly unicode.  so
    add unicode encoding for py2k for the non-native hstore, pullreq for
    native psycopg2 support coming....

12 years agochangelog
Mike Bayer [Wed, 29 May 2013 22:30:56 +0000 (18:30 -0400)] 
changelog

12 years ago- repair for py3k
Mike Bayer [Wed, 29 May 2013 22:29:12 +0000 (18:29 -0400)] 
- repair for py3k
- fix test

12 years agoUnicode support for psycopg2 native hstore implementation
Dmitry Mugtasimov [Tue, 28 May 2013 12:50:12 +0000 (16:50 +0400)] 
Unicode support for psycopg2 native hstore implementation

12 years ago hstores are text, and in py3k they seem to be implcitly unicode. so
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)] 
  hstores are text, and in py3k they seem to be implcitly unicode.  so
    add unicode encoding for py2k for the non-native hstore, pullreq for
    native psycopg2 support coming....

12 years ago- move an import stuck in the middle here...
Mike Bayer [Tue, 28 May 2013 05:43:12 +0000 (01:43 -0400)] 
- move an import stuck in the middle here...

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Tue, 28 May 2013 05:22:32 +0000 (01:22 -0400)] 
Merge branch 'master' into rel_0_9

12 years agoFixed a small bug in the dogpile example where the generation
Mike Bayer [Tue, 28 May 2013 05:22:10 +0000 (01:22 -0400)] 
Fixed a small bug in the dogpile example where the generation
of SQL cache keys wasn't applying deduping labels to the
statement the same way :class:`.Query` normally does.

12 years ago- run the whole test suite with the "debugging" ordered dict on,
Mike Bayer [Mon, 27 May 2013 21:15:30 +0000 (17:15 -0400)] 
- run the whole test suite with the "debugging" ordered dict on,
find some more failures

12 years ago- additional oracle fixes. cx_oracle under py3k is complaining about tuples to execu...
Mike Bayer [Mon, 27 May 2013 21:06:05 +0000 (17:06 -0400)] 
- additional oracle fixes.  cx_oracle under py3k is complaining about tuples to executemany(),
so just unconditionally turn this into a list
- this one test segfaults only on py3k + cx_oracle

12 years ago- oracle py3k fix
Mike Bayer [Mon, 27 May 2013 20:34:18 +0000 (16:34 -0400)] 
- oracle py3k fix

12 years ago- fix a dict while iterate mutation
Mike Bayer [Mon, 27 May 2013 17:39:24 +0000 (13:39 -0400)] 
- fix a dict while iterate mutation
- illustrate how OrderedDict can catch these, but commented out
to save function overhead

12 years agofix test_execute w c extensions
Mike Bayer [Mon, 27 May 2013 00:44:34 +0000 (20:44 -0400)] 
fix test_execute w c extensions

12 years agoclean up types.py
Mike Bayer [Mon, 27 May 2013 00:24:39 +0000 (20:24 -0400)] 
clean up types.py

12 years agoclean up some of this collection stuff
Mike Bayer [Mon, 27 May 2013 00:17:22 +0000 (20:17 -0400)] 
clean up some of this collection stuff

12 years agofix an errant str check
Mike Bayer [Mon, 27 May 2013 00:04:54 +0000 (20:04 -0400)] 
fix an errant str check

12 years agoget profile 1a back down to 5100 calls, that one was 10% greater due to this
Mike Bayer [Mon, 27 May 2013 00:02:17 +0000 (20:02 -0400)] 
get profile 1a back down to 5100 calls, that one was 10% greater due to this

12 years agomssql test fixes
Mike Bayer [Sun, 26 May 2013 23:49:50 +0000 (19:49 -0400)] 
mssql test fixes

12 years ago- zoomark tests
Mike Bayer [Sun, 26 May 2013 23:47:13 +0000 (19:47 -0400)] 
- zoomark tests
- rewrite all profiles, we'll review the diffs to see if anything is too far out

12 years agoa pass where we try to squash down as many list()/keys() combinations
Mike Bayer [Sun, 26 May 2013 23:06:13 +0000 (19:06 -0400)] 
a pass where we try to squash down as many list()/keys() combinations
as possible

12 years agofix the unicode test suite
Mike Bayer [Sun, 26 May 2013 22:25:43 +0000 (18:25 -0400)] 
fix the unicode test suite

12 years agodo a sweep of some obvious 3kisms
Mike Bayer [Sun, 26 May 2013 22:23:26 +0000 (18:23 -0400)] 
do a sweep of some obvious 3kisms

12 years agoremove this
Mike Bayer [Sun, 26 May 2013 22:08:03 +0000 (18:08 -0400)] 
remove this

12 years ago- oracle tests passing in py3k!!
Mike Bayer [Sun, 26 May 2013 21:58:07 +0000 (17:58 -0400)] 
- oracle tests passing in py3k!!

12 years agoa few more oracle fixes
Mike Bayer [Sun, 26 May 2013 21:39:53 +0000 (17:39 -0400)] 
a few more oracle fixes

12 years agocleanup for oracle
Mike Bayer [Sun, 26 May 2013 21:37:03 +0000 (17:37 -0400)] 
cleanup for oracle

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 26 May 2013 21:18:27 +0000 (17:18 -0400)] 
Merge branch 'master' into rel_0_9

12 years agofix this test
Mike Bayer [Sun, 26 May 2013 21:18:04 +0000 (17:18 -0400)] 
fix this test

12 years ago- add a test specific to sqlite testing cursor.description encoding (should
Mike Bayer [Sun, 26 May 2013 20:58:37 +0000 (16:58 -0400)] 
- add a test specific to sqlite testing cursor.description encoding (should
probably be one in test_query or test_unicode...)
- fix up test_unitofwork

12 years agopostgresql tests
Mike Bayer [Sun, 26 May 2013 20:39:50 +0000 (16:39 -0400)] 
postgresql tests

12 years agomysql tests
Mike Bayer [Sun, 26 May 2013 20:32:55 +0000 (16:32 -0400)] 
mysql tests

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 26 May 2013 17:11:21 +0000 (13:11 -0400)] 
Merge branch 'master' into rel_0_9

12 years agoMerge branch 'rel_0_9' of bitbucket.org:zzzeek/sqlalchemy into rel_0_9
Mike Bayer [Sun, 26 May 2013 17:10:31 +0000 (13:10 -0400)] 
Merge branch 'rel_0_9' of bitbucket.org:zzzeek/sqlalchemy into rel_0_9

12 years agosqlite tests
Mike Bayer [Sun, 26 May 2013 17:10:00 +0000 (13:10 -0400)] 
sqlite tests

12 years agorepair py3kisms in key ORM modules
Mike Bayer [Sun, 26 May 2013 17:09:38 +0000 (13:09 -0400)] 
repair py3kisms in key ORM modules

12 years agoextension tests
Mike Bayer [Sun, 26 May 2013 17:09:05 +0000 (13:09 -0400)] 
extension tests

12 years agofix serializer tests. something is wrong with non-C pickle but for some reason py3k...
Mike Bayer [Sun, 26 May 2013 17:08:24 +0000 (13:08 -0400)] 
fix serializer tests.  something is wrong with non-C pickle but for some reason py3k's pickle seems to be OK?  not sure why that is, as this
is all related to http://bugs.python.org/issue998998

12 years agoMerge pull request #1 from cjw296/small-fixes
mike bayer [Sun, 26 May 2013 14:46:16 +0000 (07:46 -0700)] 
Merge pull request #1 from cjw296/small-fixes

Small fixes

12 years ago- fixing AbstractConcreteBase import in docstring, 0.9
diana [Sun, 26 May 2013 14:19:26 +0000 (10:19 -0400)] 
- fixing AbstractConcreteBase import in docstring, 0.9
branch, [ticket:2717]

12 years ago- fixing AbstractConcreteBase import in docstring, [ticket:2717]
Diana Clarke [Sun, 26 May 2013 14:10:22 +0000 (10:10 -0400)] 
- fixing AbstractConcreteBase import in docstring, [ticket:2717]

12 years agotweaks to ignores
Chris Withers [Sun, 26 May 2013 13:49:42 +0000 (14:49 +0100)] 
tweaks to ignores

12 years agoShow the conflicting column in the warning!
Chris Withers [Wed, 22 May 2013 07:38:44 +0000 (08:38 +0100)] 
Show the conflicting column in the warning!

12 years agofix incorrect method name
Chris Withers [Tue, 21 May 2013 16:46:28 +0000 (17:46 +0100)] 
fix incorrect method name

12 years agoAdd missing import that caused test_notice_logging to fail if this suite was run...
Chris Withers [Sat, 18 May 2013 07:51:24 +0000 (08:51 +0100)] 
Add missing import that caused test_notice_logging to fail if this suite was run on its own.

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 25 May 2013 21:04:35 +0000 (17:04 -0400)] 
Merge branch 'master' into rel_0_9

12 years ago- move to git dotfiles
Mike Bayer [Sat, 25 May 2013 20:20:59 +0000 (16:20 -0400)] 
- move to git dotfiles

12 years agomerge default
Mike Bayer [Thu, 23 May 2013 17:02:33 +0000 (13:02 -0400)] 
merge default

12 years agoFixed a bug where the routine to detect the correct kwargs
Mike Bayer [Thu, 23 May 2013 16:59:53 +0000 (12:59 -0400)] 
Fixed a bug where the routine to detect the correct kwargs
being sent to :func:`.create_engine` would fail in some cases,
such as with the Sybase dialect.
[ticket:2732]

12 years agomerge default
Mike Bayer [Wed, 15 May 2013 19:47:11 +0000 (15:47 -0400)] 
merge default

12 years agoRegression from this ticket caused the unsupported keyword
Mike Bayer [Wed, 15 May 2013 19:46:29 +0000 (15:46 -0400)] 
Regression from this ticket caused the unsupported keyword
"true" to render, added logic to convert this to 1/0
for SQL server.
[ticket:2682]

12 years agomerge default
Mike Bayer [Mon, 13 May 2013 20:13:51 +0000 (16:13 -0400)] 
merge default

12 years agoFixed a regression from 0.7 caused by this ticket, which
Mike Bayer [Mon, 13 May 2013 20:13:15 +0000 (16:13 -0400)] 
Fixed a regression from 0.7 caused by this ticket, which
made the check for recursion overflow in self-referential
eager joining too loose, missing a particular circumstance
where a subclass had lazy="joined" or "subquery" configured
and the load was a "with_polymorphic" against the base.
[ticket:2481]

12 years agomerge default
Mike Bayer [Fri, 10 May 2013 05:06:30 +0000 (01:06 -0400)] 
merge default

12 years ago- moderinzed the docs for the foreign_keys parameter a bit,
Mike Bayer [Fri, 10 May 2013 05:06:10 +0000 (01:06 -0400)] 
- moderinzed the docs for the foreign_keys parameter a bit,
[ticket:2725]

12 years agomerge default
Mike Bayer [Sun, 5 May 2013 05:42:26 +0000 (01:42 -0400)] 
merge default

12 years ago- cleanup
Mike Bayer [Sun, 5 May 2013 05:39:35 +0000 (01:39 -0400)] 
- cleanup
- move the timeout here to 14 seconds as jenkins still chokes occasionally

12 years agopy3k specific syntax moved into an exec
Mike Bayer [Sat, 4 May 2013 20:35:47 +0000 (16:35 -0400)] 
py3k specific syntax moved into an exec

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 20:26:10 +0000 (16:26 -0400)] 
cleanup

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 20:25:35 +0000 (16:25 -0400)] 
cleanup

12 years agomost of ORM passing...
Mike Bayer [Sat, 4 May 2013 20:23:27 +0000 (16:23 -0400)] 
most of ORM passing...

12 years agobase
Mike Bayer [Sat, 4 May 2013 20:00:05 +0000 (16:00 -0400)] 
base

12 years agothat's all of engine
Mike Bayer [Sat, 4 May 2013 19:57:03 +0000 (15:57 -0400)] 
that's all of engine