rel_0_6
-
- Loading...
Author | Commit | Message | Date | Builds | ||
---|---|---|---|---|---|---|
250+ commits behind master. | ||||||
- update mysql connector python links,
|
|
|||||
- the pronoun removal commit. there was only one instance of a
standalone gendered pronoun with a gender-neutral subject, but also
have replaced all occurences of "his/her", "his or her", etc. The docs have always
strived to account for both genders in any non-specific singular pronoun,
however recent controversy in the community suggests
that a zero-gendered-pronoun policy is probably best going forward.
Conflicts:
doc/build/changelog/migration_08.rst
doc/build/orm/session.rst
examples/nested_sets/nested_sets.py
Conflicts:
doc/build/changelog/changelog_02.rst
doc/build/orm/session.rst
doc/build/orm/tutorial.rst
examples/beaker_caching/advanced.py
|
|
|||||
css updates to better work with RTD badge
|
|
|||||
- farm out everthing to do with rtd out to the sqlalchemy.org site
Conflicts:
doc/build/builder/mako.py
|
|
|||||
- merge udpated sql_mode documentation for [ticket:1552]
- replace misleading mysql-compatibility chart with newer verbiage from 0.7, 0.8 etc.
|
|
|||||
install updated build system, also disables PDF
|
|
|||||
Add a hint on the install guide to enable C extensions with pip.
|
|
|||||
pysqlite doc update
|
|
|||||
genindex is 100% valid
|
|
|||||
- rewrite rowcount documentation to be as absolutely clear as possible
|
|
|||||
Add some `Sphinx` paragraph level versions informations markups,
such as ``.. versionadded::``, ``.. versionchanged::`` and ``.. deprecated::``.
|
|
|||||
Add some `Sphinx` related version informations paragraph-level markups,
such as ``.. versionaddedd::``, ``.. versionchanged::`` and ``.. deprecated::``.
|
|
|||||
Add some basic CSS styles for version informations paragraph markups.
|
|
|||||
Added tag rel_0_6_9 for changeset 80885ab33079a98207b4bf9fd5766fe68462e6a1
|
|
|||||
0.6.9 release prep
|
|
|||||
add diana
|
|
|||||
copyright
|
|
|||||
- some mysql test tweaks ported from 0.7
|
|
|||||
- Backported the fix for [ticket:2317] introduced
in 0.7.4, which ensures that the connection
is in a valid state before attempting to call
rollback()/prepare()/release() on savepoint
and two-phase transactions.
|
|
|||||
add doc for with_lockmode(), [ticket:2412]
|
|
|||||
mysql connector python 3k is dev status
|
|
|||||
update the search to call searchindex.js in the latest way
sphinx decides we should be, [ticket:2408]
|
|
|||||
fix rtd link
|
|
|||||
integrate new readthedocs/sqla.org doc build
|
|
|||||
fix the genindex, [ticket:2366]
|
|
|||||
add a "jinja2 fallback" renderer for render_string(), which is used for the js/css templates
we don't really care about. not sure if this is going to break again with a newer sphinx
or what, but fixes [ticket:2359] for now.
|
|
|||||
Added tag 06 for changeset c271d5429705ceb53d3f9cb2929eb23230103409
|
|
|||||
fix one more
|
|
|||||
fix .. note::/ ..warning:: directives which no longer consistently
support inline formatting in docutils 0.8
|
|
|||||
backport [ticket:2269] fix from 0.7
|
|
|||||
- [bug] Fixed the error formatting raised when
a tuple is inadvertently passed to session.query()
[ticket:2297].
|
|
|||||
fix typo [ticket:2334]
|
|
|||||
doc styling rework
|
|
|||||
add an extra style to help with patches
|
|
|||||
- [bug] fixed inappropriate evaluation of user-mapped
object in a boolean context within query.get()
[ticket:2310].
|
|
|||||
- Cls.column.collate("some collation") now
works. [ticket:1776]
|
|
|||||
- Fixed bug related to [ticket:2141] whereby the
same modified index behavior in PG 9 affected
primary key reflection on a renamed column.
[ticket:2291].
|
|
|||||
- a CREATE TABLE will put the COLLATE option
after CHARSET, which appears to be part of
MySQL's arbitrary rules regarding if it will actually
work or not. [ticket:2225]
|
|
|||||
- Fixed bug whereby mapper.order_by attribute would
be ignored in the "inner" query within a
subquery eager load. [ticket:2287].
|
|
|||||
improved docs on select_from() [ticket:2274]
|
|
|||||
- Adjusted dictlike-polymorphic.py example
to apply the CAST such that it works on
PG, other databases. [ticket:2266]
|
|
|||||
rollback r990939ba046a, does not apply to 0.6
|
|
|||||
- Fixed ReturningResultProxy for zxjdbc dialect.
[ticket:2272]
|
|
|||||
- Fixed bug whereby with_only_columns() method of
Select would fail if a selectable were passed.
[ticket:2270]. However, the FROM behavior is
still incorrect here, so you need 0.7 in
any case for this use case to be usable.
|
|
|||||
patch from 0.7: Adjusted the "importlater" mechanism, which is
used internally to resolve import cycles,
such that the usage of __import__ is completed
when the import of sqlalchemy or sqlalchemy.orm
is done, thereby avoiding any usage of __import__
after the application starts new threads,
fixes [ticket:2279].
|
|
|||||
add test for [ticket:2260]
|
|
|||||
fix typo, [ticket:2271]
|
|
|||||
link date/time classes correctly, helps [ticket:2244]
|
|
|||||
- document get_bind(), [ticket:1053]
- ensure mapper has "None" default for get_bind()
|
|
|||||
- Fixed bug where query.join() + aliased=True
from a joined-inh structure to itself on
relationship() with join condition on the child
table would convert the lead entity into the
joined one inappropriately. [ticket:2234]
|
|
|||||
Backed out changeset e5737a6d896ba54da07c7ffb0bc56121732ade72 - this only applies to 0.7
|
|
|||||
- fix annotation for aliased()
|
|
|||||
- added CURRENT to reserved word list.
[ticket:2212]
|
|
|||||
- Fixed OurSQL dialect to use ansi-neutral
quote symbol "'" for XA commands instead
of '"'. [ticket:2186].
|
|
|||||
- Fixed bug apparent only in Python 3 whereby
sorting of persistent + pending objects during
flush would produce an illegal comparison,
if the persistent object primary key
is not a single integer. [ticket:2228]
|
|
|||||
- document query.get(), ObjectDeletedError fully, [ticket:2146]
|
|
|||||
- Added an informative error message when
ForeignKeyConstraint refers to a column name in
the parent that is not found.
- add tests for [ticket:2226], as if we hit each @declared_attr
directly with obj.__get__(obj, name) instead of using
getattr(cls, name). Basic inheritance mechanics are improperly
used in this case, so 2226 is invalid.
|
|
|||||
put a really explicit note about joinedload vs. join, everywhere joinedload() is mentioned
|
|
|||||
- Fixed bug whereby the source clause
used by query.join() would be inconsistent
if against a column expression that combined
multiple entities together. [ticket:2197]
|
|
|||||
- repaired the oracle.RAW type which did not
generate the correct DDL. [ticket:2220]
- Fixed bug whereby "warn on unicode" flag
would get set for the String type
when used with certain dialects. This
bug is not in 0.7.
|
|
|||||
callcounts being weird
|
|
|||||
- Fixed bug whereby if a mapped class
redefined __hash__() or __eq__() to something
non-standard, which is a supported use case
as SQLA should never consult these,
the methods would be consulted if the class
was part of a "composite" (i.e. non-single-entity)
result set. [ticket:2215]
|
|
|||||
- add a latex Makefile to texinputs that gets copied on latex build,
ensures pdflatex/latex errors are totally ignored
- fix all SQL/code examples in the inherits doc to be within 79 chars.
will need to do this for all the docs to get pdf to not look crappy.
- add an abspath to the "templates" dir, not sure of the rationale
here but is harmless, [ticket:2211]
- integrate pdf build with site-mako build
|
|
|||||
- The join condition produced by with_parent
as well as when using a "dynamic" relationship
against a parent will generate unique
bindparams, rather than incorrectly repeating
the same bindparam. [ticket:2207].
|
|
|||||
merge doc patches from default
|
|
|||||
- fix pypostgresql typo, [ticket:2185]
- rewrite "getting a session" docs to delineate
all sessionmaker() use cases distinctly
- rewrite "Managing Transactions" doc to spell out
each specific step completely, [ticket:2204]
- add to create_engine() and main "engine" doc
an unambiguous statement that the create_engine()
does not create a connection
- other link fixes
- rewrite "deleting" section so that "deleting from collections"
is sep…
|
|
|||||
- fix documentation versions in conf.py, other changes to site layout
|
|
|||||
- Fixed subtle bug that caused SQL to blow
up if: column_property() against subquery +
joinedload + LIMIT + order by the column
property() occurred. [ticket:2188].
|
|
|||||
- Fixed a subtle bug involving column
correspondence in a selectable with the
same column repeated. Affects [ticket:2188].
|
|
|||||
- the "cascade" section of the session doc was totally screwed up, mappings
used the wrong form, example for cascade_backref used the wrong names.
- rewrite relationship cascade_backrefs doc
|
|
|||||
fix docstring
|
|
|||||
- Added ORA-00028 to disconnect codes, use
cx_oracle _Error.code to get at the code,
[ticket:2200].
|
|
|||||
- Repaired the "no statement condition"
assertion in Query which would attempt
to raise if a generative method were called
after from_statement() were called.
[ticket:2199].
|
|
|||||
Added tag rel_0_6_8 for changeset 99409a9db3fe4d4e97d429ba9a3a6ecc6d130709
|
|
|||||
style for latest sphinx css
|
|
|||||
- Fixed bug whereby DATETIME2 type would fail on
the "adapt" step when used in result sets or
bound parameters. This issue is not in 0.7.
[ticket:2159]
|
|
|||||
- Fixed bug where transaction-level "deleted"
collection wouldn't be cleared of expunged
states, raising an error if they later
became transient [ticket:2182].
|
|
|||||
put some variance on this as its a difference between 9 and 60 calls
|
|
|||||
- Adjusted the __contains__() method of
a RowProxy result row such that no exception
throw is generated internally;
NoSuchColumnError() also will generate its
message regardless of whether or not the column
construct can be coerced to a string.
[ticket:2178].
|
|
|||||
- Some unit test fixes regarding numeric arrays,
MATCH operator. A potential floating-point
inaccuracy issue was fixed, and certain tests
of the MATCH operator only execute within an
EN-oriented locale for now. [ticket:2175].
|
|
|||||
- Modify the text of the message which occurs
when the "identity" key isn't detected on
flush, to include the common cause that
the Column isn't set up to detect
auto-increment correctly; [ticket:2170].
|
|
|||||
- Fixed bug affecting PG 9 whereby index reflection
would fail if against a column whose name
had changed. [ticket:2141].
|
|
|||||
dont need the DEBUG here messing up the rest of the tests
|
|
|||||
- Fixed bug whereby mapper mapped to an anonymous
alias would fail if logging were used, due to
unescaped % sign in the alias name. [ticket:2171]
|
|
|||||
- Fixed bug in MSSQL dialect whereby the aliasing
applied to a schema-qualified table would leak
into enclosing select statements [ticket:2169].
Merge of r9b3bd0601a85 from default
|
|
|||||
- merge 00380cf3c304ea7f1c7397f17b828166364c36ac from default
- Fixed bug whereby nesting a label of a select()
with another label in it would produce incorrect
exported columns. Among other things this would
break an ORM column_property() mapping against
another column_property(). [ticket:2167].
|
|
|||||
- two fn calls reduced on this for some reason.
|
|
|||||
-add some annotation regarding [ticket:2153]
|
|
|||||
- mapper() will ignore non-configured foreign keys
to unrelated tables when determining inherit
condition between parent and child class.
This is equivalent to behavior already
applied to declarative. [ticket:2153]
|
|
|||||
- Fixed bug where determination of "self referential"
relationship would fail with no workaround
for joined-inh subclass related to itself,
or joined-inh subclass related to a subclass
of that with no cols in the sub-sub class
in the join condition. [ticket:2149]
|
|
|||||
- Fixed the error message emitted for "can't
execute syncrule for destination column 'q';
mapper 'X' does not map this column" to
reference the correct mapper. [ticket:2163].
- orm/test_sync.py covers orm/sync.py 100%
|
|
|||||
- Backported 0.7's identity map implementation, which
does not use a mutex around removal. This as some users
were still getting deadlocks despite the adjustments
in 0.6.7; the 0.7 approach that doesn't use a mutex
does not appear to produce "dictionary changed size"
issues, the original rationale for the mutex.
[ticket:2148]
|
|
|||||
- a non_primary mapper will inherit the _identity_class
of the primary mapper. This so that a non_primary
established against a class that's normally in an
inheritance mapping will produce results that are
identity-map compatible with that of the primary
mapper [ticket:2151]
|
|
|||||
- add failing test for [ticket:2142]
|
|
|||||
- Fixed bug whereby if FetchedValue was passed
to column server_onupdate, it would not
have its parent "column" assigned, added
test coverage for all column default assignment
patterns. [ticket:2147]
|
|
|||||
docuemnt the behavior of get(), part of [ticket:2144]
|
|
|||||
- Calling query.get() against a column-based entity is
invalid, this condition now raises a deprecation warning.
[ticket:2144]
|
|
|||||
css fix
|
|
|||||
merge doc fixes from 0.7
|
|
|||||
some font changes to match the site style better
|
|
|||||
merge the django index page into 0.6
|
|
|||||
Added tag rel_0_6_7 for changeset bfa8b23ef0bc6e25057c21b6e5722b8c153f20ea
|
|
|||||
0.6.7
|
|
|||||
f861304
M
|
merge some 0.6 stuff...
|
|
||||
- a "having" clause would be copied from the
inside to the outside query if from_self()
were used. [ticket:2130].
|
|
|||||
297016f
M
|
mrge autoincrement flags
|
|
||||
- autoincrement flag
|
|
|||||
autoincrement flag
|
|
|||||
this test only on sqlite
|
|
|||||
- Fixed bug where reflection of foreign key
created as "REFERENCES <tablename>" without
col name would fail. [ticket:2115]
|
|
|||||
- Some fixes to the state handling regarding
backrefs, typically when autoflush=False, where
the back-referenced collection wouldn't
properly handle add/removes with no net
change. Thanks to Richard Murri for the
test case + patch. [ticket:2123]
|
|
|||||
- The limit/offset keywords to select() as well
as the value passed to select.limit()/offset()
will be coerced to integer. [ticket:2116]
- Oracle dialect adds use_binds_for_limits=False
create_engine() flag, will render the LIMIT/OFFSET
values inline instead of as binds, reported to
modify the execution plan used by Oracle.
[ticket:2116]
|
|
|||||
- add link to concrete base declarative recipe
|
|
|||||
- beef up the "augmenting existing types" section
- add docstirngs for everything TypeDecorator [ticket:2086]
|
|
|||||
- and fix the message that was the actual subject of [ticket:2063]
|
|
|||||
- Reworded the exception raised when a flush
is attempted of a subclass that is not polymorphic
against the supertype. [ticket:2063]
|
|
|||||
- add a note about snapshot isolation [ticket:2078]
|
|
|||||
- Documented SQLite DATE/TIME/DATETIME types.
[ticket:2029]
- add "currentmodule" directive to all the dialect type docs to
ensure users import from the dialect package, not the "base" module
|
|
|||||
- some merge or something went wrong here
|
|
|||||
- Using column names that would require quotes
for the column itself or for a name-generated
bind parameter, such as names with special
characters, underscores, non-ascii characters,
now properly translate bind parameter keys when
talking to cx_oracle. [ticket:2100]
|
|
|||||
- Fixed bug in QueuePool, SingletonThreadPool whereby
connections that were discarded via overflow or periodic
cleanup() were not explicitly closed, leaving garbage
collection to the task instead. This generally only
affects non-reference-counting backends like Jython
and Pypy. Thanks to Jaimy Azle for spotting
this. [ticket:2102]
|
|
|||||
Added requirements file so docs build properly.
|
|
|||||
whoops, only on SQL server
|
|
|||||
- port query options test suite over from 0.7, plus extra test for [ticket:2098]
- apply fix for [ticket:2098] that just checks "if mapper is None". 0.7 has a
more comprehensive rework of this section already.
|
|
|||||
- Rewrote the query used to get the definition of a view,
typically when using the Inspector interface, to
use sys.sql_modules instead of the information schema,
thereby allowing views definitions longer than 4000
characters to be fully returned. [ticket:2071]
|
|
|||||
- The horizontal_shard ShardedSession class accepts the common
Session argument "query_cls" as a constructor argument,
to enable further subclassing of ShardedQuery.
[ticket:2090]
- The Beaker caching example allows a "query_cls" argument
to the query_callable() function. [ticket:2090]
|
|
|||||
- Firebird - the "implicit_returning" flag on create_engine() is
honored if set to False. [ticket:2083]
|
|
|||||
- Fixed the BIT type to allow a "length" parameter, "varying"
parameter. Reflection also fixed. [ticket:2073]
|
|
|||||
put a version number on these since the docs will probably go to the site before release
|
|
|||||
- Added accessors to ResultProxy "returns_rows", "is_insert"
|
|
|||||
Informix and postgresql reserved words changes -- almost done.
|
|
|||||
psycopg2 2.4 no longer accepts % in bind place holders
|
|
|||||
Remove unused import.
|
|
|||||
97f695b
M
|
Merge
|
|
||||
Corrected a bunch of spelling typos.
|
|
|||||
- Arguments in __mapper_args__ that aren't "hashable"
aren't mistaken for always-hashable, possibly-column
arguments. [ticket:2091]
|
|
|||||
- Tightened the iterate vs. remove mutex around the
identity map iteration, attempting to reduce the
chance of an (extremely rare) reentrant gc operation
causing a deadlock. Might remove the mutex in
0.7. [ticket:2087]
|
|
|||||
- Fix error message referencing old @classproperty
name to reference @declared_attr [ticket:2061]
|
|
|||||
- Added an explicit check for the case that the name
'metadata' is used for a column attribute on a
declarative class. [ticket:2050]
|
|
|||||
- merge long line clenaup
|
|
|||||
- oursql dialect accepts the same "ssl" arguments in
create_engine() as that of MySQLdb. [ticket:2047]
|
|
|||||
- A warning is emitted in the unusual case that an
append or similar event on a collection occurs after
the parent object has been dereferenced, which
prevents the parent from being marked as "dirty"
in the session. This will be an exception in 0.7.
[ticket:2046]
|
|
|||||
- figured out the ::autodata directive, can move the docstring for
expression.func into the .py module
- added a note about logging only being checked on new connections,
as one user had this issue awhile back, and I suspect it for
a current ML user issue
|
|
|||||
- The compiler extension now supports overriding the default
compilation of expression._BindParamClause including that
the auto-generated binds within the VALUES/SET clause
of an insert()/update() statement will also use the new
compilation rules. [ticket:2042]
|
|
|||||
- Fixed bug where a column with a SQL or server side default
that was excluded from a mapping with include_properties
or exclude_properties would result in UnmappedColumnError.
[ticket:1995]
|
|
|||||
- Added an additional libpq message to the list of "disconnect"
exceptions, "could not receive data from server"
[ticket:2044]
|
|
|||||
- When explicit sequence execution derives the name
of the auto-generated sequence of a SERIAL column,
which currently only occurs if implicit_returning=False,
now accommodates if the table + column name is greater
than 63 characters using the same logic Postgresql uses.
[ticket:1083]
|
|
|||||
- Also emits the correct WHERE criterion
when using single table inheritance. [ticket:2038]
|
|
|||||
- Fixed bug where "middle" class in a polymorphic hierarchy
would have no 'polymorphic_on' column if it didn't also
specify a 'polymorphic_identity', leading to strange
errors upon refresh, wrong class loaded when querying
from that target. [ticket:2038]
|
|
|||||
- Added some defs to the resultproxy.c extension so that
the extension compiles and runs on Python 2.4.
[ticket:2023]
|
|
|||||
- A warning is emitted when a joined-table inheriting mapper
has no primary keys on the locally mapped table
(but has pks on the superclass table). [ticket:2019]
|
|
|||||
- Added a `name` argument to `Query.subquery()`, to allow
a fixed name to be assigned to the alias object.
[ticket:2030]
|
|
|||||
- Column.copy(), as used in table.tometadata(), copies the
'doc' attribute. [ticket:2028]
|
|
|||||
then fix the typos
|
|
|||||
- copy 0.7's docs for Session.connection(), Session.execute(), minus
the "bind" argument and **kw on connection.
|
|
|||||
0b30fed
M
|
merge
|
|
||||
port rb28ffd5e1fb9 from tip
|
|
|||||
Added tag rel_0_6_6 for changeset 19e6a5c9555edaa1401e5e09ebd3fc1c6561c6d3
|
|
|||||
crappy docs, lets try that again
|
|
|||||
- document implicit_returning feature on create_engine()
- add "Triggers" section to MS-SQL docs describing implicit_returning
flag on both Table and create_engine(). [ticket:1994]
|
|
|||||
- add docstrings for _coerce_compared_value
|
|
|||||
- Threadlocal engine returns itself upon begin(),
begin_nested(); engine then implements contextmanager
methods to allow the "with" statement. [ticket:2004]
|
|
|||||
- CheckConstraint will copy its 'initially', 'deferrable',
and '_create_rule' attributes within a copy()/tometadata()
[ticket:2000]
|
|
|||||
more 2011
|
|
|||||
2011
|
|
|||||
- Fixed bug regarding "subqueryload" strategy whereby
the join would fail if using a multi-level load
of the form from A->joined-subclass->C [ticket:2014]
|
|
|||||
- adjust this test for py3k
|
|
|||||
- sorry, I really don't want metaclass recipes in the main documentation. Don't
want people using them, thinking they're needed in the general case, confused, etc.
The two sections here are moved to the wiki for now.
|
|
|||||
merge r8343809aca9d, fix for [ticket:2013]
|
|
|||||
- adjustment to r5af852db0056 to allow correct decimal import
|
|
|||||
- Firebird numeric type now checks for Decimal explicitly,
lets float() pass right through, thereby allowing
special values such as float('inf'). [ticket:2012]
|
|
|||||
finish an unfinished sentence
|
|
|||||
-whitespace removal bonanza
|
|
|||||
- clean up copyright, update for 2011, stamp every file with
a consistent tag
- AUTHORS file
|
|
|||||
- A little more verbiage to the "primaryjoin" error,
in an unusual condition that the join condition
"works" for viewonly but doesn't work for non-viewonly,
and foreign_keys wasn't used - adds "foreign_keys" to
the suggestion. Also add "foreign_keys" to the
suggestion for the generic "direction" error.
|
|
|||||
- A warning is emitted when version_id_col is specified
on an inheriting mapper when the inherited mapper
already has one, if those column expressions are not
the same. [ticket:1987]
|
|
|||||
- Fixed bug which prevented composite mapped
attributes from being used on a mapped select statement.
[ticket:1997]. Note the workings of composite are slated to
change significantly in 0.7.
|
|
|||||
- merge re3ec59015770 from 0.7, factor out composite test
- "del" doesn't work for composites in 0.6, re-add "mutation" tests which
don't work in 0.7
|
|
|||||
- The versioning example now supports detection of changes
in an associated relationship().
|
|
|||||
- Fixed uow bug whereby expired objects passed to
Session.delete() would not have unloaded references
or collections taken into account when deleting
objects, despite passive_deletes remaining at
its default of False. [ticket:2002]
|
|
|||||
- fix broken py3k block
|
|
|||||
changelog
|
|
|||||
- we shouldn't be raising warnings on non-unicode for String type,
even if convert_unicode=True
|
|
|||||
- fix mssql index bug, regression post 0.6.4
- dont emit unicode warning if _warn_on_bytestring is false, including
for in-python string conversion
|
|
|||||
- further fixes to no trans in progress, no trans ever for TLEngine, [ticket:1998]
|
|
|||||
various formatting and hyperlinking fixes
|
|
|||||
- Threadlocal engine methods rollback(), commit(),
prepare() won't raise if no transaction is in progress;
this was a regression introduced in 0.6. [ticket:1998]
|
|
|||||
- gently push users towards entity name for simple cases
|
|
|||||
- add version selector
|
|
|||||
df3fdba
M
|
- merge current 0.6 default branch (0.6.6) to rel_0_6. rel_0_6 branch
moves from pre-release to maintenance.
|
|
||||
merged r6248
|
|
|||||
test_empty_insert no longer relies on rowcount
|
|
|||||
fix for oracle
|
|
|||||
did away with preexecute_pk_sequences
|
|
|||||
some refinements. would like to try tackling _get_colparams
|
|
|||||
o handle array results for Binary and tweak test guards for oracle+zxjdbc
|
|
|||||
adding inline where result isnt needed brings it back down
|
|
|||||
unfortunately the implicit_returning thing adds call counts to these tests, since
they are single-inserts that just throw the RETURNING away. we have to fetch it now
in order to auto-close. in the real world this will not be an issue (and is not an
issue in the ORM either which always fetches)
|
|
|||||
renamed last_inserted_ids() to inserted_primary_key
|
|
|||||
skip the examples on jython for now since they have a hard dependency on sqlite
|
|
|||||
- allowing resultproxy to autoclose even if implicit returning is used
- for now, lastrowid-capable dialects will use pre-execute for any defaults that arent the real "autoincrement";
currently this is letting us treat MSSQL the same as them but we may want to improve upon this
|
|
|||||
some more mssql
|
|
|||||
got test_mssql passing except for those tests that seem to be freetds-related
|
|
|||||
correct / test the autoincrement reflection policy
|
|
|||||
merged -r6204:6233 of trunk
|
|
|||||
added test for reflection with index + missing cols
|
|
|||||
fix log to be util
|
|
|||||
unused import, rearrange
|
|
|||||
- Databases which rely upon postfetch of "last inserted id" to get at a
generated sequence value (i.e. MySQL, MS-SQL) now work correctly
when there is a composite primary key where the "autoincrement" column
is not the first primary key column in the table.
|
|
|||||
added test for already fixed case of oracle alias name truncation being applied properly, [ticket:1309]
|
|
|||||
dont assume "returning" is present
|
|
|||||
move cx_oracle's bind param quoting out of base and its do_release_savepoint
into base
|
|
|||||
avoid unicodedata.normalize when on Java 5
|
|
|||||
fix setuptools command
|
|
|||||
don't create a bind for pk col + sequence if the backend doesn't support sequences
|
|
|||||
apparently this passes with implicit returning
|
|
|||||
merge r6218 from trunk
|
|
|||||
improved reduce_columns() to navigate around a CompositeSelect that buries foreign-key holding columns down
on later selectables, [ticket:1486]
|
|
|||||
boiled down "rendered_returning" etc. into just "returning"
|
|
|||||
avoid dumps output comparisons relying on dict ordering on jython
|
|
|||||
server_version_info for cx_Oracle
|
|
|||||
- implicit returning support. insert() will use RETURNING to get at primary key values generated via sequence or default if the dialect detects the feature being availble. works for fb+ pg, needs work for oracle, mssql
|
|
|||||
initial oracle+zxjdbc support
|
|
|||||
this is more of a crash
|
|
|||||
remove unneeded custom ExecutionContext
|
|
|||||
merged -r6172:6204 of trunk
|
|
|||||
preexecute_pk_sequences indicates run the "default" separately to get its value
|
|
|||||
o move mysqldb's DecimalType behavior out of base
o add a BIT result processor for zxjdbc
|
|
|||||
fix the paramstyle check
|
|
|||||
reuse NoneType
|
|
|||||
revert r6184, toggle the jdbc driver's yearIsDateType option instead
|
|
|||||
mark as failing because zxjdbc relies on SELECT LAST_INSERT_ID()
|
|
|||||
disable mysqldb's Time type conversion on zxjdb
|
|
|||||
accommodate zxjdbc's datetime result
|
|
|||||
grab lastrowid on a different cursor so we don't munge the original's state
|
|
|||||
adjust select to not assume set order
|
|
|||||
close cursors
|
|
|||||
these are unnecessary
|
|
|||||
make Table doesn't exist detection portable
|
|
|||||
mysql+zxjdbc guards/allowances
|
|
|||||
o close connections to avoid maxing out the pool on Jython
o make test_charset_caching/test_num/test_expression more portable
|
|
|||||
add/strengthen guards for concurrent GC
|
|
|||||
merged r6174 of trunk
|
|
|||||
merged -r6134:6172 of trunk
|
|
|||||
apply the unique __hash__ workaround to all ClauseElements, and only apply it on Jython
fixes #1475
|
|
|||||
defer the heavier plugin setup until begin() when the plugin is definitely
enabled
|
|
|||||
revert the unicode check from r6162, zxjdbc just needs the correct
description_encoding
fixes #1479
|
|
|||||
really close connections
|
|
|||||
close connections
|
|
|||||
add fails_if for lack of supports_sane_rowcount support
|
|
|||||
256 commits not shown. |