summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* PEP8 tidy of test/orm/test_dynamic.pypr/117Tony Locke2014-07-201-110/+83
|
* Fixes for pg8000 for test/orm/test_dynamic.pyTony Locke2014-07-201-5/+7
|
* PEP8 tidy of test/orm/test_froms.pyTony Locke2014-07-201-949/+1047
|
* Opened test_self_referential for pg8000Tony Locke2014-07-201-2/+1
| | | | | The test orm/test_froms.py test_self_referential works with pg8000 now, so I've opened it up.
* PEP8 tidy for test/orm/test_naturalpks.pyTony Locke2014-07-201-212/+235
|
* Remove requirement for manytomany_nonpassiveTony Locke2014-07-201-1/+0
| | | | | | Removed the non_updating_cascade requirement from test_manytomany_nonpassive. This is because setting passive_updates=False in a relationship should work on *all* dialects.
* PEP8 tidy of test/orm/test_query.pyTony Locke2014-07-201-472/+600
|
* pg8000 passing test/orm/test_query.pyTony Locke2014-07-201-3/+3
|
* PEP8 tidy for test/orm/test_transaction.pyTony Locke2014-07-191-106/+144
|
* Fix support for two phase commit in pg8000 dialectTony Locke2014-07-191-0/+19
| | | | | | | The postgresql base dialect has problems with two-phase commit because there isn't a standard way of handling autocommit in DBAPI. This commit modifies the pg8000 dialect to use the DBAPI tpc extension, which is supported by pg8000 as of version 1.9.11.
* PEP8 tidy for test/orm/test_versioning.pyTony Locke2014-07-191-148/+179
|
* - add E721Mike Bayer2014-07-181-1/+1
|
* - update the flake8 rules againMike Bayer2014-07-1826-3571/+4238
| | | | - apply autopep8 + manual fixes to most of test/sql/
* - Fixed bug in oracle dialect test suite where in one test,Mike Bayer2014-07-182-4/+14
| | | | | 'username' was assumed to be in the database URL, even though this might not be the case. Fixes #3128
* - also add the alternate approach, name column distinctly from attribute name,Mike Bayer2014-07-161-0/+14
| | | | ref #3129
* - add a documentation section for naming conflicts, fixes #3129Mike Bayer2014-07-161-0/+44
|
* - reinstate E123, E125, E128Mike Bayer2014-07-162-104/+147
| | | | - edit strategies.py to conform
* - forwards-port changelog for ref #3093Mike Bayer2014-07-162-9/+14
|
* - use an odict here to ensure ordering of propertiesMike Bayer2014-07-151-8/+8
|
* - add a full env for pypy, name it funny to avoid hidden/undocumentedMike Bayer2014-07-151-2/+6
| | | | tox behavior
* - fully flake8 this fileMike Bayer2014-07-151-234/+233
|
* - Fixed a regression caused by :ticket:`2976` released in 0.9.4 whereMike Bayer2014-07-153-11/+104
| | | | | | | | | | | | | | | | | the "outer join" propagation along a chain of joined eager loads would incorrectly convert an "inner join" along a sibling join path into an outer join as well, when only descendant paths should be receiving the "outer join" propagation; additionally, fixed related issue where "nested" join propagation would take place inappropriately between two sibling join paths. this is accomplished by re-introducing the removed flag "allow_innerjoin", now inverted and named "chained_from_outerjoin". Propagating this flag allows us to know when we have encountered an outerjoin along a load path, without confusing it for state obtained from a sibling path. fixes #3131 ref #2976
* - Fixed a SQLite join rewriting issue where a subquery that is embeddedMike Bayer2014-07-155-9/+66
| | | | | | | | as a scalar subquery such as within an IN would receive inappropriate substitutions from the enclosing query, if the same table were present inside the subquery as were in the enclosing query such as in a joined inheritance scenario. fixes #3130
* - wrestle with conv() and tests some moreMike Bayer2014-07-143-46/+77
|
* - allow the compilation rule that gets the formatted nameMike Bayer2014-07-144-14/+43
| | | | | to again have the chance to veto rendering, as the naming convention can make the decision that the name is "none" or not now.
* - Fix bug in naming convention feature where using a checkMike Bayer2014-07-146-25/+145
| | | | | | | | | | | | | constraint convention that includes ``constraint_name`` would then force all :class:`.Boolean` and :class:`.Enum` types to require names as well, as these implicitly create a constraint, even if the ultimate target backend were one that does not require generation of the constraint such as Postgresql. The mechanics of naming conventions for these particular constraints has been reorganized such that the naming determination is done at DDL compile time, rather than at constraint/table construction time. fixes #3067
* - Fixed a regression from 0.9.5 caused by :ticket:`3025` where theMike Bayer2014-07-142-0/+13
| | | | | | | query used to determine "default schema" is invalid in SQL Server 2000. For SQL Server 2000 we go back to defaulting to the "schema name" parameter of the dialect, which is configurable but defaults to 'dbo'. fixes #3025
* - Added statement encoding to the "SET IDENTITY_INSERT"Mike Bayer2014-07-143-6/+23
| | | | | | | | | statements which operate when an explicit INSERT is being interjected into an IDENTITY column, to support non-ascii table identifiers on drivers such as pyodbc + unix + py2k that don't support unicode statements. ref #3091 as this fix is also in that issue's patch, but is a different issue.
* - In the SQL Server pyodbc dialect, repaired the implementationMike Bayer2014-07-143-1/+36
| | | | | | | | | for the ``description_encoding`` dialect parameter, which when not explicitly set was preventing cursor.description from being parsed correctly in the case of result sets that contained names in alternate encodings. This parameter shouldn't be needed going forward. fixes #3091
* - Fixed a regression from 0.9.0 due to :ticket:`2736` where theMike Bayer2014-07-144-0/+60
| | | | | | | | | :meth:`.Query.select_from` method no longer set up the "from entity" of the :class:`.Query` object correctly, so that subsequent :meth:`.Query.filter_by` or :meth:`.Query.join` calls would fail to check the appropriate "from" entity when searching for attributes by string name. fixes #3083
* -Fixed bug in common table expressions whereby positional boundMike Bayer2014-07-143-7/+55
| | | | | | parameters could be expressed in the wrong final order when CTEs were nested in certain ways. fixes #3090
* - Fixed bug where multi-valued :class:`.Insert` construct would failMike Bayer2014-07-143-2/+54
| | | | | | to check subsequent values entries beyond the first one given for literal SQL expressions. fixes #3069
* need a 1.0.0 hereMike Bayer2014-07-141-0/+1
|
* - Added a "str()" step to the dialect_kwargs iteration forMike Bayer2014-07-145-2/+33
| | | | | | | Python version < 2.6.5, working around the "no unicode keyword arg" bug as these args are passed along as keyword args within some reflection processes. fixes #3123
* - add some order bysMike Bayer2014-07-141-3/+15
|
* - ensure usedevelop is present so that C exts are in the testsMike Bayer2014-07-141-0/+1
|
* - adjust this to work on PG alsoMike Bayer2014-07-131-2/+3
|
* Merge branch 'pep8'Mike Bayer2014-07-1336-851/+938
|\
| * PEP8 style fixesBrian Jarrett2014-07-1338-889/+981
| |
* | - Fixed bug in :class:`.Enum` and other :class:`.SchemaType`Mike Bayer2014-07-135-8/+83
| | | | | | | | | | | | | | subclasses where direct association of the type with a :class:`.MetaData` would lead to a hang when events (like create events) were emitted on the :class:`.MetaData`. fixes #3124
* | update test runners to be module-basedMike Bayer2014-07-101-5/+3
| |
* | OK use toxMike Bayer2014-07-102-1/+37
| |
* | Merge branch 'master' of https://github.com/celttechie/sqlalchemypr/104Brian Jarrett2014-07-101-5/+4
|\ \ | |/ | | | | Pulling from new fork of SQLAlchemy
| * - determine the root cause of the mysqlconnector issue, reportMike Bayer2014-07-101-5/+4
| | | | | | | | it and move on
* | fixed style to conform to PEP8Brian Jarrett2014-07-102-38/+43
|/
* - mark tests failing for mysqlconnector, oursqlMike Bayer2014-07-101-3/+10
|
* imports gone badMike Bayer2014-07-101-2/+2
|
* - The :meth:`.TypeEngine.with_variant` method will now accept aMike Bayer2014-07-103-1/+17
| | | | | | type class as an argument which is internally converted to an instance, using the same convention long established by other constructs such as :class:`.Column`. fixes #3122
* - fully flake8 test/aaa_profilingMike Bayer2014-07-097-430/+581
|
* - break up the <authors> copyright comment as part of a passMike Bayer2014-07-09161-161/+322
| | | | to get all flake8 passing