Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
notes on tuning
Tags
rel_0_5rc4
Mike Bayer
- switched session.save() to session.add() throughout declarative test - Fixed PendingDeprecationWarning involving order_by parameter on relation(). [ticket:1226] - Unit tests still filter pending deprecation warnings but have a commented-out line to temporarily disable this behavior. Tests need to be fully converted before we can turn this on.
Michael Trier
Pulled out values test that uses boolean evaluation in the SELECT in order to appropriately flag it as not supported on mssql. I sure hope I didn't jack things up for other dialects. Cleaned up a comment and removed some commented pdb statements.
Michael Trier
Fixed a problem with the casting of a zero length type to a varchar. It now correctly adjusts the CAST accordingly.
Michael Trier
Fixed up a lot of missing order_by statements in the tests when using offset. A lot of dialects don't really require order_by although you'll get unpredictable results. mssql does require order_by with an offset, so this fixes problems with that dialect.
Michael Trier
The str(query) output is also correct on the mssql dialect.
Mike Bayer
- Rearranged the `load_dialect_impl()` method in `TypeDecorator` such that it will take effect even if the user-defined `TypeDecorator` uses another `TypeDecorator` as its impl.
Mike Bayer
- Can now use a custom "inherit_condition" in __mapper_args__ when using declarative.
Michael Trier
Corrected mssql schema named subqueries from not properly aliasing the columns. Fixes #973.
Michael Trier
Doing my part-time editorial duties. Normalized session references and fixed lots of small spelling and grammar issues.
Mike Bayer
remove errant pdb.set_trace()
Mike Bayer
- Adjustments to the enhanced garbage collection on InstanceState to better guard against errors due to lost state.
jason kirtland
Quashed import sets deprecation warning on 2.6.. not wild about this but it seems like it will be ok. [ticket:1209]
Mike Bayer
- converted some more attributes to @memoized_property in expressions - flattened an unnecessary KeyError in identity.py - memoized the default list of mapper properties queried in MapperEntity.setup_context
Mike Bayer
- Restored "active rowcount" fetch before ResultProxy autocloses the cursor. This was removed in 0.5rc3.
Mike Bayer
- Restored NotImplementedError on Cls.relation.in_() [ticket:1140] [ticket:1221]
Michael Trier
Handle the mssql port properly. If we're using the SQL Server driver then use the correct host,port syntax, otherwise use the Port= parameter in the connection string. Fixes #1192.
Michael Trier
Flagged another transaction test as causing mssql to hang. Need to look into these.
Michael Trier
Corrected issue with decimal e notation that broke regular decimal tests for mssql.
Michael Trier
If there's a zero offset with mssql just ignore it.
Michael Trier
Corrected problem in access dialect that was still referring to the old column.foreign_key property.
Mike Bayer
flattened _get_from_objects() into a descriptor/class-bound attribute
Mike Bayer
- Removed the 'properties' attribute of the Connection object, Connection.info should be used. - Method consoliation in Connection, ExecutionContext
Mike Bayer
- Query.count() has been enhanced to do the "right thing" in a wider variety of cases. It can now count multiple-entity queries, as well as column-based queries. Note that this means if you say query(A, B).count() without any joining criterion, it's going to count the cartesian product of A*B. Any query which is against column-based entities will automatically issue "SELECT count(1) FROM (SELECT...)" so that the real rowcount is returned, meaning …
Michael Trier
Corrected problems with Access dialect. Corrected issue with reflection due to missing Currency type. Functions didn't return the value. JOINS must be specified as LEFT OUTER JOIN or INNER JOIN. Fixes #1017.
Michael Trier
Global propigate -> propagate change to correct spelling. Additionally found a couple of insures that should be ensure.
Michael Trier
Corrected problems with reflection on mssql when dealing with schemas. Fixes #1217.
Mike Bayer
usage docstring for pool listener
Mike Bayer
- Query.count() and Query.get() return a more informative error message when executed against multiple entities. [ticket:1220]
Mike Bayer
removed setup_instance() from the public API of ClassManager, and made it a private method on _ClassInstrumentationAdapter. ClassManager's approach handles the default task with fewer function calls which chops off a few hundred calls from the pertinent profile tests.
  1. Prev
  2. Next