Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
add test for [ticket:2159]
Tags
rel_0_7_1
Mike Bayer
- Fixed bug where transaction-level "deleted" collection wouldn't be cleared of expunged states, raising an error if they later became transient [ticket:2182]. Also in 0.6.8.
Mike Bayer
- Added a workaround for Python bug 7511 where failure of C extension build does not raise an appropriate exception on Windows 64 bit + VC express [ticket:2184]
Mike Bayer
put some variance on this as it's a difference between 9 and 60 calls
Mike Bayer
- Adjusted the __contains__() method of a RowProxy result row such that no exception throw is generated internally; NoSuchColumnError() also will generate its message regardless of whether or not the column construct can be coerced to a string. [ticket:2178]. Also in 0.6.8.
Mike Bayer
- Some unit test fixes regarding numeric arrays, MATCH operator. A potential floating-point inaccuracy issue was fixed, and certain tests of the MATCH operator only execute within an EN-oriented locale for now. [ticket:2175]. Also in 0.6.8.
Mike Bayer
- Modify the text of the message which occurs when the "identity" key isn't detected on flush, to include the common cause that the Column isn't set up to detect auto-increment correctly; [ticket:2170]. Also in 0.6.8.
Mike Bayer
- Accept None from SQLite cursor.fetchone() when "PRAGMA read_uncommitted" is called to determine current isolation mode at connect time and default to SERIALIZABLE; this to support SQLite versions pre-3.3.0 that did not have this feature. [ticket:2173]
Mike Bayer
- Repaired new "mutable" extension to propagate events to subclasses correctly; don't create multiple event listeners for subclasses either. [ticket:2180]
Mike Bayer
- "delete-orphan" cascade is now allowed on self-referential relationships - this since SQLA 0.7 no longer enforces "parent with no child" at the ORM level; this check is left up to foreign key nullability. Related to [ticket:1912] - a lot of cleanup and refactoring on relationship() init, clarification
Mike Bayer
hey this works. (don't need to re-calc fks collection)
Mike Bayer
ARG
Mike Bayer
- adjust further for unix-style casing, also this is mysql not just mysqldb
Mike Bayer
- Unit tests pass 100% on MySQL installed on windows, after aggressive exclusion of a wide variety of tests. Not clear to what degree the failures are related to version 5.5 vs. the usage of windows, in particular the ON UPDATE CASCADE immediately crashes the server. The features being tested here are all edge cases not likely to be used in typical MySQL environments. - Removed the "adjust casing" step that would fail when reflecting a table on MySQL on windows with a mixed case name. After some experimenting with a windows MySQL server, it's been determined that this step wasn't really helping the situation much; MySQL does not return FK names with proper casing on non-windows platforms either, and removing the step at least allows the reflection to act more like it does on other OSe… - supports_sane_rowcount will be set to False if using MySQLdb and the DBAPI doesn't provide the constants.CLIENT module.
Mike Bayer
alleviate transaction confusion which may occur from reading just the "commit" doc
Mike Bayer
fix some tests
Mike Bayer
- Deprecate schema/SQL-oriented methods on Connection/Engine that were never well known and are redundant: reflecttable(), create(), drop(), text(), engine.func - lots of docstrings in engine
Mike Bayer
take out a little cruft. Spend two hours trying to make things simpler, maybe we dont need state.callables (nope we do), maybe we can move populate_state out (nope we lose speed that way), things are the way they are...
Mike Bayer
- Fixed bug whereby metadata.reflect(bind) would close a Connection passed as a bind argument. Regression from 0.6.
Mike Bayer
express the check for 'filter' in terms of _MapperEntity being present or not. move away slightly from the _mapper_entities collection.
Mike Bayer
- dont actually need separate init(), but be conservative for now.
Mike Bayer
- remove the old term 'selectcontext' - don't swing the GOF hammer so hard
Mike Bayer
update out of date docstring
Mike Bayer
hey, we don't need this.
Mike Bayer
the "property" argument here is not used
Mike Bayer
use default dialect here
Mike Bayer
- move Operators and ColumnOperators into sqlalchemy.sql.operators - since this is strictly a system of routing Python operators into functions. Keep the references available in expression.py for the near future.
Mike Bayer
- Streamlined the process by which a Select determines what's in it's '.c' collection. Behaves identically, except that a raw ClauseList() passed to select([]) (which is not a documented case anyway) will now be expanded into its individual column elements instead of being ignored.
Mike Bayer
- add a comment regarding why __init__ has a return value
Mike Bayer
- get all comparison operators to document with sphinx - column based, relationship based. Should fix misunderstandings like [ticket:2177]
  1. Prev
  2. Next