Branches

rel_0_6

View source
rel_0_6
Author Commit Message Labels Comments Date
250+ commits behind master.
Mike Bayer
- update mysql connector python links, #2938
Mike Bayer
- 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
Mike Bayer
css updates to better work with RTD badge
Mike Bayer
- farm out everthing to do with rtd out to the sqlalchemy.org site Conflicts: doc/build/builder/mako.py
Mike Bayer
- merge udpated sql_mode documentation for [ticket:1552] - replace misleading mysql-compatibility chart with newer verbiage from 0.7, 0.8 etc.
Mike Bayer
install updated build system, also disables PDF
Isaac Jurado
Add a hint on the install guide to enable C extensions with pip.
Mike Bayer
pysqlite doc update
Mike Bayer
genindex is 100% valid
Mike Bayer
- rewrite rowcount documentation to be as absolutely clear as possible
Mike Bayer
Add some `Sphinx` paragraph level versions informations markups, such as ``.. versionadded::``, ``.. versionchanged::`` and ``.. deprecated::``.
Mike Bayer
Add some `Sphinx` related version informations paragraph-level markups, such as ``.. versionaddedd::``, ``.. versionchanged::`` and ``.. deprecated::``.
Mike Bayer
Add some basic CSS styles for version informations paragraph markups.
Mike Bayer
Added tag rel_0_6_9 for changeset 80885ab33079a98207b4bf9fd5766fe68462e6a1
Mike Bayer
0.6.9 release prep
Mike Bayer
add diana
Mike Bayer
copyright
Mike Bayer
- some mysql test tweaks ported from 0.7
Mike Bayer
- 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.
Mike Bayer
add doc for with_lockmode(), [ticket:2412]
Mike Bayer
mysql connector python 3k is dev status
Mike Bayer
update the search to call searchindex.js in the latest way sphinx decides we should be, [ticket:2408]
Mike Bayer
fix rtd link
Mike Bayer
integrate new readthedocs/sqla.org doc build
Mike Bayer
fix the genindex, [ticket:2366]
Mike Bayer
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.
Mike Bayer
Added tag 06 for changeset c271d5429705ceb53d3f9cb2929eb23230103409
Mike Bayer
fix one more
Mike Bayer
fix .. note::/ ..warning:: directives which no longer consistently support inline formatting in docutils 0.8
Mike Bayer
backport [ticket:2269] fix from 0.7
Mike Bayer
- [bug] Fixed the error formatting raised when a tuple is inadvertently passed to session.query() [ticket:2297].
Mike Bayer
fix typo [ticket:2334]
Mike Bayer
doc styling rework
Mike Bayer
add an extra style to help with patches
Mike Bayer
- [bug] fixed inappropriate evaluation of user-mapped object in a boolean context within query.get() [ticket:2310].
Mike Bayer
- Cls.column.collate("some collation") now works. [ticket:1776]
Mike Bayer
- 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].
Mike Bayer
- 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]
Mike Bayer
- Fixed bug whereby mapper.order_by attribute would be ignored in the "inner" query within a subquery eager load. [ticket:2287].
Mike Bayer
improved docs on select_from() [ticket:2274]
Mike Bayer
- Adjusted dictlike-polymorphic.py example to apply the CAST such that it works on PG, other databases. [ticket:2266]
Mike Bayer
rollback r990939ba046a, does not apply to 0.6
Mike Bayer
- Fixed ReturningResultProxy for zxjdbc dialect. [ticket:2272]
Mike Bayer
- 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.
Mike Bayer
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].
Mike Bayer
add test for [ticket:2260]
Mike Bayer
fix typo, [ticket:2271]
Mike Bayer
link date/time classes correctly, helps [ticket:2244]
Mike Bayer
- document get_bind(), [ticket:1053] - ensure mapper has "None" default for get_bind()
Mike Bayer
- 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]
Mike Bayer
Backed out changeset e5737a6d896ba54da07c7ffb0bc56121732ade72 - this only applies to 0.7
Mike Bayer
- fix annotation for aliased()
Mike Bayer
- added CURRENT to reserved word list. [ticket:2212]
Mike Bayer
- Fixed OurSQL dialect to use ansi-neutral quote symbol "'" for XA commands instead of '"'. [ticket:2186].
Mike Bayer
- 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]
Mike Bayer
- document query.get(), ObjectDeletedError fully, [ticket:2146]
Mike Bayer
- 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.
Mike Bayer
put a really explicit note about joinedload vs. join, everywhere joinedload() is mentioned
Mike Bayer
- 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]
Mike Bayer
- 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.
Mike Bayer
callcounts being weird
Mike Bayer
- 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]
Mike Bayer
- 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
Mike Bayer
- 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].
Mike Bayer
merge doc patches from default
Mike Bayer
- 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…
Mike Bayer
- fix documentation versions in conf.py, other changes to site layout
Mike Bayer
- Fixed subtle bug that caused SQL to blow up if: column_property() against subquery + joinedload + LIMIT + order by the column property() occurred. [ticket:2188].
Mike Bayer
- Fixed a subtle bug involving column correspondence in a selectable with the same column repeated. Affects [ticket:2188].
Mike Bayer
- 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
Mike Bayer
fix docstring
Mike Bayer
- Added ORA-00028 to disconnect codes, use cx_oracle _Error.code to get at the code, [ticket:2200].
Mike Bayer
- 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].
Mike Bayer
Added tag rel_0_6_8 for changeset 99409a9db3fe4d4e97d429ba9a3a6ecc6d130709
Mike Bayer
style for latest sphinx css
Mike Bayer
- 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]
Mike Bayer
- Fixed bug where transaction-level "deleted" collection wouldn't be cleared of expunged states, raising an error if they later became transient [ticket:2182].
Mike Bayer
put some variance on this as its a difference between 9 and 60 calls
Mike Bayer
- 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].
Mike Bayer
- 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].
Mike Bayer
- 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].
Mike Bayer
- Fixed bug affecting PG 9 whereby index reflection would fail if against a column whose name had changed. [ticket:2141].
Mike Bayer
dont need the DEBUG here messing up the rest of the tests
Mike Bayer
- 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]
Mike Bayer
- 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
Mike Bayer
- 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].
Mike Bayer
- two fn calls reduced on this for some reason.
Mike Bayer
-add some annotation regarding [ticket:2153]
Mike Bayer
- 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]
Mike Bayer
- 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]
Mike Bayer
- 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%
Mike Bayer
- 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]
Mike Bayer
- 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]
Mike Bayer
- add failing test for [ticket:2142]
Mike Bayer
- 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]
Mike Bayer
docuemnt the behavior of get(), part of [ticket:2144]
Mike Bayer
- Calling query.get() against a column-based entity is invalid, this condition now raises a deprecation warning. [ticket:2144]
Mike Bayer
css fix
Mike Bayer
merge doc fixes from 0.7
Mike Bayer
some font changes to match the site style better
Mike Bayer
merge the django index page into 0.6
Mike Bayer
Added tag rel_0_6_7 for changeset bfa8b23ef0bc6e25057c21b6e5722b8c153f20ea
Mike Bayer
0.6.7
Mike Bayer
merge some 0.6 stuff...
Mike Bayer
- a "having" clause would be copied from the inside to the outside query if from_self() were used. [ticket:2130].
Mike Bayer
mrge autoincrement flags
Mike Bayer
- autoincrement flag
Mike Bayer
autoincrement flag
Mike Bayer
this test only on sqlite
Mike Bayer
- Fixed bug where reflection of foreign key created as "REFERENCES <tablename>" without col name would fail. [ticket:2115]
Mike Bayer
- 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]
Mike Bayer
- 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]
Mike Bayer
- add link to concrete base declarative recipe
Mike Bayer
- beef up the "augmenting existing types" section - add docstirngs for everything TypeDecorator [ticket:2086]
Mike Bayer
- and fix the message that was the actual subject of [ticket:2063]
Mike Bayer
- Reworded the exception raised when a flush is attempted of a subclass that is not polymorphic against the supertype. [ticket:2063]
Mike Bayer
- add a note about snapshot isolation [ticket:2078]
Mike Bayer
- 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
Mike Bayer
- some merge or something went wrong here
Mike Bayer
- 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]
Mike Bayer
- 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]
Michael Trier
Added requirements file so docs build properly.
Mike Bayer
whoops, only on SQL server
Mike Bayer
- 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.
Mike Bayer
- 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]
Mike Bayer
- 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]
Mike Bayer
- Firebird - the "implicit_returning" flag on create_engine() is honored if set to False. [ticket:2083]
Mike Bayer
- Fixed the BIT type to allow a "length" parameter, "varying" parameter. Reflection also fixed. [ticket:2073]
Mike Bayer
put a version number on these since the docs will probably go to the site before release
Mike Bayer
- Added accessors to ResultProxy "returns_rows", "is_insert"
Jim Phares
Informix and postgresql reserved words changes -- almost done.
Denise Govindarajan
psycopg2 2.4 no longer accepts % in bind place holders
Taavi Burns
Remove unused import.
Michael Trier
Merge
diana clarke
Corrected a bunch of spelling typos.
Mike Bayer
- Arguments in __mapper_args__ that aren't "hashable" aren't mistaken for always-hashable, possibly-column arguments. [ticket:2091]
Mike Bayer
- 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]
Mike Bayer
- Fix error message referencing old @classproperty name to reference @declared_attr [ticket:2061]
Mike Bayer
- Added an explicit check for the case that the name 'metadata' is used for a column attribute on a declarative class. [ticket:2050]
Mike Bayer
- merge long line clenaup
Mike Bayer
- oursql dialect accepts the same "ssl" arguments in create_engine() as that of MySQLdb. [ticket:2047]
Mike Bayer
- 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]
Mike Bayer
- 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
Mike Bayer
- 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]
Mike Bayer
- 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]
Mike Bayer
- Added an additional libpq message to the list of "disconnect" exceptions, "could not receive data from server" [ticket:2044]
Mike Bayer
- 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]
Mike Bayer
- Also emits the correct WHERE criterion when using single table inheritance. [ticket:2038]
Mike Bayer
- 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]
Mike Bayer
- Added some defs to the resultproxy.c extension so that the extension compiles and runs on Python 2.4. [ticket:2023]
Mike Bayer
- 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]
Mike Bayer
- Added a `name` argument to `Query.subquery()`, to allow a fixed name to be assigned to the alias object. [ticket:2030]
Mike Bayer
- Column.copy(), as used in table.tometadata(), copies the 'doc' attribute. [ticket:2028]
Mike Bayer
then fix the typos
Mike Bayer
- copy 0.7's docs for Session.connection(), Session.execute(), minus the "bind" argument and **kw on connection.
Mike Bayer
merge
Mike Bayer
port rb28ffd5e1fb9 from tip
Mike Bayer
Added tag rel_0_6_6 for changeset 19e6a5c9555edaa1401e5e09ebd3fc1c6561c6d3
Mike Bayer
crappy docs, lets try that again
Mike Bayer
- 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]
Mike Bayer
- add docstrings for _coerce_compared_value
Mike Bayer
- Threadlocal engine returns itself upon begin(), begin_nested(); engine then implements contextmanager methods to allow the "with" statement. [ticket:2004]
Mike Bayer
- CheckConstraint will copy its 'initially', 'deferrable', and '_create_rule' attributes within a copy()/tometadata() [ticket:2000]
Mike Bayer
more 2011
Mike Bayer
2011
Mike Bayer
- 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]
Mike Bayer
- adjust this test for py3k
Mike Bayer
- 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.
Mike Bayer
merge r8343809aca9d, fix for [ticket:2013]
Mike Bayer
- adjustment to r5af852db0056 to allow correct decimal import
Mike Bayer
- Firebird numeric type now checks for Decimal explicitly, lets float() pass right through, thereby allowing special values such as float('inf'). [ticket:2012]
Mike Bayer
finish an unfinished sentence
Mike Bayer
-whitespace removal bonanza
Mike Bayer
- clean up copyright, update for 2011, stamp every file with a consistent tag - AUTHORS file
Mike Bayer
- 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.
Mike Bayer
- 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]
Mike Bayer
- 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.
Mike Bayer
- 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
Mike Bayer
- The versioning example now supports detection of changes in an associated relationship().
Mike Bayer
- 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]
Mike Bayer
- fix broken py3k block
Mike Bayer
changelog
Mike Bayer
- we shouldn't be raising warnings on non-unicode for String type, even if convert_unicode=True
Mike Bayer
- 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
Mike Bayer
- further fixes to no trans in progress, no trans ever for TLEngine, [ticket:1998]
Mike Bayer
various formatting and hyperlinking fixes
Mike Bayer
- 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]
Mike Bayer
- gently push users towards entity name for simple cases
Mike Bayer
- add version selector
Mike Bayer
- merge current 0.6 default branch (0.6.6) to rel_0_6. rel_0_6 branch moves from pre-release to maintenance.
Mike Bayer
merged r6248
Philip Jenvey
test_empty_insert no longer relies on rowcount
Mike Bayer
fix for oracle
Mike Bayer
did away with preexecute_pk_sequences
Mike Bayer
some refinements. would like to try tackling _get_colparams
Philip Jenvey
o handle array results for Binary and tweak test guards for oracle+zxjdbc
Mike Bayer
adding inline where result isnt needed brings it back down
Mike Bayer
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)
Mike Bayer
renamed last_inserted_ids() to inserted_primary_key
Philip Jenvey
skip the examples on jython for now since they have a hard dependency on sqlite
Mike Bayer
- 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
Mike Bayer
some more mssql
Mike Bayer
got test_mssql passing except for those tests that seem to be freetds-related
Mike Bayer
correct / test the autoincrement reflection policy
Mike Bayer
merged -r6204:6233 of trunk
Mike Bayer
added test for reflection with index + missing cols
Mike Bayer
fix log to be util
Philip Jenvey
unused import, rearrange
Mike Bayer
- 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.
Mike Bayer
added test for already fixed case of oracle alias name truncation being applied properly, [ticket:1309]
Mike Bayer
dont assume "returning" is present
Philip Jenvey
move cx_oracle's bind param quoting out of base and its do_release_savepoint into base
Philip Jenvey
avoid unicodedata.normalize when on Java 5
Mike Bayer
fix setuptools command
Mike Bayer
don't create a bind for pk col + sequence if the backend doesn't support sequences
Philip Jenvey
apparently this passes with implicit returning
Philip Jenvey
merge r6218 from trunk
Mike Bayer
improved reduce_columns() to navigate around a CompositeSelect that buries foreign-key holding columns down on later selectables, [ticket:1486]
Mike Bayer
boiled down "rendered_returning" etc. into just "returning"
Philip Jenvey
avoid dumps output comparisons relying on dict ordering on jython
Philip Jenvey
server_version_info for cx_Oracle
Mike Bayer
- 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
Philip Jenvey
initial oracle+zxjdbc support
Philip Jenvey
this is more of a crash
Philip Jenvey
remove unneeded custom ExecutionContext
Mike Bayer
merged -r6172:6204 of trunk
Mike Bayer
preexecute_pk_sequences indicates run the "default" separately to get its value
Philip Jenvey
o move mysqldb's DecimalType behavior out of base o add a BIT result processor for zxjdbc
Philip Jenvey
fix the paramstyle check
Philip Jenvey
reuse NoneType
Philip Jenvey
revert r6184, toggle the jdbc driver's yearIsDateType option instead
Philip Jenvey
mark as failing because zxjdbc relies on SELECT LAST_INSERT_ID()
Philip Jenvey
disable mysqldb's Time type conversion on zxjdb
Philip Jenvey
accommodate zxjdbc's datetime result
Philip Jenvey
grab lastrowid on a different cursor so we don't munge the original's state
Philip Jenvey
adjust select to not assume set order
Philip Jenvey
close cursors
Philip Jenvey
these are unnecessary
Philip Jenvey
make Table doesn't exist detection portable
Philip Jenvey
mysql+zxjdbc guards/allowances
Philip Jenvey
o close connections to avoid maxing out the pool on Jython o make test_charset_caching/test_num/test_expression more portable
Philip Jenvey
add/strengthen guards for concurrent GC
Mike Bayer
merged r6174 of trunk
Mike Bayer
merged -r6134:6172 of trunk
Philip Jenvey
apply the unique __hash__ workaround to all ClauseElements, and only apply it on Jython fixes #1475
Philip Jenvey
defer the heavier plugin setup until begin() when the plugin is definitely enabled
Philip Jenvey
revert the unicode check from r6162, zxjdbc just needs the correct description_encoding fixes #1479
Philip Jenvey
really close connections
Philip Jenvey
close connections
Philip Jenvey
add fails_if for lack of supports_sane_rowcount support
256 commits not shown.