]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years ago- attempted to add a test for #622 / #751, but cant reproduce the failing condition
Mike Bayer [Sun, 14 Oct 2007 16:56:32 +0000 (16:56 +0000)] 
- attempted to add a test for #622 / #751, but cant reproduce the failing condition
- fixed major oracle bug introduced by r3561, since colnames come back as unicode now,
need to encode keys in setinputsizes() step

18 years agoAdded test for DBAPIError exception wrapping.
Jason Kirtland [Sun, 14 Oct 2007 16:31:21 +0000 (16:31 +0000)] 
Added test for DBAPIError exception wrapping.

18 years agoAdjusted zoomark ranges for 2.4 and 2.5.
Jason Kirtland [Sat, 13 Oct 2007 22:18:35 +0000 (22:18 +0000)] 
Adjusted zoomark ranges for 2.4 and 2.5.

18 years agoMoved author comment preventing python 2.3 from importing the module...
Jason Kirtland [Sat, 13 Oct 2007 21:42:08 +0000 (21:42 +0000)] 
Moved author comment preventing python 2.3 from importing the module...

18 years agoSnipped another generator expression.
Jason Kirtland [Sat, 13 Oct 2007 21:37:49 +0000 (21:37 +0000)] 
Snipped another generator expression.

18 years agoConverted errant generator expression.
Jason Kirtland [Sat, 13 Oct 2007 21:22:13 +0000 (21:22 +0000)] 
Converted errant generator expression.

18 years agoAssorted unused imports from pyflakes, docstring tweaks, formatting.
Jason Kirtland [Sat, 13 Oct 2007 21:03:49 +0000 (21:03 +0000)] 
Assorted unused imports from pyflakes, docstring tweaks, formatting.

18 years agoWinnowed __all__ for 'import * from sqlalchemy.engine'
Jason Kirtland [Sat, 13 Oct 2007 20:50:04 +0000 (20:50 +0000)] 
Winnowed __all__ for 'import * from sqlalchemy.engine'

18 years agoUnused imports.
Jason Kirtland [Sat, 13 Oct 2007 20:40:05 +0000 (20:40 +0000)] 
Unused imports.

18 years agoset svn:eol-style native
Jason Kirtland [Sat, 13 Oct 2007 20:35:42 +0000 (20:35 +0000)] 
set svn:eol-style native

18 years agoFixed reference bug in Connect, switched docstring format
Jason Kirtland [Sat, 13 Oct 2007 20:26:24 +0000 (20:26 +0000)] 
Fixed reference bug in Connect, switched docstring format

18 years agoRemoved a tab.
Jason Kirtland [Sat, 13 Oct 2007 20:11:36 +0000 (20:11 +0000)] 
Removed a tab.

18 years ago- sybase cleanups: unused imports, adjusted docstrings, trailing whitespace
Jason Kirtland [Sat, 13 Oct 2007 20:10:14 +0000 (20:10 +0000)] 
- sybase cleanups: unused imports, adjusted docstrings, trailing whitespace
- added sybase dialect test
- added sybase and access to generated docs

18 years agoFix ActiveMapper unit tests
Paul Johnston [Sat, 13 Oct 2007 00:01:11 +0000 (00:01 +0000)] 
Fix ActiveMapper unit tests

18 years agoA few fixes to the access dialect
Paul Johnston [Fri, 12 Oct 2007 23:39:28 +0000 (23:39 +0000)] 
A few fixes to the access dialect

18 years agoMake ActiveMapper use scoped_session instead of SessionContext
Paul Johnston [Fri, 12 Oct 2007 20:53:20 +0000 (20:53 +0000)] 
Make ActiveMapper use scoped_session instead of SessionContext

18 years agoFix broken update/delete queries on MSSQL when tables have a schema
Paul Johnston [Fri, 12 Oct 2007 20:08:54 +0000 (20:08 +0000)] 
Fix broken update/delete queries on MSSQL when tables have a schema

18 years agoMore ORDER BY, now with use_labels.
Jason Kirtland [Fri, 12 Oct 2007 18:08:11 +0000 (18:08 +0000)] 
More ORDER BY, now with use_labels.

18 years ago- Added small DESC exercise to test_order_by.
Jason Kirtland [Fri, 12 Oct 2007 17:46:42 +0000 (17:46 +0000)] 
- Added small DESC exercise to test_order_by.

18 years agofirebird: Fixed reflection for Integer and Numeric (after introducing Float column...
Roger Demetrescu [Fri, 12 Oct 2007 12:53:33 +0000 (12:53 +0000)] 
firebird: Fixed reflection for Integer and Numeric (after introducing Float column type). Need to review 'column_func' from reflecttable() and write some unit tests...

18 years agoFirebird: added Float and Time types (FBFloat and FBTime). Fixed BLOB SUB_TYPE for...
Roger Demetrescu [Fri, 12 Oct 2007 06:02:15 +0000 (06:02 +0000)] 
Firebird: added Float and Time types (FBFloat and FBTime). Fixed BLOB SUB_TYPE for TEXT and Binary types.
Firebird's string types are tested in testtypes.py

18 years agoAdded query coverage for ORDER BY over regular, aliased and DISTINCT columns.
Jason Kirtland [Thu, 11 Oct 2007 22:21:33 +0000 (22:21 +0000)] 
Added query coverage for ORDER BY over regular, aliased and DISTINCT columns.

18 years ago- sqlite housekeeping- added dialect test & moved tests there, pruned the dialect...
Jason Kirtland [Thu, 11 Oct 2007 17:35:13 +0000 (17:35 +0000)] 
- sqlite housekeeping- added dialect test & moved tests there, pruned the dialect's reserved words.

18 years agoapplied patch for pymssql 30-char limit
Rick Morrison [Wed, 10 Oct 2007 22:25:24 +0000 (22:25 +0000)] 
applied patch for pymssql 30-char limit

18 years ago- Expanded JoinTest further, exercising joins the ORM depends on explicitly
Jason Kirtland [Wed, 10 Oct 2007 20:42:58 +0000 (20:42 +0000)] 
- Expanded JoinTest further, exercising joins the ORM depends on explicitly
  in the 'sql' tests.

18 years ago- Fixed oracle 'use_ansi'-via-engine-url handling, added support for 'mode=sysdba...
Jason Kirtland [Wed, 10 Oct 2007 18:49:36 +0000 (18:49 +0000)] 
- Fixed oracle 'use_ansi'-via-engine-url handling, added support for 'mode=sysdba' et al.

18 years agosimilar type optimization for the Interval type
Gaëtan de Menten [Wed, 10 Oct 2007 16:15:29 +0000 (16:15 +0000)] 
similar type optimization for the Interval type

18 years agoMade the PickleType slightly faster.
Gaëtan de Menten [Wed, 10 Oct 2007 15:58:10 +0000 (15:58 +0000)] 
Made the PickleType slightly faster.

18 years agomake two-phase transactions work a bit better by letting psycopg do whatever it does...
Ants Aasma [Wed, 10 Oct 2007 15:38:01 +0000 (15:38 +0000)] 
make two-phase transactions work a bit better by letting psycopg do whatever it does for implicit
transaction starts

18 years agochangelog
Mike Bayer [Wed, 10 Oct 2007 15:28:45 +0000 (15:28 +0000)] 
changelog

18 years ago- initial sybase support checkin, [ticket:785]
Mike Bayer [Wed, 10 Oct 2007 15:19:28 +0000 (15:19 +0000)] 
- initial sybase support checkin, [ticket:785]

18 years ago- fixed Oracle non-ansi join syntax
Mike Bayer [Wed, 10 Oct 2007 02:30:00 +0000 (02:30 +0000)] 
- fixed Oracle non-ansi join syntax

18 years ago- Expanded insert speed test to cover execute as well as executemany
Jason Kirtland [Mon, 8 Oct 2007 18:51:51 +0000 (18:51 +0000)] 
- Expanded insert speed test to cover execute as well as executemany

18 years ago- Cleaned up visit_insert a bit, inserts are ~3% faster now.
Jason Kirtland [Mon, 8 Oct 2007 18:19:02 +0000 (18:19 +0000)] 
- Cleaned up visit_insert a bit, inserts are ~3% faster now.

18 years ago- a better fix for [ticket:810]. The cause was two phase commit/rollback not opening...
Ants Aasma [Mon, 8 Oct 2007 16:11:08 +0000 (16:11 +0000)] 
- a better fix for [ticket:810]. The cause was two phase commit/rollback not opening a new transaction as the dbapi implementations do.

18 years ago- fix multiple consequent two phase transactions not working with postgres. For some...
Ants Aasma [Mon, 8 Oct 2007 15:25:51 +0000 (15:25 +0000)] 
- fix multiple consequent two phase transactions not working with postgres. For some reason implicit transactions are not enough. [ticket:810]
- add an option to scoped session mapper extension to not automatically save new objects to session.

18 years agoFirebird now uses dialect.preparer to format sequences names.
Roger Demetrescu [Mon, 8 Oct 2007 05:07:54 +0000 (05:07 +0000)] 
Firebird now uses dialect.preparer to format sequences names.
UnicodeTest (reflection.py) runs ok now.

18 years ago- Expanded the outer join tests, now covering a situation that looked like it would...
Jason Kirtland [Mon, 8 Oct 2007 03:31:52 +0000 (03:31 +0000)] 
- Expanded the outer join tests, now covering a situation that looked like it would be wonky in oracle.

18 years ago- Loosened up test_cant_execute_join for oracle (probably) + bonus typo fix
Jason Kirtland [Mon, 8 Oct 2007 03:01:04 +0000 (03:01 +0000)] 
- Loosened up test_cant_execute_join for oracle (probably) + bonus typo fix
- Some docstring formatting waiting for pg to finish the tests...  waiting...

18 years ago- Added some outerjoin() execution exercises to the query tests.
Jason Kirtland [Mon, 8 Oct 2007 02:17:07 +0000 (02:17 +0000)] 
- Added some outerjoin() execution exercises to the query tests.

18 years ago- No longer using reserved-ish column names in MutableTypesTest.
Jason Kirtland [Sun, 7 Oct 2007 23:55:59 +0000 (23:55 +0000)] 
- No longer using reserved-ish column names in MutableTypesTest.

18 years ago- Actually fixed that testcascade issue. And friends- looks like a cut-n-paste-o.
Jason Kirtland [Sun, 7 Oct 2007 23:10:14 +0000 (23:10 +0000)] 
- Actually fixed that testcascade issue.  And friends- looks like a cut-n-paste-o.

18 years ago- Fixed bogus testcascade, also made fixture sequences optional.
Jason Kirtland [Sun, 7 Oct 2007 22:43:27 +0000 (22:43 +0000)] 
- Fixed bogus testcascade, also made fixture sequences optional.

18 years ago- Squashed assumption of transparent type coercion support in defaults test
Jason Kirtland [Sun, 7 Oct 2007 21:57:42 +0000 (21:57 +0000)] 
- Squashed assumption of transparent type coercion support in defaults test

18 years ago- Rewrote autoincrement tests: added new scenarios, changed the orm fetchid to explic...
Jason Kirtland [Sun, 7 Oct 2007 18:54:05 +0000 (18:54 +0000)] 
- Rewrote autoincrement tests: added new scenarios, changed the orm fetchid to explicit test of last_row_ids(), and now testing transactional/autocommit modes separately to help catch any subtle issues that may exist due to assumed cursor state during post_exec().

18 years ago- Tweaked unordered select tests to not be sensitive to result set order, also split...
Jason Kirtland [Sun, 7 Oct 2007 02:01:49 +0000 (02:01 +0000)] 
- Tweaked unordered select tests to not be sensitive to result set order, also split apart some tests (aliases) that sapdb has problems with.

18 years ago- fix to anonymous label generation of long table/column names [ticket:806]
Mike Bayer [Sun, 7 Oct 2007 01:58:40 +0000 (01:58 +0000)] 
- fix to anonymous label generation of long table/column names [ticket:806]

18 years agoFirebird dialect now uses SingletonThreadPool as its poolclass.
Roger Demetrescu [Sun, 7 Oct 2007 00:06:05 +0000 (00:06 +0000)] 
Firebird dialect now uses SingletonThreadPool as its poolclass.
(this fixes all "unsuccessful metadata update\n  object XXXXX is in use" test errors)

Minor fixes in tests

18 years ago- oracle does not implicitly convert to unicode for non-typed result
Mike Bayer [Sat, 6 Oct 2007 16:12:58 +0000 (16:12 +0000)] 
- oracle does not implicitly convert to unicode for non-typed result
  sets (i.e. when no TypeEngine/String/Unicode type is even being used;
  previously it was detecting DBAPI types and converting regardless).
  should fix [ticket:800]
- fixed oracle out_parameters, likely broke in beta6
- fixed oracle _normalize_case for encoded names, gets unicode reflection test to work
- a few extra tests tweaked/unsupported for oracle

18 years agoa typo on postgres returning test version check - change <8.4 -> <8.2
Ants Aasma [Sat, 6 Oct 2007 01:31:22 +0000 (01:31 +0000)] 
a typo on postgres returning test version check - change <8.4 -> <8.2

18 years ago- null foreign key on a m2o doesn't trigger a lazyload [ticket:803]
Mike Bayer [Sat, 6 Oct 2007 01:12:19 +0000 (01:12 +0000)] 
- null foreign key on a m2o doesn't trigger a lazyload [ticket:803]
- slight simpliication to mapper.populate_instance()
- lamenting the different codepaths between query._get() and DeferredLoader.lazyload()
- query._get() uses all()[0] for single-row load to avoid complexity of first() (same as LazyLoader)

18 years ago- fixed sqlite reflection of BOOL/BOOLEAN [ticket:808]
Mike Bayer [Fri, 5 Oct 2007 18:14:11 +0000 (18:14 +0000)] 
- fixed sqlite reflection of BOOL/BOOLEAN [ticket:808]

18 years ago- Sequences gain a basic dialect-specific kwargs bucket, like Tables.
Jason Kirtland [Thu, 4 Oct 2007 21:03:29 +0000 (21:03 +0000)] 
- Sequences gain a basic dialect-specific kwargs bucket, like Tables.

18 years agoAdjusted reserved word reflection test for oracle-style identifier dialects. But...
Jason Kirtland [Thu, 4 Oct 2007 18:31:31 +0000 (18:31 +0000)] 
Adjusted reserved word reflection test for oracle-style identifier dialects.  But probably the CheckConstraint part of this test should just be removed, as it's testing a non-extant feature.

18 years ago- Fixed convert_result_value/bind_param compatibility for types without processors.
Jason Kirtland [Thu, 4 Oct 2007 17:47:29 +0000 (17:47 +0000)] 
- Fixed convert_result_value/bind_param compatibility for types without processors.

18 years agoFirebird now passes all tests from /test/engine/reflection.py (except UnicodeTest).
Roger Demetrescu [Thu, 4 Oct 2007 04:26:57 +0000 (04:26 +0000)] 
Firebird now passes all tests from /test/engine/reflection.py (except UnicodeTest).

 * FBDialect now mimics OracleDialect, regarding case-sensitivity of TABLE and COLUMN names
 * FBDialect.table_names() doesn't bring system tables (ticket #796)
 * FB now reflects Column's nullable property correctly.

18 years ago- move PG RETURNING tests to postgres dialect test
Mike Bayer [Thu, 4 Oct 2007 03:19:38 +0000 (03:19 +0000)] 
- move PG RETURNING tests to postgres dialect test
- added server_version_info() support for PG dialect
- exclude PG versions < 8.4 for RETURNING tests

18 years agoMade the regexp detecting the returning token more readable and fixed a couple of...
Ants Aasma [Wed, 3 Oct 2007 01:06:07 +0000 (01:06 +0000)] 
Made the regexp detecting the returning token more readable and fixed a couple of corner cases

18 years agoadd support for returning results from inserts and updates for postgresql 8.2+. ...
Ants Aasma [Tue, 2 Oct 2007 23:57:54 +0000 (23:57 +0000)] 
add support for returning results from inserts and updates for postgresql 8.2+. [ticket:797]

18 years ago- Tweaked the sql.text date test
Jason Kirtland [Tue, 2 Oct 2007 20:58:58 +0000 (20:58 +0000)] 
- Tweaked the sql.text date test

18 years ago- Unraveled DateTest, removed bogus coverage omission for MySQL TIME types
Jason Kirtland [Tue, 2 Oct 2007 20:51:17 +0000 (20:51 +0000)] 
- Unraveled DateTest, removed bogus coverage omission for MySQL TIME types

18 years agoremoved unused _fold_identifier_case method
Mike Bayer [Tue, 2 Oct 2007 15:49:12 +0000 (15:49 +0000)] 
removed unused _fold_identifier_case method

18 years agoSome fixes on reflection tests (firebird):
Roger Demetrescu [Tue, 2 Oct 2007 04:44:20 +0000 (04:44 +0000)] 
Some fixes on reflection tests (firebird):

 * firebird doesn't support create table tablename (columnname type NULL)" syntax (only NOT NULL)
 * firebird doesn't support schemas

18 years ago- The no-arg ResultProxy._row_processor() is now the class attribute
Jason Kirtland [Tue, 2 Oct 2007 01:40:43 +0000 (01:40 +0000)] 
- The no-arg ResultProxy._row_processor() is now the class attribute
  `_process_row`.
- Further tiny cleanups in RoxProxy.

18 years ago- Removed duplicate RowProxy.__len__ definition and some range(0, 1) lint
Jason Kirtland [Tue, 2 Oct 2007 00:02:02 +0000 (00:02 +0000)] 
- Removed duplicate RowProxy.__len__ definition and some range(0, 1) lint

18 years ago- ident passed to id_chooser in shard.py always a list
Mike Bayer [Mon, 1 Oct 2007 19:55:50 +0000 (19:55 +0000)] 
- ident passed to id_chooser in shard.py always a list

18 years agoMake the postgres_where attribute to Index private to postgres module by using a...
Ants Aasma [Mon, 1 Oct 2007 16:29:26 +0000 (16:29 +0000)] 
Make the postgres_where attribute to Index private to postgres module by using a kwargs attribute on the Index.

18 years ago- fixed three- and multi-level select and deferred inheritance
Mike Bayer [Sat, 29 Sep 2007 20:17:40 +0000 (20:17 +0000)] 
- fixed three- and multi-level select and deferred inheritance
  loading (i.e. abc inheritance with no select_table), [ticket:795]

18 years ago- added partial index support for postgres
Ants Aasma [Sat, 29 Sep 2007 06:21:34 +0000 (06:21 +0000)] 
- added partial index support for postgres
- fixed create and drop methods on MockConnection

18 years ago- more docstrings
Mike Bayer [Fri, 28 Sep 2007 17:20:24 +0000 (17:20 +0000)] 
- more docstrings
- Selectable is only used as a marker for FromClause (probably should be
removed/both classes merged)

18 years ago- doc updates. generated sql docs are against sql.expression now.
Mike Bayer [Fri, 28 Sep 2007 16:37:52 +0000 (16:37 +0000)] 
- doc updates.  generated sql docs are against sql.expression now.
- added SessionExtension docs.
- removed old sqlconstruction doc.
- changed 'copy_collections' flag in Select to '_copy_collections'; its
not really "public".

18 years agofirebird doesn't support sane rowcount.
Roger Demetrescu [Fri, 28 Sep 2007 02:43:41 +0000 (02:43 +0000)] 
firebird doesn't support sane rowcount.

18 years ago- Explicitly close connections in the FOR UPDATE tests.
Jason Kirtland [Thu, 27 Sep 2007 23:23:27 +0000 (23:23 +0000)] 
- Explicitly close connections in the FOR UPDATE tests.
- Minor housekeeping.

18 years agoDropped the leading '__' from generated savepoint names, '_' isn't universally allowe...
Jason Kirtland [Thu, 27 Sep 2007 21:27:53 +0000 (21:27 +0000)] 
Dropped the leading '__' from generated savepoint names, '_' isn't universally allowed as an initial character for identifiers.

18 years agobump to beta7, but might become 0.4.0
Mike Bayer [Thu, 27 Sep 2007 17:30:52 +0000 (17:30 +0000)] 
bump to beta7, but might become 0.4.0

18 years ago- The IdentifierPreprarer's _requires_quotes test is now regex based.
Jason Kirtland [Thu, 27 Sep 2007 17:23:41 +0000 (17:23 +0000)] 
- The IdentifierPreprarer's _requires_quotes test is now regex based.
  Any out-of-tree dialects that provide custom sets of legal_characters
  or illegal_initial_characters will need to move to regexes or override
  _requires_quotes.

18 years agozoomark adjustment for the pybot... rel_0_4beta6
Mike Bayer [Thu, 27 Sep 2007 00:28:58 +0000 (00:28 +0000)] 
zoomark adjustment for the pybot...

18 years agotest coverage has been added...
Mike Bayer [Thu, 27 Sep 2007 00:20:17 +0000 (00:20 +0000)] 
test coverage has been added...

18 years ago- adjust server side logic to work with standalone default execution
Mike Bayer [Thu, 27 Sep 2007 00:17:07 +0000 (00:17 +0000)] 
- adjust server side logic to work with standalone default execution
- a little bit of inlining of same

18 years ago- some docstrings for select()
Mike Bayer [Wed, 26 Sep 2007 23:47:55 +0000 (23:47 +0000)] 
- some docstrings for select()
- fixed tutorial doctests to adjust for execution changes, session being weak-referencing
(reloads objects more frequently which get u'' applied to their __repr__())

18 years agoChanged MySQL dialect to use the older LIMIT <offset>, <limit> syntax instead
Jason Kirtland [Wed, 26 Sep 2007 23:37:11 +0000 (23:37 +0000)] 
Changed MySQL dialect to use the older LIMIT <offset>, <limit> syntax instead
of LIMIT <l> OFFSET <o> for folks using 3.23. ([ticket:794], thanks for the
patch!)

18 years agoAvoid tickling the MySQL-python 1.2.2 executemany parsing bug on a couple tests.
Jason Kirtland [Wed, 26 Sep 2007 23:35:14 +0000 (23:35 +0000)] 
Avoid tickling the MySQL-python 1.2.2 executemany parsing bug on a couple tests.

18 years agoadd micro-doc for sequence standalone execution
Mike Bayer [Wed, 26 Sep 2007 23:29:11 +0000 (23:29 +0000)] 
add micro-doc for sequence standalone execution

18 years ago- added "FETCH" to the keywords detected by Postgres to indicate a result-row holding
Mike Bayer [Wed, 26 Sep 2007 20:32:19 +0000 (20:32 +0000)] 
- added "FETCH" to the keywords detected by Postgres to indicate a result-row holding
  statement (i.e. in addition to "SELECT").

18 years agoFormatting tweaks
Jason Kirtland [Wed, 26 Sep 2007 17:40:46 +0000 (17:40 +0000)] 
Formatting tweaks

18 years agofix comment
Mike Bayer [Wed, 26 Sep 2007 17:25:23 +0000 (17:25 +0000)] 
fix comment

18 years ago- created a link between QueryContext and SelectionContext; the attribute
Mike Bayer [Wed, 26 Sep 2007 17:08:19 +0000 (17:08 +0000)] 
- created a link between QueryContext and SelectionContext; the attribute
dictionary of QueryContext is now passed to SelectionContext inside
of Query.instances(), allowing messages to be passed between the two stages.
- removed the recent "exact match" behavior of Alias objects, they're back to
their usual behavior.
- tightened up the relationship between the Query's generation
  of "eager load" aliases, and Query.instances() which actually grabs the
  eagerly loaded rows.  If the aliases were not specifically generated for
  that statement by EagerLoader, the EagerLoader will not take effect
  when the rows are fetched.  This prevents columns from being grabbed accidentally
  as being part of an eager load when they were not meant for such, which can happen
  with textual SQL as well as some inheritance situations.  It's particularly important
  since the "anonymous aliasing" of columns uses simple integer counts now to generate
  labels.

18 years agoTightened up time measurement.
Jason Kirtland [Wed, 26 Sep 2007 16:13:43 +0000 (16:13 +0000)] 
Tightened up time measurement.

18 years ago- the behavior of String/Unicode types regarding that they auto-convert
Mike Bayer [Wed, 26 Sep 2007 14:55:44 +0000 (14:55 +0000)] 
- the behavior of String/Unicode types regarding that they auto-convert
  to TEXT/CLOB when no length is present now occurs *only* for an exact type
  of String or Unicode with no arguments.  If you use VARCHAR or NCHAR
  (subclasses of String/Unicode) with no length, they will be interpreted
  by the dialect as VARCHAR/NCHAR; no "magic" conversion happens there.
  This is less surprising behavior and in particular this helps Oracle keep
  string-based bind parameters as VARCHARs and not CLOBs [ticket:793].

18 years ago- columns from Alias objects, when used to target result-row columns, must match...
Mike Bayer [Mon, 24 Sep 2007 19:27:52 +0000 (19:27 +0000)] 
- columns from Alias objects, when used to target result-row columns, must match exactly
  to the label used in the generated statement.  This is so searching for columns in a
  result row which match aliases won't accidentally match non-aliased columns.
  fixes errors which can arise in eager loading scenarios.

18 years ago- added session.is_modified(obj) method; performs the same "history" comparison operation
Mike Bayer [Mon, 24 Sep 2007 14:51:23 +0000 (14:51 +0000)] 
- added session.is_modified(obj) method; performs the same "history" comparison operation
  as occurs within a flush operation; setting include_collections=False gives the same
  result as is used when the flush determines whether or not to issue an UPDATE for the
  instance's row.

18 years agoadded test coverage for r3512
Mike Bayer [Mon, 24 Sep 2007 13:51:44 +0000 (13:51 +0000)] 
added test coverage for r3512

18 years agofound an errant 2-tuple...
Mike Bayer [Mon, 24 Sep 2007 13:43:38 +0000 (13:43 +0000)] 
found an errant 2-tuple...

18 years agofixed session extension bug [ticket:757]
Mike Bayer [Sat, 22 Sep 2007 18:32:59 +0000 (18:32 +0000)] 
fixed session extension bug [ticket:757]

18 years agofixed firebird visit_alias [ticket:779]
Mike Bayer [Sat, 22 Sep 2007 18:13:23 +0000 (18:13 +0000)] 
fixed firebird visit_alias [ticket:779]

18 years agoAdded.
Jason Kirtland [Sat, 22 Sep 2007 18:03:27 +0000 (18:03 +0000)] 
Added.

18 years ago- added "schema" argument to Sequence; use this with Postgres /Oracle when the sequen...
Mike Bayer [Sat, 22 Sep 2007 17:14:15 +0000 (17:14 +0000)] 
- added "schema" argument to Sequence; use this with Postgres /Oracle when the sequence is
  located in an alternate schema.  Implements part of [ticket:584], should fix [ticket:761].

18 years ago- merged sa_entity branch. the big change here is the attributes system
Mike Bayer [Sat, 22 Sep 2007 16:55:36 +0000 (16:55 +0000)] 
- merged sa_entity branch.  the big change here is the attributes system
deals primarily with the InstanceState and almost never with the instrumented object
directly.  This reduces lookups and complexity since we need the state for just about
everything, now its the one place for everything internally.
we also merged the new weak referencing identity map, which will go out in beta6 and
we'll see how that goes !

18 years ago- added 'comparator' keyword argument to PickleType. By default, "mutable"
Mike Bayer [Sat, 22 Sep 2007 15:55:02 +0000 (15:55 +0000)] 
- added 'comparator' keyword argument to PickleType.  By default, "mutable"
  PickleType does a "deep compare" of objects using their dumps() representation.
  But this doesn't work for dictionaries.  Pickled objects which provide an
  adequate __eq__() implementation can be set up with "PickleType(comparator=operator.eq)"
  [ticket:560]

18 years agoDon't use unicode with pyodbc on UCS-4 platforms [ticket:787]
Paul Johnston [Wed, 19 Sep 2007 21:46:24 +0000 (21:46 +0000)] 
Don't use unicode with pyodbc on UCS-4 platforms [ticket:787]