View source
rel_0_6
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind master.
Michael Bayer
- update mysql connector python links, #2938
Michael 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
Michael Bayer
css updates to better work with RTD badge
Michael Bayer
- farm out everthing to do with rtd out to the sqlalchemy.org site Conflicts: doc/build/builder/mako.py
Michael Bayer
- merge udpated sql_mode documentation for [ticket:1552] - replace misleading mysql-compatibility chart with newer verbiage from 0.7, 0.8 etc.
Michael Bayer
install updated build system, also disables PDF
Isaac Jurado
Add a hint on the install guide to enable C extensions with pip.
Michael Bayer
pysqlite doc update
Michael Bayer
genindex is 100% valid
Michael Bayer
- rewrite rowcount documentation to be as absolutely clear as possible
Michael Bayer
Add some `Sphinx` paragraph level versions informations markups, such as ``.. versionadded::``, ``.. versionchanged::`` and ``.. deprecated::``.
Michael Bayer
Add some `Sphinx` related version informations paragraph-level markups, such as ``.. versionaddedd::``, ``.. versionchanged::`` and ``.. deprecated::``.
Michael Bayer
Add some basic CSS styles for version informations paragraph markups.
Michael Bayer
Added tag rel_0_6_9 for changeset 80885ab33079a98207b4bf9fd5766fe68462e6a1
Michael Bayer
0.6.9 release prep
Michael Bayer
add diana
Michael Bayer
copyright
Michael Bayer
- some mysql test tweaks ported from 0.7
Michael 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.
Michael Bayer
add doc for with_lockmode(), [ticket:2412]
Michael Bayer
mysql connector python 3k is dev status
Michael Bayer
update the search to call searchindex.js in the latest way sphinx decides we should be, [ticket:2408]
Michael Bayer
fix rtd link
Michael Bayer
integrate new readthedocs/sqla.org doc build
Michael Bayer
fix the genindex, [ticket:2366]
Michael 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.
Michael Bayer
Added tag 06 for changeset c271d5429705ceb53d3f9cb2929eb23230103409
Michael Bayer
fix one more
Michael Bayer
fix .. note::/ ..warning:: directives which no longer consistently support inline formatting in docutils 0.8
Michael Bayer
backport [ticket:2269] fix from 0.7
Michael Bayer
- [bug] Fixed the error formatting raised when a tuple is inadvertently passed to session.query() [ticket:2297].
Michael Bayer
fix typo [ticket:2334]
Michael Bayer
doc styling rework
Michael Bayer
add an extra style to help with patches
Michael Bayer
- [bug] fixed inappropriate evaluation of user-mapped object in a boolean context within query.get() [ticket:2310].
Michael Bayer
- Cls.column.collate("some collation") now works. [ticket:1776]
Michael 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].
Michael 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]
Michael Bayer
- Fixed bug whereby mapper.order_by attribute would be ignored in the "inner" query within a subquery eager load. [ticket:2287].
Michael Bayer
improved docs on select_from() [ticket:2274]
Michael Bayer
- Adjusted dictlike-polymorphic.py example to apply the CAST such that it works on PG, other databases. [ticket:2266]
Michael Bayer
rollback r990939ba046a, does not apply to 0.6
Michael Bayer
- Fixed ReturningResultProxy for zxjdbc dialect. [ticket:2272]
Michael 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.
Michael 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].
Michael Bayer
add test for [ticket:2260]
Michael Bayer
fix typo, [ticket:2271]
Michael Bayer
link date/time classes correctly, helps [ticket:2244]
Michael Bayer
- document get_bind(), [ticket:1053] - ensure mapper has "None" default for get_bind()
Michael 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]
Michael Bayer
Backed out changeset e5737a6d896ba54da07c7ffb0bc56121732ade72 - this only applies to 0.7
Michael Bayer
- fix annotation for aliased()
Michael Bayer
- added CURRENT to reserved word list. [ticket:2212]
Michael Bayer
- Fixed OurSQL dialect to use ansi-neutral quote symbol "'" for XA commands instead of '"'. [ticket:2186].
Michael 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]
Michael Bayer
- document query.get(), ObjectDeletedError fully, [ticket:2146]
Michael 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.
Michael Bayer
put a really explicit note about joinedload vs. join, everywhere joinedload() is mentioned
Michael 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]
Michael 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.
Michael Bayer
callcounts being weird
Michael 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]
Michael 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
Michael 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].
Michael Bayer
merge doc patches from default
Michael 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…
Michael Bayer
- fix documentation versions in conf.py, other changes to site layout
Michael 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].
Michael Bayer
- Fixed a subtle bug involving column correspondence in a selectable with the same column repeated. Affects [ticket:2188].
Michael 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
Michael Bayer
fix docstring
Michael Bayer
- Added ORA-00028 to disconnect codes, use cx_oracle _Error.code to get at the code, [ticket:2200].
Michael 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].
Michael Bayer
Added tag rel_0_6_8 for changeset 99409a9db3fe4d4e97d429ba9a3a6ecc6d130709
Michael Bayer
style for latest sphinx css
Michael 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]
Michael 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].
Michael Bayer
put some variance on this as its a difference between 9 and 60 calls
Michael 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].
Michael 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].
Michael 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].
Michael Bayer
- Fixed bug affecting PG 9 whereby index reflection would fail if against a column whose name had changed. [ticket:2141].
Michael Bayer
dont need the DEBUG here messing up the rest of the tests
Michael 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]
Michael 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
Michael 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].
Michael Bayer
- two fn calls reduced on this for some reason.
Michael Bayer
-add some annotation regarding [ticket:2153]
Michael 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]
Michael 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]
Michael 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%
Michael 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]
Michael 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]
Michael Bayer
- add failing test for [ticket:2142]
Michael 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]
Michael Bayer
docuemnt the behavior of get(), part of [ticket:2144]
Michael Bayer
- Calling query.get() against a column-based entity is invalid, this condition now raises a deprecation warning. [ticket:2144]
Michael Bayer
css fix
Michael Bayer
merge doc fixes from 0.7
Michael Bayer
some font changes to match the site style better
Michael Bayer
merge the django index page into 0.6
Michael Bayer
Added tag rel_0_6_7 for changeset bfa8b23ef0bc6e25057c21b6e5722b8c153f20ea
Michael Bayer
0.6.7
Michael Bayer
merge some 0.6 stuff...
Michael Bayer
- a "having" clause would be copied from the inside to the outside query if from_self() were used. [ticket:2130].
Michael Bayer
mrge autoincrement flags
Michael Bayer
- autoincrement flag
Michael Bayer
autoincrement flag
Michael Bayer
this test only on sqlite
Michael Bayer
- Fixed bug where reflection of foreign key created as "REFERENCES <tablename>" without col name would fail. [ticket:2115]
Michael 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]
Michael 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]
Michael Bayer
- add link to concrete base declarative recipe
Michael Bayer
- beef up the "augmenting existing types" section - add docstirngs for everything TypeDecorator [ticket:2086]
Michael Bayer
- and fix the message that was the actual subject of [ticket:2063]
Michael Bayer
- Reworded the exception raised when a flush is attempted of a subclass that is not polymorphic against the supertype. [ticket:2063]
Michael Bayer
- add a note about snapshot isolation [ticket:2078]
Michael 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
Michael Bayer
- some merge or something went wrong here
Michael 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]
Michael 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.
Michael Bayer
whoops, only on SQL server
Michael 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.
Michael 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]
Michael 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]
Michael Bayer
- Firebird - the "implicit_returning" flag on create_engine() is honored if set to False. [ticket:2083]
Michael Bayer
- Fixed the BIT type to allow a "length" parameter, "varying" parameter. Reflection also fixed. [ticket:2073]
Michael Bayer
put a version number on these since the docs will probably go to the site before release
Michael 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.
Michael Bayer
- Arguments in __mapper_args__ that aren't "hashable" aren't mistaken for always-hashable, possibly-column arguments. [ticket:2091]
Michael 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]
Michael Bayer
- Fix error message referencing old @classproperty name to reference @declared_attr [ticket:2061]
Michael Bayer
- Added an explicit check for the case that the name 'metadata' is used for a column attribute on a declarative class. [ticket:2050]
Michael Bayer
- merge long line clenaup
Michael Bayer
- oursql dialect accepts the same "ssl" arguments in create_engine() as that of MySQLdb. [ticket:2047]
Michael 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]
Michael 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
Michael 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]
Michael 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]
Michael Bayer
- Added an additional libpq message to the list of "disconnect" exceptions, "could not receive data from server" [ticket:2044]
Michael 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]
Michael Bayer
- Also emits the correct WHERE criterion when using single table inheritance. [ticket:2038]
Michael 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]
Michael Bayer
- Added some defs to the resultproxy.c extension so that the extension compiles and runs on Python 2.4. [ticket:2023]
Michael 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]
Michael Bayer
- Added a `name` argument to `Query.subquery()`, to allow a fixed name to be assigned to the alias object. [ticket:2030]
Michael Bayer
- Column.copy(), as used in table.tometadata(), copies the 'doc' attribute. [ticket:2028]
Michael Bayer
then fix the typos
Michael Bayer
- copy 0.7's docs for Session.connection(), Session.execute(), minus the "bind" argument and **kw on connection.
Michael Bayer
merge
Michael Bayer
port rb28ffd5e1fb9 from tip
Michael Bayer
Added tag rel_0_6_6 for changeset 19e6a5c9555edaa1401e5e09ebd3fc1c6561c6d3
Michael Bayer
crappy docs, lets try that again
Michael 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]
Michael Bayer
- add docstrings for _coerce_compared_value
Michael Bayer
- Threadlocal engine returns itself upon begin(), begin_nested(); engine then implements contextmanager methods to allow the "with" statement. [ticket:2004]
Michael Bayer
- CheckConstraint will copy its 'initially', 'deferrable', and '_create_rule' attributes within a copy()/tometadata() [ticket:2000]
Michael Bayer
more 2011
Michael Bayer
2011
Michael 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]
Michael Bayer
- adjust this test for py3k
Michael 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.
Michael Bayer
merge r8343809aca9d, fix for [ticket:2013]
Michael Bayer
- adjustment to r5af852db0056 to allow correct decimal import
Michael Bayer
- Firebird numeric type now checks for Decimal explicitly, lets float() pass right through, thereby allowing special values such as float('inf'). [ticket:2012]
Michael Bayer
finish an unfinished sentence
Michael Bayer
-whitespace removal bonanza
Michael Bayer
- clean up copyright, update for 2011, stamp every file with a consistent tag - AUTHORS file
Michael 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.
Michael 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]
Michael 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.
Michael 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
Michael Bayer
- The versioning example now supports detection of changes in an associated relationship().
Michael 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]
Michael Bayer
- fix broken py3k block
Michael Bayer
changelog
Michael Bayer
- we shouldn't be raising warnings on non-unicode for String type, even if convert_unicode=True
Michael 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
Michael Bayer
- further fixes to no trans in progress, no trans ever for TLEngine, [ticket:1998]
Michael Bayer
various formatting and hyperlinking fixes
Michael 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]
Michael Bayer
- gently push users towards entity name for simple cases
Michael Bayer
- add version selector
Michael Bayer
- merge current 0.6 default branch (0.6.6) to rel_0_6. rel_0_6 branch moves from pre-release to maintenance.
Michael Bayer
merged r6248
Philip Jenvey
test_empty_insert no longer relies on rowcount
Michael Bayer
fix for oracle
Michael Bayer
did away with preexecute_pk_sequences
Michael 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
Michael Bayer
adding inline where result isnt needed brings it back down
Michael 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)
Michael 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
Michael 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
Michael Bayer
some more mssql
Michael Bayer
got test_mssql passing except for those tests that seem to be freetds-related
Michael Bayer
correct / test the autoincrement reflection policy
Michael Bayer
merged -r6204:6233 of trunk
Michael Bayer
added test for reflection with index + missing cols
Michael Bayer
fix log to be util
Philip Jenvey
unused import, rearrange
Michael 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.
Michael Bayer
added test for already fixed case of oracle alias name truncation being applied properly, [ticket:1309]
Michael 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
Michael Bayer
fix setuptools command
Michael 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
Michael Bayer
improved reduce_columns() to navigate around a CompositeSelect that buries foreign-key holding columns down on later selectables, [ticket:1486]
Michael 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
Michael 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
Michael Bayer
merged -r6172:6204 of trunk
Michael 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
Michael Bayer
merged r6174 of trunk
Michael 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.