]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- adjust the previous checkin a bit. need to transfer sequences over from pickle
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Mar 2011 21:38:54 +0000 (17:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Mar 2011 21:38:54 +0000 (17:38 -0400)
commitde529fb81cc80cd49666a80ef60de6015ff81c1c
tree6bc932d2f4afef8b09fcee19cb324bdb1d61e14b
parent93da3087f1a068018a3c5a67f61dbbfa5178bdf0
- adjust the previous checkin a bit.  need to transfer sequences over from pickle
even if they are *not* restated.  its necessary here to do a "replacement"
scheme when an incoming sequence replaces the previous.  Theoretically
we could do what Table does here, i.e. use a singleton constructor, but
this is heavyhanded.   The most recent sequence placed in is the winner
is likely the most expected behavior.
lib/sqlalchemy/engine/ddl.py
lib/sqlalchemy/schema.py
test/sql/test_metadata.py