Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- Fixed bug affecting PG 9 whereby index reflection would fail if against a column whose name had changed. [ticket:2141]. Also in 0.6.8.
Tags
rel_0_7_0
Mike Bayer
this will also move back to prod/stable
Mike Bayer
move version to 0.7.0
Mike Bayer
dont need the DEBUG here messing up the rest of the tests
Mike Bayer
- Fixed bug whereby mapper mapped to an anonymous alias would fail if logging were used, due to unescaped % sign in the alias name. [ticket:2171] Also in 0.6.8.
Mike Bayer
- Fixed bug in MSSQL dialect whereby the aliasing applied to a schema-qualified table would leak into enclosing select statements [ticket:2169]. Also in 0.6.8.
Mike Bayer
- Fixed bug whereby nesting a label of a select() with another label in it would produce incorrect exported columns. Among other things this would break an ORM column_property() mapping against another column_property(). [ticket:2167]. Also in 0.6.8 - _Label() is always against a column or selectable. remove uncovered case of label against something else. - start taking notes to clean up some of this labeling stuff, which will be [ticket:2168…
Mike Bayer
- use default dialect here
Mike Bayer
py3k test fix
Mike Bayer
- make sure we definitely get every connection created - ensure we lose self.conns, cx_oracle only closes on __del__ - fix reconnectingfixture to lose all connection references
Mike Bayer
- Fixed bugs in sqlalchemy.ext.mutable extension where `None` was not appropriately handled, replacement events were not appropriately handled. [ticket:2143]
Mike Bayer
- polymorphic_union() gets a "cast_nulls" option, disables the usage of CAST when it renders the labeled NULL columns. [ticket:1502] - polymorphic_union() renders the columns in their original table order, as according to the first table/selectable in the list of polymorphic unions in which they appear. (which is itself an unordered mapping unless you pass an OrderedDict).
Philip Jenvey
wrap another StaleDataError detection in supports_sane_row_count
Philip Jenvey
mark more postgresql+zxjdbc failures
Mike Bayer
- query.count() emits "count(*)" instead of "count(1)". [ticket:2162] - another test that should be excluded from "low-connections"
Mike Bayer
- given that Oracle's issue is not just open connections, but *closed* ones too, go really heavy handed and start marking tests as "requires.ad_hoc_engines", add a flag --low-connections that will switch the engine reaper mechanism to use as *few* distinct engines and connections as possible, many engine tests that really need their own engines are just skipped.
Mike Bayer
ha - can't do this on 2.4
Mike Bayer
- Changed the handling in determination of join conditions such that foreign key errors are only considered between the two given tables. That is, t1.join(t2) will report FK errors that involve 't1' or 't2', but anything involving 't3' will be skipped. This affects join(), as well as ORM relationship and inherit condition logic. Will keep the more conservative approach to [ticket:2153] in 0.6.
Mike Bayer
- mapper() will ignore non-configured foreign keys to unrelated tables when determining inherit condition between parent and child class. This is equivalent to behavior already applied to declarative. [ticket:2153] Also in 0.6.8.
Mike Bayer
- Fixed bug where determination of "self referential" relationship would fail with no workaround for joined-inh subclass related to itself, or joined-inh subclass related to a subclass of that with no cols in the sub-sub class in the join condition. [ticket:2149] Also in 0.6.8.
Mike Bayer
- Fixed the error message emitted for "can't execute syncrule for destination column 'q'; mapper 'X' does not map this column" to reference the correct mapper. [ticket:2163]. Also in 0.6.8. - test/orm/test_sync.py covers orm/sync.py 100%
Mike Bayer
random cleanup
Mike Bayer
- split all SS tests into separate + engine per test + close_all() + dispose within teardown
Mike Bayer
comment out the rollback on after test since pg8000 can deadlock on this (and its clear why). but then what about the pypy jython team. ho hum.
Mike Bayer
- rework of Query._adapt_clause to support [ticket:2155], be clearer in its intent. - Fine tuning of Query clause adaptation when from_self(), union(), or other "select from myself" operation, such that plain SQL expression elements added to filter(), order_by() etc. which are present in the nested "from myself" query *will* be adapted in the same way an ORM expression element will, since these elements are otherwise not easily accessible. [ticket:2155]
Mike Bayer
update docs for generic associations
Mike Bayer
- Removed the usage of the "collections.MutableMapping" abc from the ext.mutable docs as it was being used incorrectly and makes the example more difficult to understand in any case. [ticket:2152]
Mike Bayer
- removed the ancient "polymorphic association" examples and replaced with an updated set of examples that use declarative mixins, "generic_associations". Each presents an alternative table layout.
Mike Bayer
- a non_primary mapper will inherit the _identity_class of the primary mapper. This so that a non_primary established against a class that's normally in an inheritance mapping will produce results that are identity-map compatible with that of the primary mapper [ticket:2151] (also in 0.6.8)
Mike Bayer
- this helps oracle here since it has a panic attack otherwise
  1. Prev
  2. Next