1. Scott Torborg
  2. sqlalchemy

Commits

Author Commit Message Date Builds
Michael Bayer
- add a nifty contextmanager form of assert_execution/assert_statement_count
Michael 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.
Michael 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 …
Michael Bayer
- jam 0.8's rework of the session tests here so future merges have a chance of working
Branches
rel_0_7
Michael Bayer
- break session tests into smaller suites. still some ambiguity what some of these tests are testing
Michael Bayer
- add back __engine_options__ - break test_insert tests into explicitly get_lastrowid() vs. implicit_returning tests, fix up requirements to split them out
Michael Bayer
- connect immediately on _create_testing_engine to initialize dialect capabilities
Michael 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
Michael 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…
Michael Bayer
fix __init__ in the metaclass
Branches
rel_0_7
Michael Bayer
- fix declarative __init__
Michael Bayer
- test updates
Michael Bayer
- requirements
Michael Bayer
- add one more #2583 test to cover the "multiple PK switch" use case
Branches
rel_0_7
Michael Bayer
- add one more #2583 test to cover the "multiple PK switch" use case
Michael 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
Michael 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]
Michael Bayer
Added tag rel_0_7_9 for changeset b42f6393dff2
Branches
rel_0_7
Michael Bayer
add .txt here
Tags
rel_0_7_9
Branches
rel_0_7
Michael Bayer
0.7.9
Branches
rel_0_7
Michael Bayer
obvious tidy
Branches
rel_0_7
Michael 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.
Michael Bayer
remove access
Michael 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.
Michael Bayer
allow variability here
Michael 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
Michael 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
Michael Bayer
spacing
Michael 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
Michael 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