]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years ago- Added free-form `DDL` statements, can be executed standalone or tied to the DDL...
Jason Kirtland [Tue, 5 Feb 2008 05:46:33 +0000 (05:46 +0000)] 
- Added free-form `DDL` statements, can be executed standalone or tied to the DDL create/drop lifecycle of Tables and MetaData. [ticket:903]
- Added DDL event hooks, triggers callables before and after create / drop.

17 years ago*more* tweaks to avoid DEFAULT VALUES on sqlite
Mike Bayer [Mon, 4 Feb 2008 22:40:52 +0000 (22:40 +0000)] 
*more* tweaks to avoid DEFAULT VALUES on sqlite

17 years agolock in replacing '%' with '%%'
Mike Bayer [Mon, 4 Feb 2008 22:35:29 +0000 (22:35 +0000)] 
lock in replacing '%' with '%%'

17 years ago- add dummy column to appease older SQLite verisons in unicode.py
Mike Bayer [Mon, 4 Feb 2008 21:47:42 +0000 (21:47 +0000)] 
- add dummy column to appease older SQLite verisons in unicode.py
- add test "escape_literal_column" comiler method to start addressing literal '%' character

17 years ago- ColumnDefault callables can now be any kind of compliant callable, previously only...
Jason Kirtland [Mon, 4 Feb 2008 20:49:38 +0000 (20:49 +0000)] 
- ColumnDefault callables can now be any kind of compliant callable, previously only actual functions were allowed.

17 years agoforcibly clean out _sessions, _mapper_registry at test start to eliminate leftovers...
Mike Bayer [Mon, 4 Feb 2008 20:35:25 +0000 (20:35 +0000)] 
forcibly clean out _sessions, _mapper_registry at test start to eliminate leftovers from other unit tests (from other test scripts) still stored in memory

17 years agoadd some extra assertions to ensure all mappers are gone after clear_mappers() (for...
Mike Bayer [Mon, 4 Feb 2008 02:44:04 +0000 (02:44 +0000)] 
add some extra assertions to ensure all mappers are gone after clear_mappers() (for [ticket:963])

17 years ago- fixed reflection of Time columns on sqlite
Jason Kirtland [Fri, 1 Feb 2008 08:11:12 +0000 (08:11 +0000)] 
- fixed reflection of Time columns on sqlite

17 years ago- some consolidation of tests in select.py, moved
Mike Bayer [Fri, 1 Feb 2008 01:16:18 +0000 (01:16 +0000)] 
- some consolidation of tests in select.py, moved
other tests to more specific modules
- added "now()" as a generic function; on SQLite and
Oracle compiles as "CURRENT_TIMESTAMP"; "now()"
on all others [ticket:943]

17 years ago- Workaround for datetime quirk, LHS comparisons to SA expressions now work.
Jason Kirtland [Thu, 31 Jan 2008 21:32:38 +0000 (21:32 +0000)] 
- Workaround for datetime quirk, LHS comparisons to SA expressions now work.

17 years ago- Friendlier exception messages for unbound, implicit execution
Jason Kirtland [Thu, 31 Jan 2008 19:48:13 +0000 (19:48 +0000)] 
- Friendlier exception messages for unbound, implicit execution
- Implicit binding failures now raise UnboundExecutionError

17 years ago- added "autocommit=True" kwarg to select() and text(),
Mike Bayer [Thu, 31 Jan 2008 17:48:22 +0000 (17:48 +0000)] 
- added "autocommit=True" kwarg to select() and text(),
as well as generative autocommit() method on select();
for statements which modify the database through some
user-defined means other than the usual INSERT/UPDATE/
DELETE etc., this flag will enable "autocommit" behavior
during execution if no transaction is in progress
[ticket:915]

17 years ago- implemented RowProxy.__ne__ [ticket:945], thanks knutroy
Jason Kirtland [Thu, 31 Jan 2008 04:49:31 +0000 (04:49 +0000)] 
- implemented RowProxy.__ne__ [ticket:945], thanks knutroy
- test coverage for same

17 years ago- the startswith(), endswith(), and contains() operators
Mike Bayer [Thu, 31 Jan 2008 03:57:20 +0000 (03:57 +0000)] 
- the startswith(), endswith(), and contains() operators
now concatenate the wildcard operator with the given
operand in SQL, i.e. "'%' || <bindparam>" in all cases,
accept text('something') operands properly [ticket:962]

- cast() accepts text('something') and other non-literal
operands properly [ticket:962]

17 years agoescapedefaultstest passes on everything
Mike Bayer [Wed, 30 Jan 2008 21:33:17 +0000 (21:33 +0000)] 
escapedefaultstest passes on everything

17 years agomoved default escaping test to its own test so oracle gets it
Mike Bayer [Wed, 30 Jan 2008 21:31:32 +0000 (21:31 +0000)] 
moved default escaping test to its own test so oracle gets it

17 years ago- Oracle and others properly encode SQL used for defaults
Mike Bayer [Wed, 30 Jan 2008 21:08:11 +0000 (21:08 +0000)] 
- Oracle and others properly encode SQL used for defaults
like sequences, etc., even if no unicode idents are used
since identifier preparer may return a cached unicode
identifier.

17 years agodocstring fix
Mike Bayer [Wed, 30 Jan 2008 19:19:21 +0000 (19:19 +0000)] 
docstring fix

17 years ago- next release will be 0.4.3
Mike Bayer [Wed, 30 Jan 2008 17:35:20 +0000 (17:35 +0000)] 
- next release will be 0.4.3
- fixed merge() collection-doubling bug when merging
transient entities with backref'ed collections.
[ticket:961]
- merge(dont_load=True) does not accept transient
entities, this is in continuation with the fact that
merge(dont_load=True) does not accept any "dirty"
objects either.

17 years ago- "Passive defaults" and other "inline" defaults can now
Mike Bayer [Mon, 28 Jan 2008 23:15:40 +0000 (23:15 +0000)] 
- "Passive defaults" and other "inline" defaults can now
be loaded during a flush() call if needed; in particular,
this allows constructing relations() where a foreign key
column references a server-side-generated, non-primary-key
column. [ticket:954]

17 years ago- Added a simple @future test marker.
Jason Kirtland [Mon, 28 Jan 2008 19:58:39 +0000 (19:58 +0000)] 
- Added a simple @future test marker.

17 years ago- Fixed little think-o in fails_if
Jason Kirtland [Mon, 28 Jan 2008 19:52:04 +0000 (19:52 +0000)] 
- Fixed little think-o in fails_if

17 years ago- Fixed bug in polymorphic inheritance where incorrect
Mike Bayer [Sun, 27 Jan 2008 02:21:23 +0000 (02:21 +0000)] 
- Fixed bug in polymorphic inheritance where incorrect
exception is raised when base polymorphic_on
column does not correspond to any columns within
the local selectable of an inheriting mapper more
than one level deep

17 years agoencourage usage of union() and other composites as module-level
Mike Bayer [Fri, 25 Jan 2008 20:52:13 +0000 (20:52 +0000)] 
encourage usage of union() and other composites as module-level

17 years ago- added standalone "query" class attribute generated
Mike Bayer [Fri, 25 Jan 2008 18:16:12 +0000 (18:16 +0000)] 
- added standalone "query" class attribute generated
by a scoped_session.  This provides MyClass.query
without using Session.mapper.  Use via:

MyClass.query = Session.query_property()

17 years ago- Ignore jython debris
Jason Kirtland [Thu, 24 Jan 2008 19:08:22 +0000 (19:08 +0000)] 
- Ignore jython debris

17 years ago- Flipped join order of __radd__ on association proxied lists.
Jason Kirtland [Thu, 24 Jan 2008 01:12:46 +0000 (01:12 +0000)] 
- Flipped join order of __radd__ on association proxied lists.

17 years ago- IdentitySet binops no longer accept plain sets.
Jason Kirtland [Thu, 24 Jan 2008 01:00:41 +0000 (01:00 +0000)] 
- IdentitySet binops no longer accept plain sets.

17 years agoA little clarity tweak to r4093
Jason Kirtland [Thu, 24 Jan 2008 00:21:58 +0000 (00:21 +0000)] 
A little clarity tweak to r4093

17 years agoCorrected behavior of get_cls_kwargs and friends
Jason Kirtland [Thu, 24 Jan 2008 00:08:40 +0000 (00:08 +0000)] 
Corrected behavior of get_cls_kwargs and friends

17 years agoadded an intro for the code sample so that its not construed as a "synopsis"
Mike Bayer [Wed, 23 Jan 2008 20:00:53 +0000 (20:00 +0000)] 
added an intro for the code sample so that its not construed as a "synopsis"

17 years ago- query.join() can also accept tuples of attribute
Mike Bayer [Wed, 23 Jan 2008 19:20:49 +0000 (19:20 +0000)] 
- query.join() can also accept tuples of attribute
name/some selectable as arguments.  This allows
construction of joins *from* subclasses of a
polymorphic relation, i.e.:

query(Company).\
join(
  [('employees', people.join(engineer)), Engineer.name]
)

17 years agoAdded notes about 2.3 improvements
Jason Kirtland [Wed, 23 Jan 2008 18:26:50 +0000 (18:26 +0000)] 
Added notes about 2.3 improvements

17 years agoEdits
Jason Kirtland [Wed, 23 Jan 2008 18:20:26 +0000 (18:20 +0000)] 
Edits

17 years agowhups, args in wrong order
Mike Bayer [Wed, 23 Jan 2008 15:21:18 +0000 (15:21 +0000)] 
whups, args in wrong order

17 years agomore descriptive error message for m2m concurrency error
Mike Bayer [Wed, 23 Jan 2008 15:18:28 +0000 (15:18 +0000)] 
more descriptive error message for m2m concurrency error

17 years agomore capability added to reduce_columns
Mike Bayer [Wed, 23 Jan 2008 15:16:43 +0000 (15:16 +0000)] 
more capability added to reduce_columns

17 years ago- Migrated zoomark to profiling.function_call_count(), tightened up the numbers....
Jason Kirtland [Tue, 22 Jan 2008 22:43:04 +0000 (22:43 +0000)] 
- Migrated zoomark to profiling.function_call_count(), tightened up the numbers.  Is there variation by platform too?  Buildbots will tell...

17 years agorein in r3840 find and replace rampage
Jason Kirtland [Tue, 22 Jan 2008 21:32:51 +0000 (21:32 +0000)] 
rein in r3840 find and replace rampage

17 years ago- 2.3 fixup part three: 100% on postgres, mysql
Jason Kirtland [Tue, 22 Jan 2008 21:08:21 +0000 (21:08 +0000)] 
- 2.3 fixup part three: 100% on postgres, mysql

17 years ago- Removed some test bogosity
Jason Kirtland [Tue, 22 Jan 2008 19:42:12 +0000 (19:42 +0000)] 
- Removed some test bogosity

17 years ago- Cover 2.3 Decimal fallback
Jason Kirtland [Tue, 22 Jan 2008 18:06:46 +0000 (18:06 +0000)] 
- Cover 2.3 Decimal fallback

17 years ago- 2.3 fixup, part two: 100% passing for sqlite
Jason Kirtland [Mon, 21 Jan 2008 23:19:39 +0000 (23:19 +0000)] 
- 2.3 fixup, part two: 100% passing for sqlite
  - added 2.4-style binops to util.Set on 2.3
  - OrderedSets pickle on 2.3
  - more lib/sqlalchemy set vs Set corrections
  - fixed InstrumentedSet.discard for 2.3
  - set, sorted compatibility for test suite
- added testing.fails_if decorator

17 years agoclean up a little close() silliness
Mike Bayer [Sun, 20 Jan 2008 19:04:06 +0000 (19:04 +0000)] 
clean up a little close() silliness

17 years agofactor create_row_adapter into sql.util.row_adapter
Mike Bayer [Sun, 20 Jan 2008 05:06:55 +0000 (05:06 +0000)] 
factor create_row_adapter into sql.util.row_adapter

17 years agofurther clarification on transaction state
Mike Bayer [Sun, 20 Jan 2008 04:47:16 +0000 (04:47 +0000)] 
further clarification on transaction state

17 years agofix rollback behavior with transaction context manager and failed two phase transactions
Ants Aasma [Sun, 20 Jan 2008 04:31:53 +0000 (04:31 +0000)] 
fix rollback behavior with transaction context manager and failed two phase transactions

17 years agoexample of using try-catch to do transaction commit/rollback was wrong in the docs
Ants Aasma [Sun, 20 Jan 2008 03:39:43 +0000 (03:39 +0000)] 
example of using try-catch to do transaction commit/rollback was wrong in the docs

17 years ago- parent transactions weren't started on the connection when adding a connection...
Ants Aasma [Sun, 20 Jan 2008 03:22:00 +0000 (03:22 +0000)] 
- parent transactions weren't started on the connection when adding a connection to a nested session transaction.
- session.transaction now always refers to the innermost active transaction, even when commit/rollback are called directly on the session transaction object.
- when preparing a two-phase transaction fails on one connection all the connections are rolled back.
- two phase transactions can now be prepared.
- session.close() didn't close all transactions when nested transactions were used.
- rollback() previously erroneously set the current transaction directly to the parent of the transaction that could be rolled back to.
- autoflush for commit() wasn't flushing for simple subtransactions.

17 years ago- Restored 2.3 compat. in lib/sqlalchemy
Jason Kirtland [Sat, 19 Jan 2008 23:37:11 +0000 (23:37 +0000)] 
- Restored 2.3 compat. in lib/sqlalchemy
- Part one of test suite fixes to run on 2.3
  Lots of failures still around sets; sets.Set differs from __builtin__.set
  particularly in the binops. We depend on set extensively now and may need to
  provide a corrected sets.Set subclass on 2.3.

17 years ago- Added source transformation framework for non-2.4 parser implementations
Jason Kirtland [Sat, 19 Jan 2008 23:11:47 +0000 (23:11 +0000)] 
- Added source transformation framework for non-2.4 parser implementations
- test/clone.py can create and update (transformed) copies of the test suite
- Added Python 2.4 decorator -> 2.3 source transform

17 years ago- Oracle assembles the correct columns in the result set
Mike Bayer [Sat, 19 Jan 2008 20:11:29 +0000 (20:11 +0000)] 
- Oracle assembles the correct columns in the result set
  column mapping when generating a LIMIT/OFFSET subquery,
  allows columns to map properly to result sets even
  if long-name truncation kicks in [ticket:941]

17 years ago- some expression fixup:
Mike Bayer [Sat, 19 Jan 2008 18:36:52 +0000 (18:36 +0000)] 
- some expression fixup:
- the '.c.' attribute on a selectable now gets an
entry for every column expression in its columns
clause; previously, "unnamed" columns like functions
and CASE statements weren't getting put there.  Now
they will, using their full string representation
if no 'name' is available.
- The anonymous 'label' generated for otherwise
unlabeled functions and expressions now propagates
outwards at compile time for expressions like
select([select([func.foo()])])
- a CompositeSelect, i.e. any union(), union_all(),
intersect(), etc. now asserts that each selectable
contains the same number of columns.  This conforms
to the corresponding SQL requirement.
- building on the above ideas, CompositeSelects
now build up their ".c." collection based on
the names present in the first selectable only;
corresponding_column() now works fully for all
embedded selectables.

17 years agocheck for session is none, [ticket:940]
Mike Bayer [Thu, 17 Jan 2008 16:24:26 +0000 (16:24 +0000)] 
check for session is none, [ticket:940]

17 years agoUpdated bit about coverage.py
Jason Kirtland [Wed, 16 Jan 2008 23:53:01 +0000 (23:53 +0000)] 
Updated bit about coverage.py

17 years ago- dynamic relations, when referenced, create a strong
Mike Bayer [Wed, 16 Jan 2008 22:06:15 +0000 (22:06 +0000)] 
- dynamic relations, when referenced, create a strong
reference to the parent object so that the query
still has a parent to call against even if the
parent is only created (and otherwise dereferenced)
within the scope of a single expression [ticket:938]

17 years ago- default the root logger level only if unset
Jason Kirtland [Wed, 16 Jan 2008 18:10:08 +0000 (18:10 +0000)] 
- default the root logger level only if unset

17 years agomaintain the ordering of the given collection of columns when reducing so that primar...
Mike Bayer [Tue, 15 Jan 2008 18:33:30 +0000 (18:33 +0000)] 
maintain the ordering of the given collection of columns when reducing so that primary key collections remain
ordered the same as in the mapped table

17 years agoavoid unnecessary mapper.extension copy
Mike Bayer [Tue, 15 Jan 2008 18:21:13 +0000 (18:21 +0000)] 
avoid unnecessary mapper.extension copy

17 years agofinally, a really straightforward reduce() method which reduces cols
Mike Bayer [Tue, 15 Jan 2008 17:59:27 +0000 (17:59 +0000)] 
finally, a really straightforward reduce() method which reduces cols
to the minimal set for every test case I can come up with, and
now replaces all the cruft in Mapper._compile_pks() as well as
Join.__init_primary_key().  mappers can now handle aliased selects
and figure out the correct PKs pretty well [ticket:933]

17 years ago- select_table mapper turns straight join into aliased select + custom PK, to allow
Mike Bayer [Tue, 15 Jan 2008 02:34:17 +0000 (02:34 +0000)] 
- select_table mapper turns straight join into aliased select + custom PK, to allow
joins onto select_table mappers
- starting a generalized reduce_columns func

17 years agoadded more (failing) tests to query, will need to fix [ticket:932] [ticket:933]
Mike Bayer [Mon, 14 Jan 2008 18:50:10 +0000 (18:50 +0000)] 
added more (failing) tests to query, will need to fix [ticket:932] [ticket:933]

17 years ago- query.join() can now accept class-mapped attributes
Mike Bayer [Mon, 14 Jan 2008 04:20:26 +0000 (04:20 +0000)] 
- query.join() can now accept class-mapped attributes
as arguments, which can be used in place or in any
combination with strings.  In particular this allows
construction of joins to subclasses on a polymorphic
relation, i.e.
query(Company).join(['employees', Engineer.name]),
etc.

17 years ago- applying some refined versions of the ideas in the smarter_polymorphic
Mike Bayer [Mon, 14 Jan 2008 02:45:30 +0000 (02:45 +0000)] 
- applying some refined versions of the ideas in the smarter_polymorphic
branch
- slowly moving Query towards a central "aliasing" paradigm which merges
the aliasing of polymorphic mappers to aliasing against arbitrary select_from(),
to the eventual goal of polymorphic mappers which can also eagerload other
relations
- supports many more join() scenarios involving polymorphic mappers in
most configurations
- PropertyAliasedClauses doesn't need "path", EagerLoader doesn't need to
guess about "towrap"

17 years ago- _get_equivalents() converted into a lazy-initializing property; Query was calling it
Mike Bayer [Sun, 13 Jan 2008 19:04:55 +0000 (19:04 +0000)] 
- _get_equivalents() converted into a lazy-initializing property; Query was calling it
for polymorphic loads which is really expensive
- surrogate_mapper adapts the given order_by, so that order_by can be against the mapped
table and is usable for sub-mappers as well.  Query properly calls select_mapper.order_by.

17 years ago- testbase is gone, replaced by testenv
Jason Kirtland [Sat, 12 Jan 2008 22:03:42 +0000 (22:03 +0000)] 
- testbase is gone, replaced by testenv
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts

17 years ago- Undeclared SAWarnings are now fatal to tests as well.
Jason Kirtland [Sat, 12 Jan 2008 04:52:05 +0000 (04:52 +0000)] 
- Undeclared SAWarnings are now fatal to tests as well.
- Fixed typo that was killing runs of individual named tests.

17 years agofixed NOT ILIKE
Mike Bayer [Fri, 11 Jan 2008 21:30:02 +0000 (21:30 +0000)] 
fixed NOT ILIKE

17 years ago- added "ilike()" operator to column operations.
Mike Bayer [Fri, 11 Jan 2008 21:24:01 +0000 (21:24 +0000)] 
- added "ilike()" operator to column operations.
compiles to ILIKE on postgres, lower(x) LIKE lower(y)
on all others [ticket:727]

17 years agoReverted to False Firebird's supports_sane_rowcount
Lele Gaifax [Fri, 11 Jan 2008 15:31:15 +0000 (15:31 +0000)] 
Reverted to False Firebird's supports_sane_rowcount
Slipped in: even if it seems it could be set to True, I'm still testing the rowcount affair

17 years agoTry to reflect also the Sequence on the PK under Firebird
Lele Gaifax [Fri, 11 Jan 2008 15:27:02 +0000 (15:27 +0000)] 
Try to reflect also the Sequence on the PK under Firebird

17 years ago- Warnings are now issued as SAWarning instead of RuntimeWarning; util.warn() wraps...
Jason Kirtland [Fri, 11 Jan 2008 01:28:43 +0000 (01:28 +0000)] 
- Warnings are now issued as SAWarning instead of RuntimeWarning; util.warn() wraps this up.
- SADeprecationWarning has moved to exceptions. An alias remains in logging until 0.5.

17 years agoInclude column name in length-less String warning (more [ticket:912])
Jason Kirtland [Thu, 10 Jan 2008 23:16:56 +0000 (23:16 +0000)] 
Include column name in length-less String warning (more [ticket:912])

17 years ago- unit test for r4048
Mike Bayer [Thu, 10 Jan 2008 22:45:07 +0000 (22:45 +0000)] 
- unit test for r4048

17 years ago- added a mapper() flag "eager_defaults"; when set to
Mike Bayer [Thu, 10 Jan 2008 22:32:51 +0000 (22:32 +0000)] 
- added a mapper() flag "eager_defaults"; when set to
True, defaults that are generated during an INSERT
or UPDATE operation are post-fetched immediately,
instead of being deferred until later.  This mimics
the old 0.3 behavior.

17 years ago- added extra fk override test
Mike Bayer [Thu, 10 Jan 2008 18:05:20 +0000 (18:05 +0000)] 
- added extra fk override test
- proper error message is raised when trying to
access expired instance attributes with no session
present

17 years agoRecognize another Firebird exception in dialect.is_disconnect()
Lele Gaifax [Thu, 10 Jan 2008 17:40:38 +0000 (17:40 +0000)] 
Recognize another Firebird exception in dialect.is_disconnect()

17 years ago- finally added PGMacAddr type to postgres
Mike Bayer [Thu, 10 Jan 2008 15:24:14 +0000 (15:24 +0000)] 
- finally added PGMacAddr type to postgres
[ticket:580]

17 years agoconverted tests to use remote_side and foreign_keys. but...wow these are hard tests..
Mike Bayer [Thu, 10 Jan 2008 06:51:51 +0000 (06:51 +0000)] 
converted tests to use remote_side and foreign_keys.  but...wow these are hard tests..

17 years agoReworked r4042- undeclared deprecation warnings are now *fatal* to tests. No surprises.
Jason Kirtland [Thu, 10 Jan 2008 02:37:39 +0000 (02:37 +0000)] 
Reworked r4042- undeclared deprecation warnings are now *fatal* to tests.  No surprises.

17 years agotest suite deprecation rampage
Jason Kirtland [Wed, 9 Jan 2008 22:54:51 +0000 (22:54 +0000)] 
test suite deprecation rampage

17 years agobump.
Jason Kirtland [Wed, 9 Jan 2008 22:53:33 +0000 (22:53 +0000)] 
bump.

17 years agoformatting, added UnicodeText rel_0_4_2p3
Mike Bayer [Wed, 9 Jan 2008 21:37:42 +0000 (21:37 +0000)] 
formatting, added UnicodeText

17 years agoSilenced deprecation warnings when testing deprecated extensions...
Jason Kirtland [Wed, 9 Jan 2008 20:41:14 +0000 (20:41 +0000)] 
Silenced deprecation warnings when testing deprecated extensions...

17 years agoAdded explicit length to more testing String columns.
Jason Kirtland [Wed, 9 Jan 2008 20:29:04 +0000 (20:29 +0000)] 
Added explicit length to more testing String columns.

17 years agore-bump
Jason Kirtland [Wed, 9 Jan 2008 20:23:53 +0000 (20:23 +0000)] 
re-bump

17 years agoAdded UnicodeText alias
Jason Kirtland [Wed, 9 Jan 2008 20:22:41 +0000 (20:22 +0000)] 
Added UnicodeText alias

17 years ago- fixed bug with session.dirty when using "mutable scalars"
Mike Bayer [Wed, 9 Jan 2008 18:52:35 +0000 (18:52 +0000)] 
- fixed bug with session.dirty when using "mutable scalars"
(such as PickleTypes)

- added a more descriptive error message when flushing on a
relation() that has non-locally-mapped columns in its primary or
secondary join condition

17 years agoredid the _for_ddl String/Text deprecation warning correctly [ticket:912]
Mike Bayer [Wed, 9 Jan 2008 18:09:49 +0000 (18:09 +0000)] 
redid the _for_ddl String/Text deprecation warning correctly [ticket:912]

17 years ago- fixed bug in union() so that select() statements which don't derive
Mike Bayer [Tue, 8 Jan 2008 21:53:37 +0000 (21:53 +0000)] 
- fixed bug in union() so that select() statements which don't derive
from FromClause objects can be unioned

17 years ago- Text type is properly exported now and does not raise a warning
Mike Bayer [Tue, 8 Jan 2008 08:55:18 +0000 (08:55 +0000)] 
- Text type is properly exported now and does not raise a warning
on DDL create

17 years agoFixed reflection of mysql empty string column defaults.
Jason Kirtland [Tue, 8 Jan 2008 07:46:37 +0000 (07:46 +0000)] 
Fixed reflection of mysql empty string column defaults.

17 years agobump
Mike Bayer [Mon, 7 Jan 2008 20:13:29 +0000 (20:13 +0000)] 
bump

17 years agologged [ticket:923] fix rel_0_4_2b
Mike Bayer [Mon, 7 Jan 2008 19:59:23 +0000 (19:59 +0000)] 
logged [ticket:923] fix

17 years agoFix for ticket [923]
Rick Morrison [Mon, 7 Jan 2008 19:33:29 +0000 (19:33 +0000)] 
Fix for ticket [923]

17 years ago- fixed an attribute history bug whereby assigning a new collection
Mike Bayer [Mon, 7 Jan 2008 18:52:02 +0000 (18:52 +0000)] 
- fixed an attribute history bug whereby assigning a new collection
to a collection-based attribute which already had pending changes
would generate incorrect history [ticket:922]

- fixed delete-orphan cascade bug whereby setting the same
object twice to a scalar attribute could log it as an orphan
[ticket:925]
- generative select.order_by(None) / group_by(None) was not managing to
reset order by/group by criterion, fixed [ticket:924]

17 years ago- suppressing *all* errors in InstanceState.__cleanup() now.
Mike Bayer [Sun, 6 Jan 2008 20:41:48 +0000 (20:41 +0000)] 
- suppressing *all* errors in InstanceState.__cleanup() now.

17 years ago- fixed bug which could occur with polymorphic "union" mapper
Mike Bayer [Sun, 6 Jan 2008 20:32:45 +0000 (20:32 +0000)] 
- fixed bug which could occur with polymorphic "union" mapper
which falls back to "deferred" loading of inheriting tables

- the "columns" collection on a mapper/mapped class (i.e. 'c')
is against the mapped table, not the select_table in the
case of polymorphic "union" loading (this shouldn't be
noticeable)

17 years ago- synonyms can now be created against props that don't exist yet,
Mike Bayer [Sat, 5 Jan 2008 23:27:02 +0000 (23:27 +0000)] 
- synonyms can now be created against props that don't exist yet,
which are later added via add_property().  This commonly includes
backrefs. (i.e. you can make synonyms for backrefs without
worrying about the order of operations) [ticket:919]

17 years ago- changed name of TEXT to Text since its a "generic" type; TEXT name is
Mike Bayer [Sat, 5 Jan 2008 22:59:18 +0000 (22:59 +0000)] 
- changed name of TEXT to Text since its a "generic" type; TEXT name is
deprecated until 0.5.  The "upgrading" behavior of String to Text
when no length is present is also deprecated until 0.5; will issue a
warning when used for CREATE TABLE statements (String with no length
for SQL expression purposes is still fine) [ticket:912]