Commits

Author Commit Message Labels Comments Date
paj
mssql unit test fixes
paj
One more change of preparer() to identifier_preparer
jason kirtland
pyflakes mop-up
paj
Use identifier_preparer instead of preparer()
paj
Fix broken imports
Mike Bayer
docstring compile fixup
Mike Bayer
adding an "already exists" catch for CREATE DOMAIN
Mike Bayer
1. Module layout. sql.py and related move into a package called "sql". 2. compiler names changed to be less verbose, unused classes removed. 3. Methods on Dialect which return compilers, schema generators, identifier preparers have changed to direct class references, typically on the Dialect class itself or optionally as attributes on an individual Dialect instance if conditional behavior is needed. This takes away the need for Dialect subclasses to know how to instantiate these objects, and also reduces method overhead by one call for each one. 4. as a result of 3., some internal signatures have changed for things like compiler() (now statement_compiler()), preparer(), etc., mostly in that the dialect needs to be passed explicitly as the first argument (since they are just class referenc… 5. changed _process_row function on RowProxy to be a class reference, cuts out 50K method calls from insertspeed.py
jason kirtland
- fixed prefixes= argument to select() - mysql can now generate DISTINCT or ALL for queries, select(..., distinct='ALL') - documented 'prefixes' arg to select() - rearranged doc order for select args to mirror that of a generated statement - went nutty and fixed wrapping and line length on most docstrings in sql.py
Mike Bayer
- modified SQL operator functions to be module-level operators, allowing SQL expressions to be pickleable [ticket:735] - small adjustment to mapper class.__init__ to allow for Py2.6 object.__init__() behavior
Mike Bayer
- Added a "legacy" adapter to types, such that user-defined TypeEngine and TypeDecorator classes which define convert_bind_param()/convert_result_value() will continue to function. Also supports calling the super() version of those methods.
Mike Bayer
add a test for dupe tables in MetaData
Mike Bayer
- added close() method to Transaction. closes out a transaction using rollback if it's the outermost transaction, otherwise just ends without affecting the outer transaction. - transactional and non-transactional Session integrates better with bound connection; a close() will ensure that connection transactional state is the same as that which existed on it before being bound to the Session.
Mike Bayer
transactional session rolls back bound connection
Mike Bayer
- threadlocal TLConnection, when closes for real, forces parent TLSession to rollback/dispose of transaction
jason kirtland
update activemapper backrefs for r3340
Mike Bayer
dont commandeer warnings into logger
Mike Bayer
- turned twophase=True on in test - TLEngine raises notimplemented for two-phase
Mike Bayer
reinstated two_phase test. currently it passes on PG with and without threadlocal.
paj
merge changset [3347] into trunk
Mike Bayer
- added extra argument con_proxy to ConnectionListener interface checkout/checkin methods - changed testing connection closer to work on _ConnectionFairy instances, resulting in pool checkins, not actual closes - disabled session two phase test for now, needs work - added some two-phase support to TLEngine, not tested - TLTransaction is now a wrapper
paj
Merge [3345] into trunk. Unit test still TODO
paj
Disable MSSQL unicode statements on UCS-4 platforms, ticket #731
jason kirtland
- session transaction closing tweak for threadlocal - connection-rollback decorator only fires on unhandled testing exceptions
jason kirtland
added a testing decorator that mops up wayward connections
Mike Bayer
removed ridiculous LOrderedProp object
Mike Bayer
revert the _DefaultExtension thing, it added function calls
Mike Bayer
- moved test/orm/fixtures.py to testlib - flattened mapper calls in _instance() to operate directly through a default MapperExtension - more tests for ScopedSession, fixed [ticket:746] - threadlocal engine propagates **kwargs through begin()
jason kirtland
it's a non-stop formatting fiesta
jason kirtland
formatting fiesta
  1. Prev
  2. Next