summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed support for multivalue inserts for MS SQL 2008 since it is actually ↵pr/98Albert Cervin2014-06-161-0/+2
| | | | supported.
* - Modified the behavior of :func:`.orm.load_only` such that primary keyMike Bayer2014-06-124-8/+66
| | | | | | | | | columns are always added to the list of columns to be "undeferred"; otherwise, the ORM can't load the row's identity. Apparently, one can defer the mapped primary keys and the ORM will fail, that hasn't been changed. But as load_only is essentially saying "defer all but X", it's more critical that PK cols not be part of this deferral. fixes #3080
* - changelogMike Bayer2014-06-081-0/+7
|
* Merged in univerio/sqlalchemy/materialized_paths (pull request #21) Mike Bayer2014-06-083-0/+136
|\ | | | | Materialized paths example
| * Materialized paths example.Jack Zhou2014-06-073-0/+136
| |
* | Update compiler.pyBY-jk2014-06-081-1/+2
| | | | | | | | | | | | Moved initialization into else block Conflicts: lib/sqlalchemy/sql/compiler.py
* | changelogMike Bayer2014-06-081-0/+8
| |
* | Merge branch 'master' of https://github.com/BY-jk/sqlalchemyMike Bayer2014-06-081-1/+1
|\ \ | |/ |/|
| * Wrong type usagepr/95BY-jk2014-05-301-1/+1
| | | | | | Wrong Type (TEXT) being used in StringTest
* | once kwarg in event funcs is new in 0.9.4Justin Wood (Callek)2014-06-051-2/+2
| | | | | | | | event.listen and event.listen_for have a kwarg once added in 0.9.4 (not 0.9.3) CHANGELOG agrees with this as well. (as does my manual testing)
* | - fix this test for MySQL, needs InnoDBMike Bayer2014-05-301-3/+7
| |
* | - remove drizzle dialectMike Bayer2014-05-3011-812/+155
| | | | | | | | | | - restore mysqldb fully within dialects/mysql/, it's no longer a connector. fixes #2984
* | - vastly improve the "safe close cursor" tests in test_reconnectMike Bayer2014-05-304-17/+74
| | | | | | | | | | | | | | | | | | | | | | - Fixed bug which would occur if a DBAPI exception occurs when the engine first connects and does its initial checks, and the exception is not a disconnect exception, yet the cursor raises an error when we try to close it. In this case the real exception would be quashed as we tried to log the cursor close exception via the connection pool and failed, as we were trying to access the pool's logger in a way that is inappropriate in this very specific scenario. fixes #3063
* | - The ``__mapper_args__`` dictionary is copied from a declarativeMike Bayer2014-05-303-1/+44
| | | | | | | | | | | | | | | | | | mixin or abstract class when accessed, so that modifications made to this dictionary by declarative itself won't conflict with that of other mappings. The dictionary is modified regarding the ``version_id_col`` and ``polymorphic_on`` arguments, replacing the column within with the one that is officially mapped to the local class/table. fixes #3062
* | fix typoMike Bayer2014-05-301-3/+3
| |
* | Merged in chrisw/sqlalchemy/more_range_docs (pull request #20) Mike Bayer2014-05-302-1/+31
|\ \ | | | | | | | | | | | | more docs for using psycopg2 range types, specifically instantiating models with them fixes #3046
| * | more docs for using psycopg2 range types, specifically instantiating models ↵Chris Withers2014-05-252-1/+31
| | | | | | | | | | | | with them
* | | - changelog + docs for pg8000 transaction isolation levelMike Bayer2014-05-304-2/+47
| | |
* | | Merge branch 'master' of https://github.com/tlocke/sqlalchemy into tlocke-masterMike Bayer2014-05-304-89/+98
|\ \ \
| * | | PEP 8 tidy of pg8000 dialect and postgresql/test_dialect.pypr/88Tony Locke2014-05-222-64/+51
| | | |
| * | | Autocommit isolation level for postgresql+pg8000Tony Locke2014-05-222-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As with postgresql+psycopg2, execution_options(isolation_level='AUTOCOMMIT') now works for the postgresql+pg8000 dialect. Also enabled the autocommit test in test_dialect.py for pg8000.
| * | | Updated doc string for postgresql+pg8000 dialectTony Locke2014-05-211-10/+8
| | | |
| * | | Add postgresql+pg8000 to floats_to_four_decimalsTony Locke2014-05-211-2/+5
| | | | | | | | | | | | | | | | | | | | pg8000 uses binary transfer of floats and so accuracy is lost for floats that can't be represented exactly in binary.
| * | | pg8000 now passes test_extract() testTony Locke2014-05-211-1/+0
| | | |
| * | | Two tests now work for pg800 in EnumTestTony Locke2014-05-211-6/+0
| | | | | | | | | | | | | | | | | | | | The two tests, test_create_table() and test_unicode_labels() previously failed under pg8000, but now they pass, so this commit opens them up.
| * | | pg8000 no longer truncates decimalsTony Locke2014-05-211-2/+0
| | | | | | | | | | | | | | | | | | | | We can now update the requirements to remove the special case of pg8000 truncating decimals.
| * | | pg8000.dbapi is now just pg8000Tony Locke2014-05-211-1/+1
| | | |
* | | | update commentsMike Bayer2014-05-301-4/+6
| | | |
* | | | - The psycopg2 ``.closed`` accessor is now consulted when determiningMike Bayer2014-05-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if an exception is a "disconnect" error; ideally, this should remove the need for any other inspection of the exception message to detect disconnect, however we will leave those existing messages in place as a fallback. This should be able to handle newer cases like "SSL EOF" conditions. Pull request courtesy Dirk Mueller. fixes #3021
* | | | Merge branch 'psycopg_disconnect' of https://github.com/dirkmueller/sqlalchemyMike Bayer2014-05-301-1/+5
|\ \ \ \
| * | | | Another Variant for detecting if a connection is closedpr/87Dirk Mueller2014-05-111-1/+5
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | If there is a closed attribute on the connection and it is true, return true. Implements a todo in the code and helps in one specific disconnect case where it previously did not match because the error message was "unknown error".
* | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-301-1/+1
|\ \ \ \
| * | | | revert this, not sure why that changedMike Bayer2014-05-301-1/+1
| | | | |
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-308-38/+57
|\ \ \ \ \ | |/ / / /
| * | | | - Related to :ticket:`3060`, an adjustment has been made to the unitMike Bayer2014-05-308-38/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of work such that loading for related many-to-one objects is slightly more aggressive, in the case of a graph of self-referential objects that are to be deleted; the load of related objects is to help determine the correct order for deletion if passive_deletes is not set. - revert the changes to test_delete_unloaded_m2o, these deletes do in fact need to occur in the order of the two child objects first.
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-302-10/+38
|\ \ \ \ \ | |/ / / /
| * | | | - add a new assertsql construct "Or", so that we can test for a UOW flushMike Bayer2014-05-302-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that might take one of multiple directions; apply this to test_delete_unloaded_m2o which is now illustrating multiple paths due to #3060/#3061, though still doing the right thing.
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-291-0/+2
|\ \ \ \ \ | |/ / / /
| * | | | add ticketMike Bayer2014-05-291-0/+2
| | | | |
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-2915-74/+233
|\ \ \ \ \ | |/ / / /
| * | | | - Adjustment to attribute mechanics concerning when a value isMike Bayer2014-05-2915-74/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implicitly initialized to None via first access; this action, which has always resulted in a population of the attribute, now emits an attribute event just like any other attribute set operation and generates the same kind of history as one. Additionally, many mapper internal operations will no longer implicitly generate these "None" values when various never-set attributes are checked. These are subtle behavioral fixes to attribute mechanics which provide a better solution to the problem of :ticket:`3060`, which also involves recognition of attributes explicitly set to ``None`` vs. attributes that were never set. fixes #3061
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-291-0/+1
|\ \ \ \ \ | |/ / / /
| * | | | relative hereMike Bayer2014-05-291-0/+1
| | | | |
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-292-25/+60
|\ \ \ \ \ | |/ / / /
| * | | | - correct the size on side elementsMike Bayer2014-05-292-25/+60
| | | | |
* | | | | Merge branch 'master' into rel_1_0Mike Bayer2014-05-295-122/+158
|\ \ \ \ \ | |/ / / /
| * | | | - re-merge doc_nav. We've removed the whole idea of a "fixed top", and ↵Mike Bayer2014-05-295-122/+158
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | moved the "fixed" thing entirely to the left side. The content now regains full vertical real estate, such that there's no workarounds needed for anchors, they work directly again. we had to reorganize the whole layout to accommodate this however.
| | * | | | fixMike Bayer2014-05-291-1/+1
| | | | | |
| | * | | | moreMike Bayer2014-05-291-3/+4
| | | | | |
| | * | | | - all new approach which allows the main text to be on the topMike Bayer2014-05-294-132/+155
| | | | | |