summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pg8000 now supports sane_multi_rowcountpr/125Tony Locke2014-08-021-1/+1
| | | | | From pg8000-1.9.14 sane_multi_rowcount is supported so this commit updates the dialect accordingly.
* two_phase_recover, COMMIT PREPARED in transactionTony Locke2014-08-022-4/+4
| | | | | | | | | | | | | | In test/engine/test_transaction/test_two_phase_recover(), a COMMIT PREPARED is issued while in a transaction. This causes an error, and a prepared transaction is left hanging around which causes the subsequent test to hang. I've altered the test to execute the offending query with autocommit=true, then when it gets to the COMMIT PRPARED it can go ahead. There's another complication for pg8000 because its tpc_recover() method started a transaction if one wasn't already in progress. I've decided that this is incorrect behaviour and so from pg8000-1.9.13 this method never starts or stops a transaction.
* Remove spurious print statements in pg8000 dialectTony Locke2014-08-021-2/+0
|
* PEP8 tidy of test/engine/test_reconnectTony Locke2014-08-021-58/+52
|
* With pg8000-1.9.13 passes engine/test_reconnectTony Locke2014-08-021-10/+0
| | | | | | | The pg8000 dialect checks the text of the exception to determine if the connection is closed. I'd (recklessly!) changed the text of the exception in a recent version of the pg8000 driver adding capitalization and a full stop. I've changed it back now so all works.
* - update the literal binds sectionMike Bayer2014-07-301-43/+24
|
* - workaround removal of nested() in py3kMike Bayer2014-07-303-2/+37
|
* - ensure all tests are named test_*Mike Bayer2014-07-3011-47/+48
|
* - repair test finding to not skip the test_suite testsMike Bayer2014-07-302-2/+1
|
* - fix unit test affected by #3075Mike Bayer2014-07-291-5/+8
|
* pep8 cleanupMike Bayer2014-07-291-285/+342
|
* - The exception wrapping system for DBAPI errors can now accommodateMike Bayer2014-07-294-4/+53
| | | | | | | | non-standard DBAPI exceptions, such as the psycopg2 TransactionRollbackError. These exceptions will now be raised using the closest available subclass in ``sqlalchemy.exc``, in the case of TransactionRollbackError, ``sqlalchemy.exc.OperationalError``. fixes #3075
* - Fixed 0.9.7 regression caused by :ticket:`3067` in conjunction withMike Bayer2014-07-293-2/+14
| | | | | | a mis-named unit test such that so-called "schema" types like :class:`.Boolean` and :class:`.Enum` could no longer be pickled. fixes #3144
* - find the remaining not cleaning up correctly testMike Bayer2014-07-281-1/+2
|
* fix test ordering issuesMike Bayer2014-07-274-66/+44
|
* - remove print statementMike Bayer2014-07-271-3/+4
| | | | - ensure non-tests wont run
* - exclude profiling altogether from coverageMike Bayer2014-07-271-0/+1
|
* - disable C exts on coverage runMike Bayer2014-07-271-0/+3
|
* - remove debugging assertionsMike Bayer2014-07-272-9/+5
| | | | - keep sqlite as memory even with parallel for now
* - add support for tags, including include/exclude support.Mike Bayer2014-07-2714-76/+192
| | | | simplify tox again now that we can exclude tests more easily
* - reorganize tox optionsMike Bayer2014-07-262-27/+37
|
* Merge branch 'master' into xdist_pocMike Bayer2014-07-261-2/+3
|\
| * fix paren hereMike Bayer2014-07-261-2/+3
| |
* | - scale up for mysql, sqliteMike Bayer2014-07-267-113/+282
| |
* | Merge branch 'master' into xdist_pocMike Bayer2014-07-268-153/+227
|\ \ | |/ | | | | | | Conflicts: lib/sqlalchemy/engine/url.py
| * - rework the exclusions system to have much better support for compoundMike Bayer2014-07-267-151/+231
| | | | | | | | rules, better message formatting
| * - fix whitespaceMike Bayer2014-07-251-2/+2
| |
* | - use a template database for PG so extensions get created automaticallyMike Bayer2014-07-251-4/+7
| |
* | Merge branch 'master' into xdist_pocMike Bayer2014-07-252-0/+3
|\ \ | |/
| * - restore non_updating_cascade to test_manytomany_nonpassive, but alsoMike Bayer2014-07-252-0/+3
| | | | | | | | add sane_multi_rowcount requirement, as pg8000 doesn't do "multi" row count.
* | - proof of concept for parallel testingMike Bayer2014-07-256-13/+102
|/
* - more pg8000 tests passingMike Bayer2014-07-257-7/+24
|
* Merge remote-tracking branch 'origin/pr/117' into pg8000Mike Bayer2014-07-257-2003/+2313
|\
| * 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
| |
* | - Fixed bug in :class:`.postgresql.array` object where comparisonMike Bayer2014-07-253-0/+39
| | | | | | | | | | to a plain Python list would fail to use the correct array constructor. Pull request courtesy Andrew. fixes #3141
* | Merge remote-tracking branch 'origin/pr/124' into issue3141Mike Bayer2014-07-251-1/+1
|\ \
| * | Fix argument to array() in array._bind_param()pr/124Andrew2014-07-241-1/+1
| | | | | | | | | array.__init__() expects a list as its sole parameter but inside _bind_param(), instead of sending a list it's sending each item in the list as a separate argument which is incorrect.
* | | - flake8 all of test/dialect/postgresqlMike Bayer2014-07-255-758/+995
| | | | | | | | | | | | - add __backend__ to most tests so that pg8000 can start coming in
* | | - The MySQL dialect will now disable :meth:`.ConnectionEvents.handle_error`Mike Bayer2014-07-255-4/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | events from firing for those statements which it uses internally to detect if a table exists or not. This is achieved using an execution option ``skip_user_error_events`` that disables the handle error event for the scope of that execution. In this way, user code that rewrites exceptions doesn't need to worry about the MySQL dialect or other dialects that occasionally need to catch SQLAlchemy specific exceptions.
* | | - use a variant with expected collation here for mysqlMike Bayer2014-07-251-5/+2
| | |