]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years agotest/base/alltests passes in 3k
Mike Bayer [Fri, 30 Jan 2009 16:34:26 +0000 (16:34 +0000)] 
test/base/alltests passes in 3k

17 years agomost folks dont put "./lib/" in their PYTHONPATH. so replace with the same approach...
Mike Bayer [Fri, 30 Jan 2009 15:38:09 +0000 (15:38 +0000)] 
most folks dont put "./lib/" in their PYTHONPATH.   so replace with the same approach as that of util.

17 years agouse sqlalchemy.util functions here. the previous implementation is
Mike Bayer [Fri, 30 Jan 2009 15:12:41 +0000 (15:12 +0000)] 
use sqlalchemy.util functions here.  the previous implementation is
not compatible with py3k.   I can run all tests or any combination of tests
by using sqlalchemy.util so it's not clear to me why sqlalchemy.util
reportedly cannot be imported at this phase.

17 years agoSwitched ext compiler test to use sqlite.
Michael Trier [Fri, 30 Jan 2009 05:09:14 +0000 (05:09 +0000)] 
Switched ext compiler test to use sqlite.

17 years agoGet the callable import right.
Michael Trier [Fri, 30 Jan 2009 05:04:59 +0000 (05:04 +0000)] 
Get the callable import right.

17 years agoCallable must be defined before path magic occurs.
Michael Trier [Fri, 30 Jan 2009 04:54:19 +0000 (04:54 +0000)] 
Callable must be defined before path magic occurs.

17 years agoResolved merge conflict.
Michael Trier [Fri, 30 Jan 2009 04:35:43 +0000 (04:35 +0000)] 
Resolved merge conflict.

17 years agoCouple more corrections to get mssql tests to pass.
Michael Trier [Fri, 30 Jan 2009 04:28:35 +0000 (04:28 +0000)] 
Couple more corrections to get mssql tests to pass.

17 years agopy3king
Mike Bayer [Fri, 30 Jan 2009 01:15:05 +0000 (01:15 +0000)] 
py3king

17 years ago2to3 wrapper which includes a preprocessor
Mike Bayer [Fri, 30 Jan 2009 00:00:40 +0000 (00:00 +0000)] 
2to3 wrapper which includes a preprocessor

17 years agotest fixes
Mike Bayer [Thu, 29 Jan 2009 22:29:32 +0000 (22:29 +0000)] 
test fixes

17 years agoFixed up some of the mssql dialect tests for date handling.
Michael Trier [Thu, 29 Jan 2009 17:03:30 +0000 (17:03 +0000)] 
Fixed up some of the mssql dialect tests for date handling.

17 years agocorrect subclassing
Mike Bayer [Thu, 29 Jan 2009 16:58:44 +0000 (16:58 +0000)] 
correct subclassing

17 years agojek's name change
Mike Bayer [Thu, 29 Jan 2009 16:35:51 +0000 (16:35 +0000)] 
jek's name change

17 years agodoc
Mike Bayer [Thu, 29 Jan 2009 16:25:10 +0000 (16:25 +0000)] 
doc

17 years ago- dialect.type_descriptor() becomes a classmethod
Mike Bayer [Thu, 29 Jan 2009 16:19:51 +0000 (16:19 +0000)] 
- dialect.type_descriptor() becomes a classmethod
- TypeEngine caches types in impl_dict per dialect class
[ticket:1299]

17 years agoA couple of cleanup items to remove pdb and correct dialect name on informix.
Michael Trier [Thu, 29 Jan 2009 05:14:47 +0000 (05:14 +0000)] 
A couple of cleanup items to remove pdb and correct dialect name on informix.

17 years agomssql type fixes....
Mike Bayer [Sun, 25 Jan 2009 20:52:02 +0000 (20:52 +0000)] 
mssql type fixes....

17 years agoCorrections to MSSQL Date/Time types; generalized server_version_info to a create_eng...
Mike Bayer [Sun, 25 Jan 2009 19:50:21 +0000 (19:50 +0000)] 
Corrections to MSSQL Date/Time types; generalized server_version_info to a create_engine() pre-step

17 years ago0.6 development branch
Mike Bayer [Sun, 25 Jan 2009 00:49:00 +0000 (00:49 +0000)] 
0.6 development branch

17 years ago- the 'expire' option on query.update() has been renamed to 'fetch', thus matching
Mike Bayer [Sun, 25 Jan 2009 00:48:15 +0000 (00:48 +0000)] 
- the 'expire' option on query.update() has been renamed to 'fetch', thus matching
that of query.delete()
- query.update() and query.delete() both default to 'evaluate' for the synchronize
strategy.
- the 'synchronize' strategy for update() and delete() raises an error on failure.
There is no implicit fallback onto "fetch".   Failure of evaluation is based
on the structure of criteria, so success/failure is deterministic based on
code structure.

17 years agohand-merged pg/mssql changes from trunk -r5699:5727
Mike Bayer [Sat, 24 Jan 2009 23:43:23 +0000 (23:43 +0000)] 
hand-merged pg/mssql changes from trunk -r5699:5727

17 years agomerged -r5699:5727 of trunk
Mike Bayer [Sat, 24 Jan 2009 22:55:51 +0000 (22:55 +0000)] 
merged -r5699:5727 of trunk

17 years agoOne more mssql dialect test fix.
Michael Trier [Wed, 21 Jan 2009 18:18:42 +0000 (18:18 +0000)] 
One more mssql dialect test fix.

17 years agoWorking through dialect changes.
Michael Trier [Wed, 21 Jan 2009 02:50:28 +0000 (02:50 +0000)] 
Working through dialect changes.

17 years agoA couple of fixes for the mssql dialect to correct restructuring / renaming.
Michael Trier [Tue, 20 Jan 2009 03:39:40 +0000 (03:39 +0000)] 
A couple of fixes for the mssql dialect to correct restructuring / renaming.

17 years agocaps adjust
Mike Bayer [Tue, 20 Jan 2009 03:08:22 +0000 (03:08 +0000)] 
caps adjust

17 years agosome import fixes
Mike Bayer [Tue, 20 Jan 2009 02:38:54 +0000 (02:38 +0000)] 
some import fixes

17 years ago- mssql dialects are in place, not fully tested
Mike Bayer [Tue, 20 Jan 2009 02:35:49 +0000 (02:35 +0000)] 
- mssql dialects are in place, not fully tested

17 years ago- pg uses generic Biginteger now
Mike Bayer [Mon, 19 Jan 2009 18:59:59 +0000 (18:59 +0000)] 
- pg uses generic Biginteger now
- fix to _is_excluded() function

17 years agoa little guide on how im thinking about types
Mike Bayer [Mon, 19 Jan 2009 18:44:07 +0000 (18:44 +0000)] 
a little guide on how im thinking about types

17 years agoremove pyc
Mike Bayer [Mon, 19 Jan 2009 18:24:56 +0000 (18:24 +0000)] 
remove pyc

17 years ago- moved all the dialects over to their final positions
Mike Bayer [Mon, 19 Jan 2009 18:24:40 +0000 (18:24 +0000)] 
- moved all the dialects over to their final positions
- structured maxdb, sybase, informix dialects.  obviously no testing has been done.

17 years agomerged -r5676:5699 of trunk
Mike Bayer [Sun, 18 Jan 2009 22:36:27 +0000 (22:36 +0000)] 
merged -r5676:5699 of trunk

17 years agoimport cleanup
Mike Bayer [Sat, 17 Jan 2009 17:28:04 +0000 (17:28 +0000)] 
import cleanup

17 years ago- added a compiler extension that allows easy creation of user-defined compilers,
Mike Bayer [Sat, 17 Jan 2009 07:03:36 +0000 (07:03 +0000)] 
- added a compiler extension that allows easy creation of user-defined compilers,
which register themselves with custom ClauseElement subclasses such that the compiler
is invoked along with the primary compiler.  The compilers can also be registered
on a per-dialect basis.

This provides a supported path for SQLAlchemy extensions such as ALTER TABLE
extensions and other SQL constructs.

17 years ago- oracle support, includes fix for #994
Mike Bayer [Sat, 17 Jan 2009 01:16:51 +0000 (01:16 +0000)] 
- oracle support, includes fix for #994

17 years agopg8000 handling unicode fine now
Mike Bayer [Fri, 16 Jan 2009 21:02:46 +0000 (21:02 +0000)] 
pg8000 handling unicode fine now

17 years ago- more or less pg8000 support. has a rough time with non-ascii data.
Mike Bayer [Fri, 16 Jan 2009 19:31:28 +0000 (19:31 +0000)] 
- more or less pg8000 support. has a rough time with non-ascii data.
- removed "send unicode straight through" logic from sqlite, this becomes
base dialect configurable
- simplfied Interval type to not have awareness of PG dialect.  dialects
can name TypeDecorator classes in their colspecs dict.

17 years agoconvert_unicode by default clears up the issue for now
Mike Bayer [Thu, 15 Jan 2009 16:38:17 +0000 (16:38 +0000)] 
convert_unicode by default clears up the issue for now

17 years agomore mysql+pyodbc fixes
Mike Bayer [Wed, 14 Jan 2009 23:52:14 +0000 (23:52 +0000)] 
more mysql+pyodbc fixes

17 years agomerge -r5673:5675 of trunk
Mike Bayer [Wed, 14 Jan 2009 21:06:02 +0000 (21:06 +0000)] 
merge -r5673:5675 of trunk

17 years ago- mysql+pyodbc working for regular usage, ORM, etc. types and unicode still flaky.
Mike Bayer [Wed, 14 Jan 2009 17:52:10 +0000 (17:52 +0000)] 
- mysql+pyodbc working for regular usage, ORM, etc.   types and unicode still flaky.
- updated testing decorators to receive  "name+driver"-style specifications

17 years agomore test fixup, type correction
Mike Bayer [Wed, 14 Jan 2009 16:58:20 +0000 (16:58 +0000)] 
more test fixup, type correction

17 years agothe most epic dialect of all. the MYSQL DIALECT. didn't port the dialect test over...
Mike Bayer [Tue, 13 Jan 2009 22:15:29 +0000 (22:15 +0000)] 
the most epic dialect of all.  the MYSQL DIALECT.  didn't port the dialect test over yet.

17 years agoour likely approach towards documentation of generic driver + dbapi driver
Mike Bayer [Tue, 13 Jan 2009 18:00:28 +0000 (18:00 +0000)] 
our likely approach towards documentation of generic driver + dbapi driver

17 years agomerge -r5658:5665 from trunk
Mike Bayer [Tue, 13 Jan 2009 17:37:38 +0000 (17:37 +0000)] 
merge -r5658:5665 from trunk

17 years agofirst merge from the hg repo. may need cleanup/refreshing
Mike Bayer [Tue, 13 Jan 2009 17:33:53 +0000 (17:33 +0000)] 
first merge from the hg repo.  may need cleanup/refreshing

17 years agobreak out dialects and drivers
Mike Bayer [Tue, 13 Jan 2009 17:08:02 +0000 (17:08 +0000)] 
break out dialects and drivers

17 years agoprefer this methods
Mike Bayer [Tue, 13 Jan 2009 15:56:51 +0000 (15:56 +0000)] 
prefer this methods

17 years ago- It's an error to add new Column objects to a declarative class
Mike Bayer [Tue, 13 Jan 2009 15:45:59 +0000 (15:45 +0000)] 
- It's an error to add new Column objects to a declarative class
that specified an existing table using __table__.

17 years ago- Column with no name (as in declarative) won't raise a
Mike Bayer [Tue, 13 Jan 2009 15:38:38 +0000 (15:38 +0000)] 
- Column with no name (as in declarative) won't raise a
NoneType error when it's string output is requsted
(such as in a stack trace).

17 years ago- Fixed a bug with the unitofwork's "row switch" mechanism,
Mike Bayer [Tue, 13 Jan 2009 06:11:17 +0000 (06:11 +0000)] 
- Fixed a bug with the unitofwork's "row switch" mechanism,
i.e. the conversion of INSERT/DELETE into an UPDATE, when
combined with joined-table inheritance and an object
which contained no defined values for the child table where
an UPDATE with no SET clause would be rendered.

17 years ago- Tightened up **kw on ColumnProperty and its front-end functions.
Jason Kirtland [Tue, 13 Jan 2009 02:43:52 +0000 (02:43 +0000)] 
- Tightened up **kw on ColumnProperty and its front-end functions.

17 years agohappy new year
Mike Bayer [Mon, 12 Jan 2009 21:19:11 +0000 (21:19 +0000)] 
happy new year

17 years ago- Can now specify Column objects on subclasses which have no
Mike Bayer [Mon, 12 Jan 2009 20:36:06 +0000 (20:36 +0000)] 
- Can now specify Column objects on subclasses which have no
table of their own (i.e. use single table inheritance).
The columns will be appended to the base table, but only
mapped by the subclass.

- For both joined and single inheriting subclasses, the subclass
will only map those columns which are already mapped on the
superclass and those explicit on the subclass.  Other
columns that are present on the `Table` will be excluded
from the mapping by default, which can be disabled
by passing a blank `exclude_properties` collection to the
`__mapper_args__`.  This is so that single-inheriting
classes which define their own columns are the only classes
to map those columns.   The effect is actually a more organized
mapping than you'd normally get with explicit `mapper()`
calls unless you set up the `exclude_properties` arguments
explicitly.

- docs/tests

17 years agooh, its UNION ordering that's changing
Mike Bayer [Mon, 12 Jan 2009 16:50:19 +0000 (16:50 +0000)] 
oh, its UNION ordering that's changing

17 years agomore comparator tweaks
Mike Bayer [Mon, 12 Jan 2009 16:28:01 +0000 (16:28 +0000)] 
more comparator tweaks

17 years agoEnsure RowTuple names are correct by adding "key" to QueryableAttribute.
Mike Bayer [Mon, 12 Jan 2009 15:58:09 +0000 (15:58 +0000)] 
Ensure RowTuple names are correct by adding "key" to QueryableAttribute.

17 years agosuspect the InstrumentedSet/set comparison is failing for some reason
Mike Bayer [Mon, 12 Jan 2009 04:04:33 +0000 (04:04 +0000)] 
suspect the InstrumentedSet/set comparison is failing for some reason

17 years ago*more* sqlite appeasement
Mike Bayer [Mon, 12 Jan 2009 00:12:10 +0000 (00:12 +0000)] 
*more* sqlite appeasement

17 years agomysql/pg sensitive fixes
Mike Bayer [Mon, 12 Jan 2009 00:06:47 +0000 (00:06 +0000)] 
mysql/pg sensitive fixes

17 years agodon't INSERT a blank row if no rows passed. (breaks all the tests for SQLite on the...
Mike Bayer [Sun, 11 Jan 2009 23:55:35 +0000 (23:55 +0000)] 
don't INSERT a blank row if no rows passed. (breaks all the tests for SQLite on the buildbot....)

17 years agoNotSupportedError is a DBAPI wrapper which takes four args and is expected to origina...
Mike Bayer [Sun, 11 Jan 2009 23:37:19 +0000 (23:37 +0000)] 
NotSupportedError is a DBAPI wrapper which takes four args and is expected to originate from the DBAPI layer.
Moved those error throws to CompileError/InvalidRequestError.

17 years agoadded an order by
Mike Bayer [Sun, 11 Jan 2009 23:34:36 +0000 (23:34 +0000)] 
added an order by

17 years ago- Concrete inheriting mappers now instrument attributes which are inherited from...
Mike Bayer [Sun, 11 Jan 2009 22:41:20 +0000 (22:41 +0000)] 
- Concrete inheriting mappers now instrument attributes which are inherited from the superclass, but are not defined for the concrete mapper itself, with an InstrumentedAttribute that issues a descriptive error when accessed.  [ticket:1237]
- Added a new `relation()` keyword `back_populates`.  This allows configuation of backreferences using explicit relations. [ticket:781]  This is required when creating bidirectional relations between a hierarchy of concrete mappers and another class. [ticket:1237]
- Test coverage added for `relation()` objects specified on concrete mappers. [ticket:1237]
- A short documentation example added for bidirectional relations specified on concrete mappers. [ticket:1237]
- Mappers now instrument class attributes upon construction with the final InstrumentedAttribute object which remains persistent.  The `_CompileOnAttr`/`__getattribute__()` methodology has been removed.  The net effect is that Column-based mapped class attributes can now be used fully at the class level without invoking a mapper compilation operation, greatly simplifying typical usage patterns within declarative. [ticket:1269]
- Index now accepts column-oriented InstrumentedAttributes (i.e. column-based mapped class attributes) as column arguments.  [ticket:1214]
- Broke up attributes.register_attribute into two separate functions register_descriptor and register_attribute_impl.    The first assembles an InstrumentedAttribute or Proxy descriptor, the second assembles the AttributeImpl inside the InstrumentedAttribute.  register_attribute remains for outside compatibility.  The argument lists have been simplified.
- Removed class_manager argument from all but MutableScalarAttributeImpl (the branch had removed class_ as well but this has been reverted locally to support the serializer extension).
- Mapper's previous construction of _CompileOnAttr now moves to a new MapperProperty.instrument_class() method which is called on all MapperProperty objects at the moment the mapper receives them. All MapperProperty objects now call attributes.register_descriptor within that method to assemble an InstrumentedAttribute object directly.
- InstrumentedAttribute now receives the "property" attribute from the given PropComparator.  The guesswork within the constructor is removed, and allows "property" to serve as a mapper compilation trigger.
- RelationProperty.Comparator now triggers compilation of its parent mapper within a util.memoized_property accessor for the "property" attribute, which is used instead of "prop" (we can probably remove "prop").
- ColumnProperty and similar handle most of their initialization in their __init__ method since they must function fully at the class level before mappers are compiled.
- SynonymProperty and ComparableProperty move their class instrumentation logic to the new instrument_class() method.
- LoaderStrategy objects now add their state to existing InstrumentedAttributes using attributes.register_attribute_impl.  Both column and relation-based loaders instrument in the same way now, with a unique InstrumentedAttribute *and* a unique AttributeImpl for each class in the hierarchy.  attribute.parententity should now be correct in all cases.
- Removed unitofwork.register_attribute, and simpified the _register_attribute methods into a single function in strategies.py.  unitofwork exports the UOWEventHandler extension directly.
- To accomodate the multiple AttributeImpls across a class hierarchy, the sethasparent() method now uses an optional "parent_token" attribute to identify the "parent".  AbstractRelationLoader sends the MapperProperty along to serve as this token.  If the token isn't present (which is only the case in the attributes unit tests), the AttributeImpl is used instead, which is essentially the same as the old behavior.
- Added new ConcreteInheritedProperty MapperProperty.  This is invoked for concrete mappers within _adapt_inherited_property() to accomodate concrete mappers which inherit unhandled attributes from the base class, and basically raises an exception upon access.  [ticket:1237]
- attributes.register_attribute and register_descriptor will now re-instrument an attribute unconditionally without checking for a previous attribute.  Not sure if this is controversial. It's needed so that ConcreteInheritedProperty instrumentation can be overridden by an incoming legit MapperProperty without any complexity.
- Added new UninstrumentedColumnLoader LoaderStrategy.  This is used by the polymorphic_on argument when the given column is not represented within the mapped selectable, as is typical with a concrete scenario which maps to a polymorphic union.  It does not configure class instrumentation, keeping polymorphic_on from getting caught up in the new concrete attribute-checking logic.
- RelationProperty now records its "backref" attributes using a set assigned to `_reverse_property` instead of a scalar.  The `back_populates` keyword allows any number of properties to be involved in a single bidirectional relation.  Changes were needed to RelationProperty.merge(), DependencyProcessor to accomodate for the new multiple nature of this attribute.
- Generalized the methodology used by ManyToManyDP to check for "did the other dependency already handle this direction", building on the `_reverse_property` collection.
- post_update logic within dependency.py moves to use the same methodology as ManyToManyDP so that "did the other dependency do this already" checks are made to be specific to the two dependent instances.
- Caught that RelationProperty.merge() was writing to instance.__dict__ directly (!) - repaired to talk to instance_state.dict.
- Removed needless eager loading example from concrete mapper docs.
- Added test for [ticket:965].
- Added the usual Node class/nodes table to orm/_fixtures.py, but haven't used it for anything yet.   We can potentially update test/orm/query.py to use this fixture.
- Other test/documentation cleanup.

17 years agoCorrected SAVEPOINT support on the adodbapi dialect by changing the handling
Michael Trier [Sun, 11 Jan 2009 19:15:37 +0000 (19:15 +0000)] 
Corrected SAVEPOINT support on the adodbapi dialect by changing the handling
of savepoint_release, which is unsupported on mssql.

The way it was being discarded previously resulted in an empty execute being
called on the dialect; adodbapi didn't like that much.

17 years agoModified the do_begin handling in mssql to use the Cursor not the Connection.
Michael Trier [Sun, 11 Jan 2009 19:15:30 +0000 (19:15 +0000)] 
Modified the do_begin handling in mssql to use the Cursor not the Connection.

This corrects a problem where we were trying to call execute on the Connection
object instead of against the cursor. This is supported on pyodbc but not in
the DBAPI. Overrode the behavior in pymssql to not do special do_begin
processing on that dialect.

17 years ago- 0.5.1 bump
Mike Bayer [Sun, 11 Jan 2009 16:45:45 +0000 (16:45 +0000)] 
- 0.5.1 bump
- modernized mapper()/no table exception
- added __tablename__ exception to declarative since ppl keep complaining

17 years agoclarified docs on foreign key cascades, mapper extension methods during delete()...
Mike Bayer [Sat, 10 Jan 2009 01:30:56 +0000 (01:30 +0000)] 
clarified docs on foreign key cascades, mapper extension methods during delete() and update() methods

17 years agoquery.delete(False) is not so bad
Mike Bayer [Thu, 8 Jan 2009 15:33:34 +0000 (15:33 +0000)] 
query.delete(False) is not so bad

17 years agoAdded the missing keywords from MySQL 4.1 so they get escaped properly.
Ants Aasma [Thu, 8 Jan 2009 15:16:32 +0000 (15:16 +0000)] 
Added the missing keywords from MySQL 4.1 so they get escaped properly.

17 years agotypo
Mike Bayer [Wed, 7 Jan 2009 01:13:29 +0000 (01:13 +0000)] 
typo

17 years agoFormatting fixups
Jason Kirtland [Tue, 6 Jan 2009 19:11:06 +0000 (19:11 +0000)] 
Formatting fixups

17 years agodoh its 0.5.0
Mike Bayer [Tue, 6 Jan 2009 19:04:08 +0000 (19:04 +0000)] 
doh its 0.5.0

17 years agomove memusage to the isolation chamber rel_0_5_0
Mike Bayer [Tue, 6 Jan 2009 18:30:38 +0000 (18:30 +0000)] 
move memusage to the isolation chamber

17 years ago- removed 2.3 compat stuff
Mike Bayer [Tue, 6 Jan 2009 18:19:59 +0000 (18:19 +0000)] 
- removed 2.3 compat stuff
- updated MANIFEST for the newer build

17 years agonext release is 0.5.0
Mike Bayer [Tue, 6 Jan 2009 17:15:27 +0000 (17:15 +0000)] 
next release is 0.5.0

17 years ago- query.join() raises an error when the target of the join
Mike Bayer [Tue, 6 Jan 2009 04:30:11 +0000 (04:30 +0000)] 
- query.join() raises an error when the target of the join
doesn't match the property-based attribute - while it's
unlikely anyone is doing this, the SQLAlchemy author was
guilty of this particular loosey-goosey behavior.

17 years agoForgot to sqash a commit. Follow up on mssql dates refactoring.
Michael Trier [Mon, 5 Jan 2009 22:33:09 +0000 (22:33 +0000)] 
Forgot to sqash a commit. Follow up on mssql dates refactoring.

17 years agomssql date / time refactor.
Michael Trier [Mon, 5 Jan 2009 22:05:51 +0000 (22:05 +0000)] 
mssql date / time refactor.
- Added new MSSmallDateTime, MSDateTime2, MSDateTimeOffset, MSTime types
- Refactored the Date/Time types. The smalldatetime data type no longer
  truncates to a date only, and will now be mapped to the MSSmallDateTime
  type. Closes #1254.

17 years agomade the "you passed a non-aliased selectable" warning scarier. scarier !
Mike Bayer [Mon, 5 Jan 2009 20:02:23 +0000 (20:02 +0000)] 
made the "you passed a non-aliased selectable" warning scarier.  scarier !

17 years ago- property.of_type() is now recognized on a single-table
Mike Bayer [Mon, 5 Jan 2009 19:23:56 +0000 (19:23 +0000)] 
- property.of_type() is now recognized on a single-table
inheriting target, when used in the context of
prop.of_type(..).any()/has(), as well as
query.join(prop.of_type(...)).

17 years agoif at first you don't succeed, fail, fail again
Mike Bayer [Mon, 5 Jan 2009 17:43:40 +0000 (17:43 +0000)] 
if at first you don't succeed, fail, fail again

17 years agoassume table.schema, not None, when constraint reflection has no explicit schema...
Mike Bayer [Mon, 5 Jan 2009 16:08:12 +0000 (16:08 +0000)] 
assume table.schema, not None, when constraint reflection has no explicit schema.  unit test TBD.

17 years ago- Generalized the IdentityManagedState._instance_dict() callable
Mike Bayer [Mon, 5 Jan 2009 15:34:09 +0000 (15:34 +0000)] 
- Generalized the IdentityManagedState._instance_dict() callable
to the IdentityMap class so that Weak/StrongInstanceDict both
have the same behavior wrt the state referencing the map
- Fixed bug when using weak_instance_map=False where modified
events would not be intercepted for a flush(). [ticket:1272]

17 years agoCorrected a few docs and didn't realize we put pyodbc first in the search list.
Michael Trier [Sun, 4 Jan 2009 03:31:05 +0000 (03:31 +0000)] 
Corrected a few docs and didn't realize we put pyodbc first in the search list.

17 years agodocstrings for the hated fold_equivalents argument/function
Mike Bayer [Sat, 3 Jan 2009 22:40:58 +0000 (22:40 +0000)] 
docstrings for the hated fold_equivalents argument/function

17 years agoadded teardown_instance() to complement setup_instance().
Mike Bayer [Sat, 3 Jan 2009 22:15:38 +0000 (22:15 +0000)] 
added teardown_instance() to complement setup_instance().
Based on the instance/class agnostic behavior of ClassManager, this might be the best we can
do regarding [ticket:860]

17 years ago- query.order_by() accepts None which will remove any pending
Mike Bayer [Sat, 3 Jan 2009 20:52:34 +0000 (20:52 +0000)] 
- query.order_by() accepts None which will remove any pending
order_by state from the query, as well as cancel out any
mapper/relation configured ordering. This is primarily useful
for overriding the ordering specified on a dynamic_loader().
[ticket:1079]

17 years agoadded the significant test for #1247
Mike Bayer [Sat, 3 Jan 2009 20:31:43 +0000 (20:31 +0000)] 
added the significant test for #1247

17 years agoCorrected an issue on mssql where Numerics would not accept an int.
Michael Trier [Sat, 3 Jan 2009 20:07:17 +0000 (20:07 +0000)] 
Corrected an issue on mssql where Numerics would not accept an int.

17 years agoadded order_by test coverage as per [ticket:1218]
Mike Bayer [Sat, 3 Jan 2009 20:06:53 +0000 (20:06 +0000)] 
added order_by test coverage as per [ticket:1218]

17 years agoone more typo
Mike Bayer [Sat, 3 Jan 2009 19:37:17 +0000 (19:37 +0000)] 
one more typo

17 years agofixed critical errors in assocationproxy docs while we wait for the all new and impro...
Mike Bayer [Sat, 3 Jan 2009 19:35:59 +0000 (19:35 +0000)] 
fixed critical errors in assocationproxy docs while we wait for the all new and improved version

17 years ago- Fixed bug which was preventing out params of certain types
Mike Bayer [Sat, 3 Jan 2009 18:58:52 +0000 (18:58 +0000)] 
- Fixed bug which was preventing out params of certain types
from being received; thanks a ton to huddlej at wwu.edu !
[ticket:1265]

17 years agoidentified the SQLite changes which affect default reflection
Mike Bayer [Sat, 3 Jan 2009 18:06:59 +0000 (18:06 +0000)] 
identified the SQLite changes which affect default reflection

17 years agoAdded a note about mssql compatibility levels.
Michael Trier [Sat, 3 Jan 2009 17:42:31 +0000 (17:42 +0000)] 
Added a note about mssql compatibility levels.

17 years agosend a NASA probe to the buildbot
Mike Bayer [Sat, 3 Jan 2009 17:28:43 +0000 (17:28 +0000)] 
send a NASA probe to the buildbot

17 years agoFlagged two versioning tests as failing on MSSQL. The flush occurs even though
Michael Trier [Sat, 3 Jan 2009 05:32:11 +0000 (05:32 +0000)] 
Flagged two versioning tests as failing on MSSQL. The flush occurs even though
there should be a concurrency issue.

I cheated and marked these as FIXME. With this commit all MSSQL tests pass
now. The work of correcting the ``fails_on`` tests begins.