]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years agosome ms/odbc fixes
Mike Bayer [Sun, 28 Feb 2010 21:29:20 +0000 (21:29 +0000)] 
some ms/odbc fixes

15 years agocallcounts
Mike Bayer [Sun, 28 Feb 2010 20:46:06 +0000 (20:46 +0000)] 
callcounts

15 years agosupport scale argument for the C implementation of the decimal processor
Gaëtan de Menten [Sun, 28 Feb 2010 20:39:49 +0000 (20:39 +0000)] 
support scale argument for the C implementation of the decimal processor

15 years agofix echo test
Mike Bayer [Sun, 28 Feb 2010 20:15:19 +0000 (20:15 +0000)] 
fix echo test

15 years ago- simplify the OurSQL dialect regarding py3k, this version gives it a fairly
Mike Bayer [Sun, 28 Feb 2010 20:12:43 +0000 (20:12 +0000)] 
- simplify the OurSQL dialect regarding py3k, this version gives it a fairly
fighting chance on python 3.  there's an oursql bug where it can't raise
an exception on executemany() correctly.
- needed to add "plain_query" wrappers for all the reflection methods.  not sure
why this was not needed earlier.

15 years ago- orm: Removed a lot of logging that nobody really cares about,
Mike Bayer [Sun, 28 Feb 2010 17:43:10 +0000 (17:43 +0000)] 
- orm: Removed a lot of logging that nobody really cares about,
logging that remains will respond to live changes in the
log level.  No significant overhead is added.  [ticket:1719]
- engine: Opened up logging a bit such that isEnabledFor() is called
more often, so that changes to the log level for engine/pool
will be reflected on next connect.   This adds a small
amount of method call overhead.  It's negligible and will make
life a lot easier for all those situations when logging
just happens to be configured after create_engine() is called.
[ticket:1719]

15 years agoCorrected docs on create_engine to link to DBEngine Logging docs. Fixes #1721.
Michael Trier [Sun, 28 Feb 2010 17:05:20 +0000 (17:05 +0000)] 
Corrected docs on create_engine to link to DBEngine Logging docs. Fixes #1721.

15 years ago- make tuple a little more friendly
Mike Bayer [Sun, 28 Feb 2010 16:46:42 +0000 (16:46 +0000)] 
- make tuple a little more friendly

15 years agoComments in oursql cause 2to3 to fail.
Michael Trier [Sun, 28 Feb 2010 02:59:04 +0000 (02:59 +0000)] 
Comments in oursql cause 2to3 to fail.

15 years agoMore work to link in the function names to the API docs. Refs #1703.
Michael Trier [Sun, 28 Feb 2010 01:18:17 +0000 (01:18 +0000)] 
More work to link in the function names to the API docs. Refs #1703.

15 years agofurther numeric fixes
Mike Bayer [Sat, 27 Feb 2010 20:10:03 +0000 (20:10 +0000)] 
further numeric fixes

15 years agoworking on pyodbc / mxodbc
Mike Bayer [Sat, 27 Feb 2010 20:03:33 +0000 (20:03 +0000)] 
working on pyodbc / mxodbc

15 years agosome todos
Mike Bayer [Sat, 27 Feb 2010 17:53:00 +0000 (17:53 +0000)] 
some todos

15 years agothe "in" was IN-tentional, ha ha
Mike Bayer [Sat, 27 Feb 2010 17:06:34 +0000 (17:06 +0000)] 
the "in" was IN-tentional, ha ha

15 years agoA few cleanups of the mxodbc dialect.
Michael Trier [Sat, 27 Feb 2010 02:56:27 +0000 (02:56 +0000)] 
A few cleanups of the mxodbc dialect.

15 years ago- threadlocal engine wasn't properly closing the connection
Mike Bayer [Sat, 27 Feb 2010 00:44:26 +0000 (00:44 +0000)] 
- threadlocal engine wasn't properly closing the connection
upon close() - fixed that.
- Transaction object doesn't rollback or commit if it isn't
"active", allows more accurate nesting of begin/rollback/commit.
- Added basic support for mxODBC [ticket:1710].
- Python unicode objects as binds result in the Unicode type,
not string, thus eliminating a certain class of unicode errors
on drivers that don't support unicode binds.

15 years agoAdded CHANGES info to document bind parameter change.
Michael Trier [Fri, 26 Feb 2010 19:27:26 +0000 (19:27 +0000)] 
Added CHANGES info to document bind parameter change.

15 years agoChanged bind parameters to be passed as a tuple. Some drivers don't like to receive...
Michael Trier [Fri, 26 Feb 2010 19:05:00 +0000 (19:05 +0000)] 
Changed bind parameters to be passed as a tuple. Some drivers don't like to receive a list.

15 years ago- the "scale" argument of the Numeric() type is honored when
Mike Bayer [Fri, 26 Feb 2010 17:50:34 +0000 (17:50 +0000)] 
- the "scale" argument of the Numeric() type is honored when
coercing a returned floating point value into a string
on its way to Decimal - this allows accuracy to function
on SQLite, MySQL.  [ticket:1717]

15 years agofix unicode warnings
Mike Bayer [Fri, 26 Feb 2010 17:20:10 +0000 (17:20 +0000)] 
fix unicode warnings

15 years agoadd docstring for remove [ticket:1715]
Mike Bayer [Fri, 26 Feb 2010 15:21:07 +0000 (15:21 +0000)] 
add docstring for remove [ticket:1715]

15 years agoMatch tests have been completely wrong.
Michael Trier [Fri, 26 Feb 2010 08:50:04 +0000 (08:50 +0000)] 
Match tests have been completely wrong.

15 years agoCorrected problem with index too large on mysql.
Michael Trier [Fri, 26 Feb 2010 06:30:14 +0000 (06:30 +0000)] 
Corrected problem with index too large on mysql.

15 years ago- merge -r6823:6841 of branches/chrisw_mixin
Mike Bayer [Thu, 25 Feb 2010 23:15:39 +0000 (23:15 +0000)] 
- merge -r6823:6841 of branches/chrisw_mixin
- declarative now accepts mixin classes directly, as a means
to provide common functional and column-based elements on
all subclasses, as well as a means to propagate a fixed
set of __table_args__ or __mapper_args__ to subclasses.
For custom combinations of __table_args__/__mapper_args__ from
an inherited mixin to local, descriptors can now be used.
New details are all up in the Declarative documentation.
Thanks to Chris Withers for putting up with my strife
on this. [ticket:1707]

15 years agomodify the py3k check to check for bytes
Mike Bayer [Thu, 25 Feb 2010 22:58:02 +0000 (22:58 +0000)] 
modify the py3k check to check for bytes

15 years ago- walk back r6851 slightly. Still emit a warning when the Unicode or UnicodeText...
Mike Bayer [Thu, 25 Feb 2010 22:16:34 +0000 (22:16 +0000)] 
- walk back r6851 slightly.  Still emit a warning when the Unicode or UnicodeText type
is passed a bytestring even if the backend accepts unicodes directly.

15 years ago- The assert_unicode flag is deprecated. SQLAlchemy will raise
Mike Bayer [Thu, 25 Feb 2010 22:00:58 +0000 (22:00 +0000)] 
- The assert_unicode flag is deprecated.  SQLAlchemy will raise
a warning in all cases where it is asked to encode a non-unicode
Python string, and will do nothing for DBAPIs that already
accept Python unicode objects.

15 years agoSupport for the mysql+oursql dialect. Thank you Taavi Burns.
Michael Trier [Thu, 25 Feb 2010 10:07:59 +0000 (10:07 +0000)] 
Support for the mysql+oursql dialect. Thank you Taavi Burns.

15 years agoCorrected a lot of mssql test issues related to Binary being deprecated and replaced...
Michael Trier [Thu, 25 Feb 2010 08:37:59 +0000 (08:37 +0000)] 
Corrected a lot of mssql test issues related to Binary being deprecated and replaced with LargeBinary.

15 years agoAdded the ability to strip the schema when using tometadata by passing schema=None...
Michael Trier [Thu, 25 Feb 2010 06:34:37 +0000 (06:34 +0000)] 
Added the ability to strip the schema when using tometadata by passing schema=None as an argument. Fixes #1673.

15 years agoCorrected the py3k docs so that you can properly use python3 to run 2to3. Thanks...
Michael Trier [Thu, 25 Feb 2010 05:23:14 +0000 (05:23 +0000)] 
Corrected the py3k docs so that you can properly use python3 to run 2to3.  Thanks Taavi Burns.

15 years agoCopy paste fail.
Michael Trier [Thu, 25 Feb 2010 00:13:34 +0000 (00:13 +0000)] 
Copy paste fail.

15 years agoFixed binary tests for mssql based on how the new types are being used.
Michael Trier [Wed, 24 Feb 2010 23:25:37 +0000 (23:25 +0000)] 
Fixed binary tests for mssql based on how the new types are being used.

15 years agofix typo
Gaëtan de Menten [Wed, 24 Feb 2010 17:04:11 +0000 (17:04 +0000)] 
fix typo

15 years ago- A major fix in query.join(), when the "on" clause is an
Mike Bayer [Wed, 24 Feb 2010 00:43:09 +0000 (00:43 +0000)] 
- A major fix in query.join(), when the "on" clause is an
attribute of an aliased() construct, but there is already
an existing join made out to a compatible target, query properly
joins to the right aliased() construct instead of sticking
onto the right side of the existing join.  [ticket:1706]

15 years ago- "out" parameters require a type that is supported by
Mike Bayer [Tue, 23 Feb 2010 22:15:09 +0000 (22:15 +0000)] 
- "out" parameters require a type that is supported by
cx_oracle.  An error will be raised if no cx_oracle
type can be found.
- Column() requires a type if it has no foreign keys (this is
not new).  An error is now raised if a Column() has no type
and no foreign keys.  [ticket:1705]

15 years agoadd some py3k caveats
Mike Bayer [Tue, 23 Feb 2010 21:38:39 +0000 (21:38 +0000)] 
add some py3k caveats

15 years ago- Added reflection/create table support for a wide range
Mike Bayer [Tue, 23 Feb 2010 20:50:19 +0000 (20:50 +0000)] 
- Added reflection/create table support for a wide range
of MySQL keywords.  [ticket:1634]

15 years agorename "error" kwarg to "errors" to be consistent with builtin unicode
Gaëtan de Menten [Tue, 23 Feb 2010 20:41:23 +0000 (20:41 +0000)] 
rename "error" kwarg to "errors" to be consistent with builtin unicode
conversion functions.

15 years ago- typos
Mike Bayer [Tue, 23 Feb 2010 20:15:34 +0000 (20:15 +0000)] 
- typos
- type classes have a lot of detail in their constructors

15 years ago- Added "unicode_errors" parameter to String, Unicode, etc.
Mike Bayer [Tue, 23 Feb 2010 19:53:07 +0000 (19:53 +0000)] 
- Added "unicode_errors" parameter to String, Unicode, etc.
Behaves like the 'errors' keyword argument to
the standard library's string.decode() functions.   This flag
requires that `convert_unicode` is set to `"force"` - otherwise,
SQLAlchemy is not guaranteed to handle the task of unicode
conversion.   Note that this flag adds significant performance
overhead to row-fetching operations for backends that already
return unicode objects natively (which most DBAPIs do).  This
flag should only be used as an absolute last resort for reading
strings from a column with varied or corrupted encodings,
which only applies to databases that accept invalid encodings
in the first place (i.e. MySQL. *not* PG, Sqlite, etc.)

15 years agoThe pypostgresql has a problem coercing an array during concatination. Exclude test.
Michael Trier [Tue, 23 Feb 2010 19:29:57 +0000 (19:29 +0000)] 
The pypostgresql has a problem coercing an array during concatination. Exclude test.

15 years agoRemoved the text_as_varchar option in the mssql dialect. It wasn't being used.
Michael Trier [Tue, 23 Feb 2010 17:44:35 +0000 (17:44 +0000)] 
Removed the text_as_varchar option in the mssql dialect. It wasn't being used.

15 years agoa handy @classproperty decorator
Chris Withers [Tue, 23 Feb 2010 17:17:08 +0000 (17:17 +0000)] 
a handy @classproperty decorator

15 years agolong lines
Mike Bayer [Tue, 23 Feb 2010 16:59:40 +0000 (16:59 +0000)] 
long lines

15 years agoMajor cleanup work in the docs to link class names into the API docs. Fixes #1702.
Michael Trier [Tue, 23 Feb 2010 06:15:24 +0000 (06:15 +0000)] 
Major cleanup work in the docs to link class names into the API docs. Fixes #1702.

15 years agoWork around py-postgresql handling of exceptions.
Michael Trier [Tue, 23 Feb 2010 04:39:48 +0000 (04:39 +0000)] 
Work around py-postgresql handling of exceptions.

15 years ago- a change to the previous __mapper_args__ commit.
Mike Bayer [Tue, 23 Feb 2010 00:57:08 +0000 (00:57 +0000)] 
- a change to the previous __mapper_args__ commit.
- the __mapper_args__ dict is copied when propagating to a subclass,
and is taken straight off the class __dict__ to avoid any
propagation from the parent.  mapper inheritance already
propagates the things you want from the parent mapper.
[ticket:1393]

15 years ago- the __mapper_args__ dict is copied when propagating to a subclass.
Mike Bayer [Tue, 23 Feb 2010 00:39:35 +0000 (00:39 +0000)] 
- the __mapper_args__ dict is copied when propagating to a subclass.
Still need to decide how the argument propagation should
work in the bigger picture.  [ticket:1393]

15 years ago- session.merge() will not expire existing scalar attributes
Mike Bayer [Tue, 23 Feb 2010 00:35:56 +0000 (00:35 +0000)] 
- session.merge() will not expire existing scalar attributes
on an existing target if the target has a value for that
attribute, even if the incoming merged doesn't have
a value for the attribute.  This prevents unnecessary loads
on existing items.  Will still mark the attr as expired
if the destination doesn't have the attr, though, which
fulfills some contracts of deferred cols.  [ticket:1681]

- session.merge() works with relations that specifically
don't include "merge" in their cascade options - the target
is ignored completely.

15 years agoChanged the py-postgresql dialect to indicate that it is using the pyformat parameter...
Michael Trier [Tue, 23 Feb 2010 00:27:37 +0000 (00:27 +0000)] 
Changed the py-postgresql dialect to indicate that it is using the pyformat parameter style.

15 years agoModified unittests docs to explain that --first-package-wins=True is required on...
Michael Trier [Tue, 23 Feb 2010 00:27:34 +0000 (00:27 +0000)] 
Modified unittests docs to explain that --first-package-wins=True is required on Windows. Also modified the setup.cfg to add this option so that if using the default config there will be consistent behavior on all platforms.

15 years ago- The "allow_null_pks" flag is now called "allow_partial_pks",
Mike Bayer [Mon, 22 Feb 2010 23:53:35 +0000 (23:53 +0000)] 
- The "allow_null_pks" flag is now called "allow_partial_pks",
defaults to True, acts like it did in 0.5 again.  Except,
it also is implemented within merge() such that a SELECT
won't be issued for an incoming instance with partially
NULL primary key if the flag is False.  [ticket:1680]

15 years agoThe py-postgresql dialect supports raw python.
Michael Trier [Mon, 22 Feb 2010 22:54:35 +0000 (22:54 +0000)] 
The py-postgresql dialect supports raw python.

15 years ago- DeclarativeMeta exclusively uses cls.__dict__ (not dict_)
Mike Bayer [Mon, 22 Feb 2010 22:31:49 +0000 (22:31 +0000)] 
- DeclarativeMeta exclusively uses cls.__dict__ (not dict_)
as the source of class information; _as_declarative exclusively
uses the  dict_ passed to it as the source of class information
(which when using DeclarativeMeta is cls.__dict__).  This should
in theory make it easier for custom metaclasses to modify
the state passed into _as_declarative.

15 years agoFound another float / Decimal issue that needs to be changed to be consistent on...
Michael Trier [Mon, 22 Feb 2010 22:10:28 +0000 (22:10 +0000)] 
Found another float / Decimal issue that needs to be changed to be consistent on Python2/3.

15 years agoThe py-postgresql dialect now supports sane rowcounts.
Michael Trier [Mon, 22 Feb 2010 21:53:08 +0000 (21:53 +0000)] 
The py-postgresql dialect now supports sane rowcounts.

15 years agoadd import for "random"
Mike Bayer [Mon, 22 Feb 2010 21:33:20 +0000 (21:33 +0000)] 
add import for "random"

15 years ago- added util.portable_instancemethod to provide a quick way to make an instancemethod...
Mike Bayer [Mon, 22 Feb 2010 20:37:44 +0000 (20:37 +0000)] 
- added util.portable_instancemethod to provide a quick way to make an instancemethod "serializable"
- SchemaType and subclasses Boolean, Enum are now serializable,
including their ddl listener and other event callables.
[ticket:1694] [ticket:1698]
- AddConstraint/DropConstraint use the wrapper for _create_rule
- added test coverage for AddConstraint override of _create_rule

15 years agoFixed up the pypostgresql PGNumeric bind_processor to convert input to a string.
Michael Trier [Mon, 22 Feb 2010 20:24:06 +0000 (20:24 +0000)] 
Fixed up the pypostgresql PGNumeric bind_processor to convert input to a string.

15 years agoCorrected dbengine.rst file to properly render nested lists. Thank you Diana Clarke...
Michael Trier [Mon, 22 Feb 2010 19:42:52 +0000 (19:42 +0000)] 
Corrected dbengine.rst file to properly render nested lists.  Thank you Diana Clarke. Fixes #1700.

15 years ago- Composite PK table on InnoDB where the "autoincrement" column
Mike Bayer [Mon, 22 Feb 2010 19:28:25 +0000 (19:28 +0000)] 
- Composite PK table on InnoDB where the "autoincrement" column
isn't first will emit an explicit "KEY" phrase within
CREATE TABLE thereby avoiding errors, [ticket:1496]

15 years agoFixed native unicode test to work with pypostgresql.
Michael Trier [Mon, 22 Feb 2010 19:03:44 +0000 (19:03 +0000)] 
Fixed native unicode test to work with pypostgresql.

15 years agoAdded a basic .hgignore file.
Michael Trier [Mon, 22 Feb 2010 17:46:21 +0000 (17:46 +0000)] 
Added a basic .hgignore file.

15 years agofix a typo, [ticket:1662]
Mike Bayer [Mon, 22 Feb 2010 17:24:49 +0000 (17:24 +0000)] 
fix a typo, [ticket:1662]

15 years agoPython 3 changes the round to return a Decimal not a float.
Michael Trier [Mon, 22 Feb 2010 17:08:30 +0000 (17:08 +0000)] 
Python 3 changes the round to return a Decimal not a float.

15 years agoFixed up the pypostgresql dialect so it appears in __init__.
Michael Trier [Mon, 22 Feb 2010 17:08:26 +0000 (17:08 +0000)] 
Fixed up the pypostgresql dialect so it appears in __init__.

15 years agogeneralized "test all the picklers" iterator works cross platform
Mike Bayer [Mon, 22 Feb 2010 16:35:35 +0000 (16:35 +0000)] 
generalized "test all the picklers" iterator works cross platform

15 years agoincrease the timeout here to accommodate slowness on the buildbot
Mike Bayer [Mon, 22 Feb 2010 16:17:57 +0000 (16:17 +0000)] 
increase the timeout here to accommodate slowness on the buildbot

15 years agoclean up some skips, added skip for sqlite + python2
Mike Bayer [Sun, 21 Feb 2010 21:26:11 +0000 (21:26 +0000)] 
clean up some skips, added skip for sqlite + python2

15 years agoextract fix
Mike Bayer [Sun, 21 Feb 2010 20:20:44 +0000 (20:20 +0000)] 
extract fix

15 years agoFixed cPickle problem in Python3.
Michael Trier [Sat, 20 Feb 2010 23:08:18 +0000 (23:08 +0000)] 
Fixed cPickle problem in Python3.

15 years agomore py3k fixes
Mike Bayer [Sat, 20 Feb 2010 23:02:08 +0000 (23:02 +0000)] 
more py3k fixes

15 years agoremove __cmp__, move to __lt__ , __eq__ per http://docs.python.org/dev/3.0/whatsnew...
Mike Bayer [Sat, 20 Feb 2010 21:44:48 +0000 (21:44 +0000)] 
remove __cmp__, move to __lt__ , __eq__ per http://docs.python.org/dev/3.0/whatsnew/3.0.html#ordering-comparisons

15 years agoanother weird nose + py3k fix
Mike Bayer [Sat, 20 Feb 2010 20:16:18 +0000 (20:16 +0000)] 
another weird nose + py3k fix

15 years agounicode fix that gets around nose's stringio usage
Mike Bayer [Sat, 20 Feb 2010 19:51:53 +0000 (19:51 +0000)] 
unicode fix that gets around nose's stringio usage

15 years agocallcounts
Mike Bayer [Tue, 16 Feb 2010 23:42:06 +0000 (23:42 +0000)] 
callcounts

15 years ago- Fixed cascade bug in many-to-one relation() when attribute
Mike Bayer [Tue, 16 Feb 2010 23:33:20 +0000 (23:33 +0000)] 
- Fixed cascade bug in many-to-one relation() when attribute
was set to None, introduced in r6711 (cascade deleted
items into session during add()).

15 years ago- A change to the solution for [ticket:1579] - an end-user
Mike Bayer [Tue, 16 Feb 2010 19:47:54 +0000 (19:47 +0000)] 
- A change to the solution for [ticket:1579] - an end-user
defined bind parameter name that directly conflicts with
a column-named bind generated directly from the SET or
VALUES clause of an update/insert generates a compile error.
This reduces call counts and eliminates some cases where
undesirable name conflicts could still occur.

15 years agotighten up conditionals a bit. this method is still doing too much, i.e. the whole...
Mike Bayer [Tue, 16 Feb 2010 18:00:41 +0000 (18:00 +0000)] 
tighten up conditionals a bit.  this method is still doing too much, i.e. the whole pre-visit step is pricey.

15 years agosilliness
Mike Bayer [Tue, 16 Feb 2010 16:45:27 +0000 (16:45 +0000)] 
silliness

15 years agoget tests to pass for OurSQL
Mike Bayer [Mon, 15 Feb 2010 23:59:42 +0000 (23:59 +0000)] 
get tests to pass for OurSQL

15 years agopg8000 doesn't seem to support this either
Mike Bayer [Mon, 15 Feb 2010 23:39:39 +0000 (23:39 +0000)] 
pg8000 doesn't seem to support this either

15 years agosome more 2.4 test fixes
Mike Bayer [Mon, 15 Feb 2010 22:37:37 +0000 (22:37 +0000)] 
some more 2.4 test fixes

15 years ago2.6.4 has higher numbers for some reason here
Mike Bayer [Mon, 15 Feb 2010 21:33:08 +0000 (21:33 +0000)] 
2.6.4 has higher numbers for some reason here

15 years ago2.4 fix
Mike Bayer [Mon, 15 Feb 2010 19:17:09 +0000 (19:17 +0000)] 
2.4 fix

15 years agoexclude this test for everyone but sqlite
Mike Bayer [Mon, 15 Feb 2010 19:09:21 +0000 (19:09 +0000)] 
exclude this test for everyone but sqlite

15 years agoupdate call counts
Mike Bayer [Mon, 15 Feb 2010 18:59:21 +0000 (18:59 +0000)] 
update call counts

15 years agomore cleanup
Mike Bayer [Mon, 15 Feb 2010 00:26:04 +0000 (00:26 +0000)] 
more cleanup

15 years agoGave the "state" internals a good solid
Mike Bayer [Sun, 14 Feb 2010 23:43:40 +0000 (23:43 +0000)] 
Gave the "state" internals a good solid
cleanup with less complexity, datamembers,
method calls, blank dictionary creates.

15 years ago- fix C version of rowproxy pickling so that it pickles to the same format
Gaëtan de Menten [Sun, 14 Feb 2010 21:21:40 +0000 (21:21 +0000)] 
- fix C version of rowproxy pickling so that it pickles to the same format
  as the Python version.
- changelog my earlier processor optimization work

15 years agofixed a huge bug in the C version of the unicode processor
Gaëtan de Menten [Sun, 14 Feb 2010 20:55:06 +0000 (20:55 +0000)] 
fixed a huge bug in the C version of the unicode processor

15 years ago- Further fixes for the mysql-connector dialect. [ticket:1668]
Mike Bayer [Sun, 14 Feb 2010 20:24:15 +0000 (20:24 +0000)] 
- Further fixes for the mysql-connector dialect.  [ticket:1668]

15 years agoI'm seeing lower numbers from the objselectspeed.py test, so bumping down the lower...
Mike Bayer [Sun, 14 Feb 2010 20:10:48 +0000 (20:10 +0000)] 
I'm seeing lower numbers from the objselectspeed.py test, so bumping down the lower bounds here.

15 years agolinking some API elements. this is a long job that I don't know how to speed up
Mike Bayer [Sun, 14 Feb 2010 19:45:03 +0000 (19:45 +0000)] 
linking some API elements.  this is a long job that I don't know how to speed up

15 years agorepair all doctests
Mike Bayer [Sun, 14 Feb 2010 19:29:18 +0000 (19:29 +0000)] 
repair all doctests

15 years ago- query.one() no longer applies LIMIT to the query, this to
Mike Bayer [Sun, 14 Feb 2010 19:23:35 +0000 (19:23 +0000)] 
- query.one() no longer applies LIMIT to the query, this to
ensure that it fully counts all object identities present
in the result, even in the case where joins may conceal
multiple identities for two or more rows.  As a bonus,
one() can now also be called with a query that issued
from_statement() to start with since it no longer modifies
the query.  [ticket:1688]

15 years agoadd a note
Mike Bayer [Sun, 14 Feb 2010 18:40:51 +0000 (18:40 +0000)] 
add a note

15 years agotry to clarify intent some more
Mike Bayer [Sun, 14 Feb 2010 18:39:39 +0000 (18:39 +0000)] 
try to clarify intent some more

15 years ago- Added an optional C extension to speed up the sql layer by
Gaëtan de Menten [Sat, 13 Feb 2010 22:53:39 +0000 (22:53 +0000)] 
- Added an optional C extension to speed up the sql layer by
  reimplementing the highest impact functions.
  The actual speedups will depend heavily on your DBAPI and
  the mix of datatypes used in your tables, and can vary from
  a 50% improvement to more than 200%. It also provides a modest
  (~20%) indirect improvement to ORM speed for large queries.
  Note that it is *not* built/installed by default.
  See README for installation instructions.

- The most common result processors conversion function were
  moved to the new "processors" module.  Dialect authors are
  encouraged to use those functions whenever they correspond
  to their needs instead of implementing custom ones.