Commits

Author Commit Message Labels Comments Date
Mike Bayer
- add support for integer indexes and slices to PathRegistry - write a full test suite for PathRegistry
Mike Bayer
- add coverage for merge_result() [ticket:2588] - pre-determine keys for the keyed tuples
Mike Bayer
- keep dialect at default for type compile - python2.5/3 fixes
Mike Bayer
python 3 division
Mike Bayer
- create new sqlalchemy.testing.suite.test_types, starting with Unicode round trip tests. - clean out existing test_types:UnicodeTest to be strictly individual unit tests against Unicode(), String(), etc. with no database access.
Mike Bayer
- [feature] Added "collation" parameter to all String types. When present, renders as COLLATE <collation>. This to support the COLLATE keyword now supported by several databases including MySQL, SQLite, and Postgresql. [ticket:2276] - [change] The Text() type renders the length given to it, if a length was specified.
Mike Bayer
- [feature] Added TIME type to mysql dialect, accepts "fst" argument which is the new "fractional seconds" specifier for recent MySQL versions. The datatype will interpret a microseconds portion received from the driver, however note that at this time most/all MySQL DBAPIs do not support returning this value. [ticket:2534] - attempted to modernize the types tests in test_mysql a little, though has a long way to go
Mike Bayer
- changelog update, added 0.7's version of [ticket:2561] and also r74618cabb1cb referred to the wrong ticket.
Mike Bayer
- [bug] changed the list of cx_oracle types that are excluded from the setinputsizes() step to only include STRING and UNICODE; CLOB and NCLOB are removed. This is to work around cx_oracle behavior which is broken for the executemany() call. In 0.8, this same change is applied however it is also configurable via the exclude_setinputsizes argument. [ticket:2561]
Branches
rel_0_7
Mike Bayer
- [feature] Added "read_timeout" flag to MySQLdb dialect. [ticket:2554]
Branches
rel_0_7
Mike Bayer
- [feature] Added "raise_on_warnings" flag to OurSQL dialect. [ticket:2523]
Branches
rel_0_7
Mike Bayer
- [feature] Added "read_timeout" flag to MySQLdb dialect. [ticket:2554]
Mike Bayer
- [feature] Added "raise_on_warnings" flag to OurSQL dialect. [ticket:2523]
Mike Bayer
updates
Mike Bayer
this is an RST now
Mike Bayer
- new dialect development README
Mike Bayer
- remove old hardcoded rule about chained being limited to certain load types
Mike Bayer
missing with_statement
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
  1. Prev
  2. Next