Commits

Author Commit Message Labels Comments Date
Mike Bayer
- add a nifty contextmanager form of assert_execution/assert_statement_count
Mike Bayer
- [feature] Various API tweaks to the "dialect" API to better support highly specialized systems such as the Akiban database, including more hooks to allow an execution context to access type processors.
Mike Bayer
- [bug] Continuing [ticket:2566] regarding extra state post-flush due to event listeners; any states that are marked as "dirty" from an attribute perspective, usually via column-attribute set events within after_insert(), after_update(), etc., will get the "history" flag reset in all cases, instead of only those instances that were part of the flush. This has the effect that this "dirty" state doesn't carry over …
Mike Bayer
- jam 0.8's rework of the session tests here so future merges have a chance of working
Branches
rel_0_7
Mike Bayer
- break session tests into smaller suites. still some ambiguity what some of these tests are testing
Mike Bayer
- add back __engine_options__ - break test_insert tests into explicitly get_lastrowid() vs. implicit_returning tests, fix up requirements to split them out
Mike Bayer
- connect immediately on _create_testing_engine to initialize dialect capabilities
Mike Bayer
- don't call get_lastrowid() on explicit returning - don't hardwire "subqueries" requirement in the base, mysql < 4.1 isn't working anyway - don't need explicit FB/PG exclusions in test_returning - hit db.connect() for the returning requirement
Mike Bayer
- [feature] The Session will produce warnings when unsupported methods are used inside the "execute" portion of the flush. These are the familiar methods add(), delete(), etc. as well as collection and related-object manipulations, as called within mapper-level flush events like after_insert(), after_update(), etc. It's been prominently documented for a long time that SQLAlchemy cannot guarantee resu…
Mike Bayer
fix __init__ in the metaclass
Branches
rel_0_7
Mike Bayer
- fix declarative __init__
Mike Bayer
- test updates
Mike Bayer
- requirements
Mike Bayer
- add one more #2583 test to cover the "multiple PK switch" use case
Branches
rel_0_7
Mike Bayer
- add one more #2583 test to cover the "multiple PK switch" use case
Mike Bayer
- [bug] Fixed Session accounting bug whereby replacing a deleted object in the identity map with another object of the same primary key would raise a "conflicting state" error on rollback(), if the replaced primary key were established either via non-unitofwork-established INSERT statement or by primary key switch of another instance. [ticket:2583]
Branches
rel_0_7
Mike Bayer
- [bug] Fixed Session accounting bug whereby replacing a deleted object in the identity map with another object of the same primary key would raise a "conflicting state" error on rollback(), if the replaced primary key were established either via non-unitofwork-established INSERT statement or by primary key switch of another instance. [ticket:2583]
Mike Bayer
Added tag rel_0_7_9 for changeset b42f6393dff2
Branches
rel_0_7
Mike Bayer
add .txt here
Tags
rel_0_7_9
Branches
rel_0_7
Mike Bayer
0.7.9
Branches
rel_0_7
Mike Bayer
obvious tidy
Branches
rel_0_7
Mike Bayer
- fix the fixture here that wasn't creating consistently - rewrite --dropfirst to be more industrial strength, includes views - fix order_by="foreign_key" to maintain the same ordering as metadata.sorted_tables. Not ideal that this was the other way throughout 0.7 but this is still a little-used method, in contrast to metadata.sorted_tables.
Mike Bayer
remove access
Mike Bayer
- [feature] the MS Access dialect has been moved to its own project on Bitbucket, taking advantage of the new SQLAlchemy dialect compliance suite. The dialect is still in very rough shape and probably not ready for general use yet, however it does have *extremely* rudimental functionality now.
Mike Bayer
allow variability here
Mike Bayer
- [bug] Fixed bug where reflection of primary key constraint would double up columns if the same constraint/table existed in multiple schemas.
Branches
rel_0_7
Mike Bayer
mssql: - [bug] Fixed bug where reflection of primary key constraint would double up columns if the same constraint/table existed in multiple schemas. - force returns_rows to False for inserts where we know rows shouldnt be returned; allows post_exec() to use the cursor without issue
Mike Bayer
spacing
Mike Bayer
- [bug] Fixed bug in over() construct whereby passing an empty list for either partition_by or order_by, as opposed to None, would fail to generate correctly. Courtesy Gunnlaugur Por Briem. [ticket:2574]
Branches
rel_0_7
Mike Bayer
- [bug] Fixed bug in over() construct whereby passing an empty list for either partition_by or order_by, as opposed to None, would fail to generate correctly. Courtesy Gunnlaugur Por Briem. [ticket:2574]
  1. Prev
  2. Next