rel_1_0
-
- Loading...
Author | Commit | Message | Date | Builds | ||
---|---|---|---|---|---|---|
250+ commits behind master. | ||||||
Fix pooling typo
eng -> engine
Fixes: #4526
Change-Id: If117099b8521e15887ae916a5dbfcfa0b7cd594b
(cherry picked from commit 66373c58118dc70ef59ff60c0516ef158966c47b)
|
|
|||||
Note for history methods that history is reset per-flush.
Change-Id: I9bc4d0ddfa93f13e6717b89fa9934f1b8052147f
(cherry picked from commit 833583458c69e24e797c300c934da0ff04348db5)
|
|
|||||
mention no_autoflush in the flush section of the docs
also remove link to wiki which is obsolete
Change-Id: I9ebd578923c3eba6e35f3b6203c01ba003dd4115
(cherry picked from commit fcb5dbf39569bcacb70a3fed05f469d73b64f116)
|
|
|||||
Use declarative mapping for the embedded SQL expressions example
Change-Id: I1e778409f2d6e50dfba40bafc58e56f3625e7a27
(cherry picked from commit 7816476cdd0a6c83cdd0eeab8698c2469aa0197b)
|
|
|||||
Remove all occurrences of the word "password" from all examples and tutorials
Fixes: #4484
Change-Id: I97e8cbd9f4906332ac0a4fe9c8496a0147fc9a9b
(cherry picked from commit b956a323cdbd9d4bacd515c0d05487adfba93ab0)
(cherry picked from commit 3e88af69708eff86a9fe99f07c07d9e120bb1c97)
(cherry picked from commit d6b567d3c3c4bbcaa09732b8bed6de665242787e)
|
|
|||||
Add example of password URL encoding
Fixes: #4452
Change-Id: I6d6ef36c4a0aa1e7c064b8aed289a1ce79b5120f
(cherry picked from commit 77a932e321ce402a2c4550d4788c5fdeab8aaa9b)
|
|
|||||
commit 1b774808c926665047bf353222ecd191679a95d1
Author: Lele Gaifax <lele@metapensiero.it>
Date: Tue Dec 25 12:35:41 2018 +0100
Consistently use "PostgreSQL", fixing also a few doc glitches
commit 0e382aaee4427193926f0dc10ad29056bc12c85e
Author: Lele Gaifax <lele@metapensiero.it>
Date: Tue Dec 25 12:08:49 2018 +0100
Remove duplicated words
Change-Id: Iaa586b9412f46a50fe6ff3bbb92e07d6cb1905c8
(cherry picked from commit c0f9708fde39175c8695fdd87873464f516fdf98)
(cherry picked from commit 7ec092063a7defe2b60d8f01…
|
|
|||||
Add missing disambiguation to non-primary mapper example
The mapping to B over a join defines an alternate primary key
based on all the primary key columns in the join unless we
re-define it explicitly. Similarly, people expect that
``.id`` looks the same. make sure these line up with the
old mapping.
Change-Id: I1ab064c57019e79c34293f6588d1e033f7083974
(cherry picked from commit 16f08cbed5ff4f0f0b08dbd0dbd6e49aaee79163)
|
|
|||||
- remove non-working dialects some of which are 404's
- put the five major dialect names on the front page
- remove old change messages
Change-Id: Ibf1dc2c499f10f98efb6c97d6c53e442e7746200
(cherry picked from commit eae62d00049a24c028ba95e13b5199cfa59a1180)
|
|
|||||
Rewrite the convert_unicode docs and add tons of dragons
These flags will all be going away as Python 3 has solved
all of this.
Change-Id: I4f581d8dd7826dd823b671d0d8e72250284236c8
(cherry picked from commit 7f12f63c3a8c77715135126aac88ac6055b279c0)
|
|
|||||
Add versioned_update_old_row example
A modification to the "turn UPDATE into INSERT" recipe that
also UPDATEs the previous row. The example is using timestamps
to maintain a relationship between two objects.
Change-Id: Ifdb8ee73616190384263bbe88c71d9278d616f6b
(cherry picked from commit 5851bf113821af6ce2e61484f103a44f4fabe430)
|
|
|||||
- fix formatting on examples to list the description first, some flake8
Change-Id: I57144a559f20abab02e745d052be5ff84edec7f8
(cherry picked from commit c89729cf67f441359da8289104050b01eb53160b)
|
|
|||||
All sphinx dependencies move under the github sqlalchemy organization
Change-Id: I7a0dc1ef320b6abad0eeac8b24c20f821e5b8c81
(cherry picked from commit 89f95e9badb260b78a7f1f7487feb6f9811ae06b)
|
|
|||||
typo
typo
(cherry picked from commit 0a0b36686d5da0e7d04974c8df0ece574b71f3cb)
|
|
|||||
Move links etc. to github, new alembic links
Change-Id: I59392d355a216ae59552a04c5508f548b901aa7b
(cherry picked from commit 50417cf758508e970f3fccc99af6a501ceac8eb2)
(cherry picked from commit d04575c55467da57ad7091615b313db2486908b6)
(cherry picked from commit fcb4c96cd8d83f31ea86c09c18c075e14d348dd3)
|
|
|||||
- remove @HEAD indicator from docs requirements, fixes
|
|
|||||
Improve documentation re: Session.binds and partitioning strategies
Update documentation to include background on arbitrary superclass
usage, add full cross-linking between all related methods and parameters.
De-emphasize "twophase" and document that it is not well-supported
in drivers.
Change-Id: Id99894bb62cc506e896c9aa7c256e9f6e602243e
(cherry picked from commit 1f13c8c833ebd96c09d1499b2504aa4950dca709)
|
|
|||||
Add additional documentation for ORM fetched defaults
Add additional examples to the section first added as part
of #4317 to cover the use cases requested in #3921.
Fixes: #3921
Change-Id: I6ec283aa0a6fbabedef40bb4320751ab4cd990ea
(cherry picked from commit ffd27cef48241e39725c4e9cd13fd744a2806bdd)
|
|
|||||
Add link to Code of Conduct
Change-Id: Ib07db7c2fc97739a172e541a0681176a67f89a2f
(cherry picked from commit 29d54ab69b689c2bc4b9be8273f4c0a96e37153f)
|
|
|||||
Remove unnecessary unicode and raw string prefix
(cherry picked from commit fc5dbc30168710ef20c467a54610979cd06a58c7)
|
|
|||||
Fix doc type
(cherry picked from commit 82006fcc937eaea99c767f35fcb642bc35da0a15)
|
|
|||||
Fix links and update verbiage for reset_on_return
Change-Id: I642056b78570b44fdefe7f0874a8e4c720389f14
(cherry picked from commit d8bb208a85f6366c58426a85b3d4ec1d6e43ac6c)
|
|
|||||
Document binary_prefix for mysqlclient and PyMySQL
Also, remove the section on "use_unicode=0", there is no reason
anyone should be using that now.
Fixes: #4216
Change-Id: I5b8b53e40903adf339af2934a4f2d8b068818ebf
(cherry picked from commit c3869f23836bd35d5ed565a4b84b4ab70293c0f7)
(cherry picked from commit a40ef14325532cd940a462a0ea4ff787952f0191)
|
|
|||||
Correct for the INSERT statement, typos
Change-Id: I036f3eb9b5e591515920678bc9a76f707fda142c
(cherry picked from commit c85378d9841177b067a93c564edb1787703c6595)
|
|
|||||
Write a much better section about server defaults
Include information about eager_defaults etc. These
docs were written before we had all the features
we do now.
Change-Id: Ie62e58c5986698824f717e9f8c802b07a27517d4
Fixes: #4317
(cherry picked from commit 82dfcf43de1d1647306ee2840b79be4f9df7588a)
|
|
|||||
Replace 'with' with 'which'
(cherry picked from commit 8601e86f1179d93d5d072c8774bfae41caa8cf56)
|
|
|||||
- add some context to the declarative section indicating this is not
the introductory material for these topics
Change-Id: I358ba8c32520ce3950a727216bc019e33377e7b9
(cherry picked from commit 284009683d9e48e19cc09e740e7b928c2c02997c)
|
|
|||||
- fix linking for the query.rst page
Change-Id: I269fdd72e372e1bf4f0f85e9fc8e6938adc4f686
(cherry picked from commit b6fb6f6b60e87d00fcd702b92e883cf3c61d07c6)
|
|
|||||
Remove stale ON UPDATE/ON DELETE comment.
SQLite supports both of these features.
(cherry picked from commit 6bb50e12930dce0471f74b24f93b3ff1569d94dd)
|
|
|||||
Fix enable_relationship_loading() works fine w/ one-to-many
Change-Id: I6efb62afa02be4d42482cfdbec739a5c6ab32bd7
(cherry picked from commit fde2f77fd1978d4162ab01bc05bb5c793bc733b2)
|
|
|||||
Fix typo in python example
(cherry picked from commit 31d28179c29e987a6ed844f6b8abf5dc1574e594)
|
|
|||||
Fixed link to Flask-SQLAlchemy in documentation
(cherry picked from commit 9feb900f3ec979725a9d3ee68f607f5b7606c061)
|
|
|||||
- fix formatting
Change-Id: Ic919048462520de8de84174a5e366d6c85316e87
(cherry picked from commit ea3fd424957620ae6a93b5e65d6a4bc7b4048ab7)
|
|
|||||
- ensure it's clear that all DDLEvents can be associated
using propagate=True, which is consulted within the scope
of Table.tometadata(). Fixes:
|
|
|||||
- don't scare off developers with the word "advanced" here
Change-Id: I72a0295634e228bacf6c92088e650183f91e4585
(cherry picked from commit 399988aaed401ea6fc69aa580b9b71c236a30f16)
|
|
|||||
Add a new FAQ section explaining how to ensure parenthesis
with op().
Not sure if this can be further improved at some point, such
as if a BinaryExpression automatically applied self_group()
when op() is called, however for the moment op() behaves consistently
as with all other operators without any ad-hoc effects.
Change-Id: Ia7f1ab43990450bd96757848b77a35e8fedeab63
References: #4174
(cherry picked from commit 1d435b9f49136f53aac4aa457f7744227be0b26a)
|
|
|||||
Add note to FAQ that IN behavior is modernized in 1.2.
Change-Id: Ibe05d8aaa8da90b52cd07f3bce89dcbd49b841c9
(cherry picked from commit 80e1e8b4a54b6ceeeebec46bdf822069a6ef8df3)
|
|
|||||
Further refine map_column verbiage
The verbiage here continues to be misleading as it implies that
a MapperProperty already exists for the Column when this is not
the case.
Change-Id: Iaa6990dc9693d47d50b15c4815c3c7f6f34d8577
(cherry picked from commit bc9cdd5de0781b93f9cf581f1c5e0d96179ad12e)
|
|
|||||
Rework synonym, synonym_for documentation
The map_column example was incorrect, and overall the purpose
of this parameter as well as that of synonym_for was not explained;
examples added along with more encouragement to use hybrids.
Change-Id: I20bd286f541f798daa81fa598c0f31db1f5aa6ed
(cherry picked from commit 8250a4248fceaa3f4fbaebea3ff6a7f626299659)
|
|
|||||
Allow for the database to produce a UUID instance
Some database adapters (specifically, pg8000) already produce a uuid.UUID()
instance for UUID columns. Account for this.
(cherry picked from commit e80a5adfd406e2392cfaad687e8b3f0ae9ed4e11)
|
|
|||||
Fix import in Inspector.reflecttable doc
(cherry picked from commit e6b290df2774efbafaea8374b27f72eb712853e9)
|
|
|||||
Fix a typo in basic_relationships.rst.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
(cherry picked from commit 096bace0da15c0fc903e55873518c7f47efbce19)
|
|
|||||
- fix loop logic that was leaving out 10K items from
example suites, fixes
|
|
|||||
Fix as many RST parse warnings as possible.
Still a few I can't get. Also 0.9 is EOL so hide the
unreleased notes.
Change-Id: If0e44d4a0b3e78e211f32d5c33b51b1a007c9c69
(cherry picked from commit 75bdcd096f12012bf45cffebd597c33b501c2ef2)
(cherry picked from commit b3502459c385e359babf60b82b8d968849760fa4)
|
|
|||||
- add more dragons to session.begin() / autocommit docs
Change-Id: I9e326f353d396321565dfbf53b7a30f18d8c86e9
(cherry picked from commit 1ec7ba52e1c7e6d232223912f154e25252fb9b92)
|
|
|||||
- tweak the handle_error docs a bit
Change-Id: Iebe5b13b3a568f3aa0f3ab02a55e2a9cbb4545c7
(cherry picked from commit e1a923dc5ab70ed0d0a259614f9ecd6e2b78c216)
|
|
|||||
Document and test __table_cls__
A use case has been identified for __table_cls__, which was
added in 1.0 just for the purpose of test fixtures. Add this to
public API and ensure the target use case (conditional table generation)
stays supported.
Change-Id: I87be5bcb72205cab89871fa586663bf147450995
Fixes: #4082
(cherry picked from commit 04bbad660bcbb7b920f3e75110a7b1187d9ddc38)
(cherry picked from commit d1ca3a8d462c3c8c32afc…
|
|
|||||
- pin on cx_Oracle 6.0.1 for the moment while we wait for
either https://github.com/oracle/python-cx_Oracle/issues/75
to be fixed or we can merge a workaround
Change-Id: Ia3927337fb48824e0fdc764ed3a9d4930ca7a9c6
(cherry picked from commit de73c6d1cd880b213f87723b6cf73fea20a7b9fb)
(cherry picked from commit 89fab2824b681073d1e51198b9dd625e9aa5fbed)
|
|
|||||
Fixed a typo in before_execute doc.
events.py edited online with Bitbucket
(cherry picked from commit e0ddf30bf65f0cc90ae3c471bf9b3aae56cbc824)
|
|
|||||
Add InternalError for mysqlclient disconnect
mysqlclient as of 1.3.11 changed the exception
class for a particular disconnect situation from
InterfaceError to InternalError; the disconnection
detection logic now accommodates this.
Change-Id: I294f90f794491fd363548719222d8e3008480615
Fixes: #4065
(cherry picked from commit 65680b2343ef421a62582e23e2b35293732933ad)
|
|
|||||
include a note about the importance of type coerce for custom ops
Change-Id: Ia7dab65523d6a34fcc92ee785ffe03f7e2a33cfd
(cherry picked from commit 56845d8cc2678c0aefd889a7fc711150661cd8e8)
|
|
|||||
Remove twophase for cx_Oracle 6.x
Support for two-phase transactions has been removed entirely for
cx_Oracle when version 6.0b1 or later of the DBAPI is in use. The two-
phase feature historically has never been usable under cx_Oracle 5.x in
any case, and cx_Oracle 6.x has removed the connection-level "twophase"
flag upon which this feature relied.
Change-Id: I2e8161cc2bc12f4845c9224cd483038112fe9734
Fixes: #3997
(cherry picked …
|
|
|||||
use regexp to parse cx_oracle version string
Fixed bug in cx_Oracle dialect where version string parsing would
fail for cx_Oracle version 6.0b1 due to the "b" character. Version
string parsing is now via a regexp rather than a simple split.
Change-Id: I2af7172b0d7184e3ea3bd051e9fa8d6ca2a571cd
Fixes: #3975
(cherry picked from commit 50484eda7787c3e83c9c88c1841fc63b348ca23c)
(cherry picked from commit ab1eb8109221588c19d72c75af01ea4e8cd68e3f…
|
|
|||||
- 1.0.20
Change-Id: Ie6a0d4b3d53e6b3723f4992f3216832569120db1
|
|
|||||
- fix typos
Change-Id: Ibf8bc0e997ff989c7b0c16afad48a95414078052
(cherry picked from commit d8a80a35a0f117c7659c7a9c62e27994d3aadc01)
|
|
|||||
- modernize the mysql connection timeout docs
Change-Id: Icb0474509539c1eb7536544749f2a48b4972078a
(cherry picked from commit 4ce46fb0a085c1cc739e21881cc25567e663f8dc)
|
|
|||||
First level repair for cx_Oracle 6.0 test regressions
Fixed more regressions caused by cx_Oracle 6.0; at the moment, the only
behavioral change for users is disconnect detection now detects for
cx_Oracle.DatabaseError in addition to cx_Oracle.InterfaceError, as
this behavior seems to have changed. Other issues regarding numeric
precision and uncloseable connections are pending with the upstream
cx_Oracle issue tracker.
Change-Id: Id61f1e33b21c155a…
|
|
|||||
- ensure identifier re-use doesn't make this break
Change-Id: I9fe6c42c097d31b50a479250d39a3cd8ebcbffaf
(cherry picked from commit 41549de9609bce90942ca6afc75978d5254c8fd5)
|
|
|||||
- allow a separate template database to be used for
PG CREATE DATABASE. as nobody will connect to it that would
solve the contention issue here
- backport --nomemory since tox.ini is using it
Change-Id: I00a4d52091876e120faff4a8a5493c53280d96f1
(cherry picked from commit 4c306818396c8cc98a16a14c5ed3361cf6ff373a)
(cherry picked from commit 35e879fcded5b21e70d6de840532187f5d304b46)
|
|
|||||
- repair --dbs
Change-Id: I69e39d2368f50b126c369ecc35e01799fd013254
|
|
|||||
- still supporting py2.6 in 1.1/1.0 (!)
Change-Id: Iaaababf83b9c3a6e4dc784fc9807bed01c90b69b
(cherry picked from commit e46eea26d30f2dae6fba1a46131b6f0656acbf3c)
|
|
|||||
- backport all pytest-xdist / multi backend changes
from 1.2 master back to 1.0 for CI
Change-Id: I31719ccececd474e81e765dc3a8896f89f5a84eb
|
|
|||||
fix a typo
(cherry picked from commit 58fb83c45b2100f3cf9308c04eefb87e79202aac)
|
|
|||||
- dont run sql mode config tests if we aren't on mysql
Change-Id: Iec1d992c611e223fda303e6a323dabff79760f01
|
|
|||||
- backport new tox from 1.2
Change-Id: I212fad7eb330446f2cddfa0f416fc7ce3a09e6cc
|
|
|||||
fix "constrast" typos
(cherry picked from commit 7765724d51f78690c814eda6533fc0ac81ca9077)
|
|
|||||
- modernize orm.reconstructor documentation a bit
Change-Id: Ied786e8f9ad78f524be03a382d002dada7dd218b
(cherry picked from commit 4b4f8fbf25f1a5a76c1579c1a3fd6ffad07c8c66)
|
|
|||||
- 1.0.19
|
|
|||||
- convert to spaces
- restore unreleased directories
Change-Id: Ia5c1142ffbdba6372f800c2e2521660ab62d9c4f
(cherry picked from commit a1160414b8dc798a1cf1b8c71a68c6cdc3526384)
(cherry picked from commit 5fc7056a5393c35d8f4c38d8d22cbee7cc28428e)
|
|
|||||
Revert cx_Oracle WITH_UNICODE change under > 5.0
Fixed performance regression caused by the fix for :ticket:`3937` where
cx_Oracle as of version 5.3 dropped the ``.UNICODE`` symbol from its
namespace, which was interpreted as cx_Oracle's "WITH_UNICODE" mode being
turned on unconditionally, which invokes functions on the SQLAlchemy
side which convert all strings to unicode unconditionally and causing
a performance impact. In fact, per cx_Oracle…
|
|
|||||
- 1.0.19
Change-Id: I4711ff97fa92f88407c6e6a4962ed61881c18305
|
|
|||||
- 1.0.18
|
|
|||||
1676406
M
|
Merge "Ensure we check for boolean condition when we inspect __exit__()" into rel_1_0
|
|
||||
Make flush logic slightly clearer in tutorial.
Improve the wording of how sessions commit changes.
(cherry picked from commit c9b37f9689dca784a0a5d932cd8f0cd133c436cc)
|
|
|||||
Ensure we check for boolean condition when we inspect __exit__()
Fixed issue in testing fixtures which was incompatible with a change
made as of Python 3.6.2 involving context managers.
Change-Id: I0f12aa6cc15cba89153f7e4888ac347e7ce599c7
Fixes: #4034
(cherry picked from commit 7d4005156b5a48989dae7c4424faafc03cc8410d)
|
|
|||||
- remove dupicated 1.0.18 block, which seems like it was already
there before we moved to the new changelog system
Change-Id: I81630049d383f4ec73865b7d3c635a3e3ec5ab2e
|
|
|||||
- move to file-per-changelog for unreleased change notes,
so that we no longer have to rely upon merges within
the changelog files. because gerrit doesn't allow us
to use custom merge engines unlike git, we have no ability
to merge multiple changes into the changelog files without
going through conflicts. new version of changelog
in git supports these new patterns.
Change-Id: I588eebd027b4ad3428bd522f36a6f1cd77f105bb
(cherry picked from commit 39c72682b85c1d3912ced383733d03eca7a43845)
|
|
|||||
Replace Session class with session instance
The Session class was used instead of the session instance which resulted in an attribute error.
(cherry picked from commit 43f41fbfaa8f3030148c131628c5e9fe8fda9f66)
|
|
|||||
Include missing import in example
(cherry picked from commit 1db3029abc371c0808fb622ae2bd716ada81281a)
|
|
|||||
- add complete parameter /return value docs to session.begin() /
session.begin_nested(). Fixes
|
|
|||||
- move additional sections under with_polymorphic missed
in the previous change
Change-Id: I20217d4d4ebfc033229d87e472ad82d32202617a
(cherry picked from commit 75c8b88cddeeadb539fce1c038997d0aebe6f621)
|
|
|||||
- categorize these two with_polymorphic subsections under with_polymorphic
Change-Id: I8bd49ac241df4b8645c8f78938d6f8122952d75a
(cherry picked from commit 6079158b21da7598ff37115649bbdd955713eb11)
|
|
|||||
- fix broken link
Change-Id: I2f3b5ae29600696b34a6afdddc2f94920febf31d
(cherry picked from commit 7aa50b9b197d542b63e86f423865f9bbec7af443)
|
|
|||||
modernize and repair inheritance examples
remarkably, the examples for concrete and single were still
using classical mappings. Ensure all three examples use
modern declarative patterns, each illustrate the identical set
of query operations. Use back_populates, flat=True for joins,
etc. ensure flake8 linting, correct links and add a link back
from newly reworked inheritance documentation.
Change-Id: I8465a9badbb0eda804f457ccac599f051…
|
|
|||||
Add links to with_only_columns to Select.column, append_column
Provide a brief example for these two methods
indicating that typically a table-bound (or other selectable)
column is appended here, then link to with_only_columns
documentation which has in-depth guidelines already including
that one should not append columns from the current select to itself.
Change-Id: I0742405a7f3c41450d337b9c633519d9cc101dfb
Fixes: #3987
(cherry picked from commit 4352e220ac…
|
|
|||||
Update inheritance documentation.
The inheritance documentation is confused, disorganized, and out
of date. Reorganize and clarify, in particular in preparation
for new inheritance features.
Change-Id: Ibe6a35b4b0432bad866a6afb0598b2cf1b509f10
(cherry picked from commit 6194483b73c94565aee62c5867a251a1841db5a9)
|
|
|||||
Fix docs syntax error
(cherry picked from commit 3e3554d37ca589218c13f9b2969801dccbbdfa2c)
|
|
|||||
Break the lines to fit pdf and fix another broken syntax
(cherry picked from commit 3d19fb6d53c2aa0fdb7944569fa697c75785634c)
Change-Id: Ib3460a95f3387b51075c23600cb394b0af08d8f2
|
|
|||||
fixes a typo
(cherry picked from commit 6224df56a6fa28efda6e6e5007b015ad9d6d7d14)
|
|
|||||
- big rewrite of the Sequence documentation:
1. Sequence should be associated with MetaData always,
except in the really weird case someone is sharing a Sequence
among multiple metadatas. Make this a "best practice", end the
confusion of #3951, #3979
2. "optional" is not a thing people use, trim this way down
3. remove confusing language
Change-Id: Iab5aec319da2582092fe2615ee50430f76441aff
|
|
|||||
- add another note re: 339e2c13b0fc8e95a47d00c0f8fc5afc4b6dff9a
which clarifies that ForeignKey circumvents this logic as a
"convenience". issue
|
|
|||||
- add a note to MetaData.schema indicating that the Table
will be cataloged in the .tables collection with its fully
qualified name. Fixes
|
|
|||||
test / document postgresql_ops against a labeled expression
Since postgresql_ops explicitly states that it expects
string keys, to apply to a function call or expression one
needs to give the SQL expression a label that can be referred
to by name in the dictionary. test / document this.
Change-Id: I4bc4ade46dac27f9c1b92e7823433292beab97b9
Fixes: #3970
(cherry picked from commit 029d0f75385298f8056c04eba1d2f9563126a8a6)
|
|
|||||
Fix of minor typo in the UnmappedInstanceError message
(cherry picked from commit 90c72c31a55337bef61cdd0cb75f5d128bcc34f9)
|
|
|||||
- remove errant doctest comment
Change-Id: Idb8520ff807074ceca36645728a63b79d1cdff6c
(cherry picked from commit c2834f9298ddf14c0177e862b344de9e526cdf35)
|
|
|||||
Fix typo.
(cherry picked from commit 6524838950dca5721a7f7e9db3118d9245c64659)
|
|
|||||
Docs/faq/performance
Some updates for FAQ/Performance documentation page:
* Fix typo in testing script.
* Populate testing script with one more way to achieve higher performance.
See commit messages for details.
Change-Id: Id6fbf328164b14b3b58ca9616b103a35e72f7b8f
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/345
(cherry picked from commit a4c17c1397c68d109bcf0603644f3200ab2e82f5)
|
|
|||||
Fix a title typo
Utilites -> Utilities
(cherry picked from commit 5df05d16708a3efbd731df6767c9763626972c04)
|
|
|||||
Fix typos ('expicit' -> 'explicit')
(cherry picked from commit 3771af0af45c2a7ea79a055b953c32f23c53e256)
|
|
|||||
fix pep8 errors in association example
(cherry picked from commit 6aad7fb4217ef294f68f693be5b3137c28184949)
|
|
|||||
fix pep8 errors in adjacency_list example
(cherry picked from commit ff230f1862892eb2b479ed85e6858a82159b435f)
|
|
|||||
- re-set no ad-hoc-engines for oracle, previously low-connections
disabled this
Change-Id: I3ceceaea7a3969248121ff4dc97c11296831fc99
(cherry picked from commit 4a886e519ff227039a9d603aa4727c6f828f93ff)
|
|
|||||
Repair _execute_scalar for WITH_UNICODE mode
cx_Oracle 5.3 seems to code this flag ON now, so
remove the warning and ensure WITH_UNICODE handling works.
Additionally, the XE setup on jenkins is having more
problems here, in particular low-connections mode is
causing cx_Oracle to fail more frequently now. Turning
off low-connections fixes those but then we get the
TNS errors, so adding an emergency "retry" flag that
is not yet a feature ava…
|
|
|||||
- 1.0.18 setup
Change-Id: Ief1c6285871544a4d699345040ee57276dbcf49b
|
|
|||||
- document ForeignKeyConstraint columns / elements, fixes
|
|
|||||
- update asktom link, fixes
|
|
|||||
Update profiles for psycopg2 2.7
psycopg2 has updated their unicode / string handling, greatly
reducing callcounts on Python 2.x.
Change-Id: Idffd242b303ffea9c7733068a4be290da4dbe679
|
|
|||||
- document Query.with_session(), direct constructor usage
Change-Id: I47499d040623202dd9b3be0ea65f2d9ad03c11a4
(cherry picked from commit 7db699163bed203d8060f06097e1489eea7ba079)
|
|
|||||
- add missing param tag
Change-Id: Ic2cc0bdafbf3f1bc2993a9ad3475530eed91d0f1
(cherry picked from commit f55d466cad2d7c741f391eb2df15a23652132fe4)
|
|
|||||
- remove misleading comment, ref
|
|
|||||
- document that "column" and "where" are arbitrary SQL expressions
for ExcludeConstraint, if string is used then quoting must
be applied manually. fixes
|
|
|||||
Fix typo in documentation
(cherry picked from commit 8795472c875d5f424f96a1e19e93d6dd4a7df6a8)
|
|
|||||
fix example re such that the listen modifier example works
(cherry picked from commit 3c0fc9b95f458f608bf10c266e52b2cd919467d5)
|
|
|||||
Improve server-side Sequence documentation
Include the metadata argument for the Sequence
and explain the rationale. Correct inconsistencies
between Core / ORM examples and update language
regarding client side vs. server side Sequence
directive.
Co-authored-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
Change-Id: I65c522acf9bdf25041a5baf2e10be41f0927999a
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/341
(cherry picked …
|
|
|||||
- 1.0.17
|
|
|||||
- this test is too brittle under load, not worth it, remove it
Change-Id: I3f294b4d153979c308532360d03ab7be3c5d994a
|
|
|||||
Correct pytest deprecation warning
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
Change-Id: I099c8207730ae1226f7357ff8be0d8ab149878ed
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/334
(cherry picked from commit f624a3ae8baadba4dabb55e5851a27d40a6cf73e)
|
|
|||||
- repair an errant docstring w/o r
Change-Id: I2e9c8dbc79c00b54520748d1d7cae5230a612c96
(cherry picked from commit 3a6c55fb5175ec9ffa03dd7c1325a4746f081486)
|
|
|||||
- happy new year
Change-Id: Iaaff6a66e7611320eca711add8a2e11aae42acf1
|
|
|||||
d55a939
M
|
Merge "Support python3.6" into rel_1_0
|
|
||||
Support python3.6
Corrects some warnings and adds tox config. Adds DeprecationWarning
to the error category. Large sweep for string literals w/ backslashes
as this is common in docstrings
Co-authored-by: Andrii Soldatenko
Fixes: #3886
Change-Id: Ia7c838dfbbe70b262622ed0803d581edc736e085
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/337
|
|
|||||
- document how to use autocommit isolation level for CONCURRENTLY,
fixes
|
|
|||||
Adapt from "localparent" in joinedloader
Fixed bug involving joined eager loading against multiple entities
when polymorphic inheritance is also in use which would throw
"'NoneType' object has no attribute 'isa'". The issue was introduced
by the fix for :ticket:`3611`.
Change-Id: I296ecda38c01ec8f69dcd843beaebed6949cecfa
Fixes: #3884
(cherry picked from commit 51a72503b0279ca71ee6f0454bfd36a4c84d508f)
|
|
|||||
- prep for 1.0.17
Change-Id: I686bcadd54ea674c011bb3777e410b69627bab72
|
|
|||||
- add a section for ARRAY of JSON to complement ARRAY of ENUM. references
|
|
|||||
Typo
(cherry picked from commit 8f191ec3b87ccf9038d532ea672bdd5978793891)
|
|
|||||
- xmin example requires a server default declaration to function
correctly
Change-Id: I1cc50da6fe1c0eeef1d00201b45d998daddfd8ac
(cherry picked from commit a1de76c42f6b64808448aed6e821fbb3b988f99b)
|
|
|||||
- 1.0.16
|
|
|||||
- experiment with union merge for changelog
Change-Id: Ieed0199c58d7eacdb26db6e1754c1ef3ee5c8c7d
(cherry picked from commit 5def69c0cdc5025b1194e8339446b6e5e528df1e)
|
|
|||||
Adds missing word "of" in docs
(cherry picked from commit d0d4e391c5788bf08432dbd333b5702fd6248bae)
|
|
|||||
Quote URL tokens with semicolons for pyodbc, adodbapi
Fixed bug in pyodbc dialect (as well as in the mostly non-working
adodbapi dialect) whereby a semicolon present in the password
or username fields could be interpreted as a separator for another
token; the values are now quoted when semicolons are present.
Change-Id: I5f99fd8db53ebf8e805e7d9d60bc09b8f1af603f
Fixes: #3762
|
|
|||||
- oragnize the changelog with tokens per .. change:: to allow
three way merges to succeed (hopefully). requires bump of changelog
package.
Change-Id: Ia23b1754ad7e0841c6513647f0dd4987112a0511
|
|
|||||
Use configured props for mapper.attrs, mapper.all_orm_descriptors
Fixed bug where the :attr:`.Mapper.attrs`,
:attr:`.Mapper.all_orm_descriptors` and other derived attributes would
fail to refresh when mapper properties or other ORM constructs were
added to the mapper/class after these accessors were first called.
Change-Id: Iaecdb4b3d8c3a3b44302a5880476e60a1f4e27d9
Fixes: #3778
(cherry picked from commit 6319eb0ce7c095ba7d4f60746ce12cf575730b46)
|
|
|||||
Consider version_id_prop when emitting bulk UPDATE
The version id needs to be part of _changed_dict()
so that the value is present to send to
_emit_update_statements()
Change-Id: Ia85f0ef7714296a75cdc6c88674805afbbe752c8
Fixes: #3781
|
|
|||||
Ensure attribute keys used for bulk update pk set
Fixed bug in :meth:`.Session.bulk_update_mappings` where an alternate-named
primary key attribute would not track properly into the UPDATE statement.
Change-Id: I33e9140f45827772768fa548adcfeb4dbfc2208d
Fixes: #3849
(cherry picked from commit 6a688b736429e27a892bc02111414491fe4103b0)
|
|
|||||
Minor fixes in the ext.hybrid documentation.
(cherry picked from commit 9974ab67f508a16423e8bc22122180b0bcdee807)
|
|
|||||
Remove some legacy dead code from the declared_attr logic
The second 'if' condition was never called because the original
condition always returns.
(cherry picked from commit d18221c542bf4d7381be2afdcd4c098698ff8eae)
|
|
|||||
Fix a minor grammatical error in the ORM tutorial.
Change-Id: I50daaee2645dd8aa2ee7217f4065589492ed0b7d
(cherry picked from commit 055b207a9f80e1899a30cce8d11e79eb1136612a)
|
|
|||||
Update the Column.nullable docstring for the primary_key=True case
While reviewing a change that created a new table, the
primary_key column value was set to True but nullable was not
explicitly set, which led to some confusion over the default
behavior for the nullable column value when setting a primary_key.
Looking at the docs it's not clear, but the code shows that if
nullable is not specified, then nullable = not primary_key, so
nullable defaults to False w…
|
|
|||||
Catch DBAPIError instead of ProgrammingError for pyodbc fail
This is part of release 1.1.1 but the broken version
was unreleased in 1.0.16.
Change-Id: Ide9e916d02fbbef549aa2838d1402c2b091e701d
Fixes: #3820
(cherry picked from commit ae9300cac0ec398f92d9e523273403126a709134)
|
|
|||||
Minor grammatical improvements in doc/build/intro.rst.
(cherry picked from commit df4639ab717273490b17085d5cdb240eef3cf0c0)
|
|
|||||
- add a note to baked documentation indicating it is not
really of general use. This extension is there only
for those who really want it based on observed performance
characteristics.
Change-Id: I2f612f26fdef4ddbeb1158ab1b344fad7083b11c
(cherry picked from commit cbe99b06679e2d2da1312f7d69b41f63bda1b41f)
|
|
|||||
Use schema_name() for SQL Server default schema
Changed the query used to get "default schema name", from one that
queries the database principals table to using the
"schema_name()" function, as issues have been reported that the
former system was unavailable on the Azure Data Warehouse edition.
It is hoped that this will finally work across all SQL Server
versions and authentication styles.
Change-Id: Ic11bd4162c0d6a60432ae44876e86512703c1f81…
|
|
|||||
Use SQL Server SERVERPROPERTY for version info w/ pyodbc
Updated the server version info scheme for pyodbc to use SQL Server
SERVERPROPERTY(), rather than relying upon pyodbc.SQL_DBMS_VER, which
continues to be unreliable particularly with FreeTDS.
Change-Id: I4ff49ae13c8ff51bd764980131d41c18d73d87ce
Fixes: #3814
(cherry picked from commit f0ea9e37f94bd39fa4f0785dbdcd0ee1759c4a11)
|
|
|||||
- make sure dispose() is mentioned as a strategy for
dealing with os.fork().
Change-Id: I6d85f330327e79c353e191096d71528d8300f22f
(cherry picked from commit a02a75588d87fcbec84b4689ee8ed462c631838c)
|
|
|||||
- some documentation hits
Change-Id: I468fe70168804b08cf0d5e8b57e235bca904b1ff
(cherry picked from commit 9bfd0289383bfcaf650fe516862df545dcf95c2e)
|
|
|||||
Remove extra "return" statement in orm.ext.declared_attr.cascading examples
Also improves some naming in the examples.
Change-Id: I51e5b1d9a730885aed10e5e6ade2123f5e736359
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/306
(cherry picked from commit dce32062236001ed89258cfe60c89bbca5db18c5)
|
|
|||||
- improve documentation for SessionTransaction re: parent
and nested attributes and what these mean
- improve linking for after_transaction_create() / after_transaction_end()
events
- add public .parent attribute to detect top-level transaction within
these events
Change-Id: Ie7382bc8fe5de226160dcb6a5019e19fcc5af38e
(cherry picked from commit e9b2625753fba02358d9cb4ef1d9dd07b8761d21)
|
|
|||||
- clarify documentation on timezone flag, since Oracle has both
DATE / TIMESTAMP separately the timezone flag will not bump the
type to TIMESTAMP WITH TIMEZONE on that backend.
Change-Id: I185992093472e1620b8cf84872631a4d48f8edc3
(cherry picked from commit 0cc8267286f848f3cc3ab46c1e543956866a561e)
|
|
|||||
Ensure mapper.polymorphic_on is polymorphic_prop.columns[0]
Fixed bug where joined eager loading would fail for a polymorphically-
loaded mapper, where the polymorphic_on was set to an un-mapped
expression such as a CASE expression.
Change-Id: Iffe68196aaac592165c89684f09f4c06cd78ce54
Fixes: #3800
(cherry picked from commit 97b294093617eca7298a2fe97bd23bd6dc3b59bf)
|
|
|||||
- disable two phase testing for mysql entirely, build servers
have no time to deal with MySQL 5.7's issues
Change-Id: Ic5f4e5b0aff1b4b5210bc7b5da203f536561e585
(cherry picked from commit 0c90cac2c37453a6688d9c1da62bbfb0bfa13d02)
|
|
|||||
Fix ArgumentError access in Session._add_bind
Fixes: #3798
Change-Id: Ib4e6344b599e871f9d46d36a5aeb7ba3104dc99b
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/293
(cherry picked from commit 7ea54611516147a1af917691c60e1823b77c7ecf)
|
|
|||||
Add "message 20017" (unexpected EOF from the server) to mssql.
Fixes: #3791
Change-Id: I0dade4fe0ecbb53b4a66881594f362986ba73ae8
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/89
(cherry picked from commit 285d7bbb3e11abdc9a931e35e4ee08ef611af5d4)
|
|
|||||
- latest mysql 5.7 also crashing on XA recovery, disable
XA recovery for all MySQL
Change-Id: I4f77de521cd80c09fdf97e5bbe5dfd1c830dc3cb
(cherry picked from commit 65d8deac95b63ea5702a9ce6b5d9a6c9a6a60991)
|
|
|||||
Repair foreign_keys population for Join._refresh_for_new_column
Fixed bug where setting up a single-table inh subclass of a joined-table
subclass which included an extra column would corrupt the foreign keys
collection of the mapped table, thereby interfering with the
initialization of relationships.
Change-Id: I04a0cf98fd456d12d5a5b9e77a46a01246969a63
Fixes: #3797
(cherry picked from commit 8967099c3ba8b04fa20536bc0a026f6adc8e096f)
|
|
|||||
- placeholder for 1.0.16
Change-Id: I33405513dc216ad33c5ec4796bff73f75d5866c4
|
|
|||||
- also caveats for update() / delete() regarding single
table inheritance
Change-Id: If1511812a22a53537409f902f73e2e52ae3e4a3d
|
|
|||||
- add caveat for bulk deletes that they are generally not feasible
for joined inheritance
Change-Id: I043a5842401d586aa3ff96d05e06b443ff03fa60
(cherry picked from commit 2cd53196ea2df7b9006dcc48fb79555eb533f5cc)
|
|
|||||
- 1.0.15
|
|
|||||
Support all MySQL/Connector int/bool arguments
Added support for parsing MySQL/Connector boolean and integer
arguments within the URL query string: connection_timeout,
connect_timeout, pool_size, get_warnings,
raise_on_warnings, raw, consume_results, ssl_verify_cert, force_ipv6,
pool_reset_session, compress, allow_local_infile, use_pure.
Change-Id: I2a1a17d13d47d56871bff32e94fdbed8bc003ad7
Fixes: #3787
(cherry picked from commit 16dcc8bec1218…
|
|
|||||
Corrects typo
This example doesn't work with 'back_populates' because 'parent_associations' and 'child_associations' are not defined in Parent and Child classes respectively.
Alternatively, we could create 'parent_associations' and 'child_associations' into the classes.
(cherry picked from commit 53c3119ebb6801cbfcaf2841311d117eba250444)
|
|
|||||
Fix table reference in PostgreSQL documentation
(cherry picked from commit 2b0fa0f8a190a65aea5a284e4f7d0a22488ae560)
|
|
|||||
Fix documentation basic example (missing imports)
(cherry picked from commit 096a74d7c5bea560ab68423e2d7293af22afbfa3)
|
|
|||||
Rework _apply_joins(), _prep_for_joins() totally
The approach here is still error prone
and hard to follow. Reorganize the whole
thing to take a pretty blunt approach to
the structure of to_join(). Also fix some never-called
code (!) in _prep_for_joins() and ensure we re-use
an aliased object.
Fixes: #3774
Change-Id: Ie6319415ae7213b4a33eac2ab70803ad2880d340
(cherry picked from commit 323e6e7f9f6a731103cfd19d774024f7f0f84377)
|
|
|||||
009cac8
M
|
Merge "Ensure final link in subqueryload join is correct" into rel_1_0
|
|
||||
- fill in forwards-ports for 1.1 in 1.0 changelog
Change-Id: I8d44b90bb9d05275de19d3ce2d9124050add5f01
(cherry picked from commit 14154b2910087a7879ca23cf7995026a79a215c2)
|
|
|||||
Ensure final link in subqueryload join is correct
Fixed bug in subquery eager loading where a subqueryload
of an "of_type()" object linked to a second subqueryload of a plain
mapped class would fail to link the joins correctly.
Change-Id: I4be89e6f5e492438464a2ded01eb9c84d7ff7d4e
Fixes: #3773
(cherry picked from commit b07eb3cb45d1a344759a2eee9d2166fbf3e44888)
|
|
|||||
- add another example for chained polymorphic eager loading
Change-Id: I87918ab4cd294d4b4a87a377c7b6b21105f4fd55
|
|
|||||
- small updates to polymorphic eager loading, cross-link from
loading documentation
Change-Id: I3ce7e2cc521c4dd155195819a919017d4cc63b3c
(cherry picked from commit 09cf0376524dc0bac6c1ab05d3c43cdd29c362b1)
|
|
|||||
Warn that bulk save groups inserts/updates by type
Users who pass many different object types to bulk_save_objects
may be surprised that the INSERT/UPDATE batches must necessarily
be broken up by type. Add this to the list of caveats.
Co-authored-by: Mike Bayer
Change-Id: I8390c1c971ced50c41268b479a9dcd09c695b135
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/294
(cherry picked from commit ce1492ef3aae692a3dc10fff400e178e7b2edff8)
|
|
|||||
Fix typo
(cherry picked from commit 4aad91f687e905ef58132ab21af1ae60e56a9c8c)
|
|
|||||
Fix reference to _declarative_constructor in docstring
(cherry picked from commit 924a47fc4fd0012bad151af5a99e5faea41bad8b)
|
|
|||||
- Document how SQL Server does MAX with VARCHAR, NVARCHAR
Fixes
|
|
|||||
Allow Table._reset_exported to silently pass
Fixed bug in :class:`.Table` where the internal method
``_reset_exported()`` would corrupt the state of the object. This
method is intended for selectable objects and is called by the ORM
in some cases; an erroneous mapper configuration would could lead the
ORM to call this on on a :class:`.Table` object.
Change-Id: I63fa34ee0cdf16358bb125c556390df79758bcbc
Fixes: #3755
(cherry picked from commi…
|
|
|||||
- a variety of test adjustments to accomodate for MySQL 5.7
Change-Id: Ied4245433d0d7b469dae6e7394c4931d8405f387
(cherry picked from commit 02190234a25bb5ed2b07d25e6adcece2f5bba763)
|
|
|||||
Fix issue with unbaking subqueries
Fix improper capture of a loop variable inside a lambda during unbaking
of subquery eager loaders, which would cause the incorrect query
to be invoked.
Fixes: #3743
Change-Id: I995110deb8ee2dae8540486729e1ae64578d28fc
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/290
(cherry picked from commit bfa57063d49bcf355b00caaeb5e58d0b9d23acb3)
|
|
|||||
- 1.0.15 for dev
Change-Id: I2d75b6d9ca533e662bc8160cf5fc52355e5e549e
|
|
|||||
Update index.rst
(cherry picked from commit 2045689ff27708292d8effa782777ec55a8477d0)
|
|
|||||
Update index.rst
(cherry picked from commit b5bf8632170d2d3ee5382c0de153829ee6857518)
|
|
|||||
- fix typo
Change-Id: Ie66d419a5188529a64fcb2e2463c15c26863889f
|
|
|||||
Add additional documentation re: JSONEncodedDict
Add an example of how to use coerce_compared_value()
specific to JSONEncodedDict, as this example class
is frequently dropped into applications.
Change-Id: I61639ac03dc5a37673ee8201b99a3c36ab944f00
Fixes: #3742
(cherry picked from commit b33caa64189f3fdbbabe4b381460b7610025aa6b)
|
|
|||||
- 1.0.14
|
|
|||||
Adapt "FOR UPDATE OF" with Oracle limit/offset
This modifies the Oracle ROWNUM limit/offset approach
to accommodate for the "OF" clause in a "FOR UPDATE"
phrase. The column expressions must be added to the selected
subquery if necessary and adapted on the outside.
Change-Id: Ia71b5fc4df6d326e73863f8ae9f96e8f1a5acfc1
Fixes: #3741
(cherry picked from commit d23797943786914cced58ed71ffb7b749e64c449)
|
|
|||||
Repair PG BIGSERIAL w/ TypeDecorator, Variant
Some of the dialect impl memoization for TypeDecorator
necessarily keeps the top-level TypeDecorator type
around, since a user-defined type will have bind and result
set processing behavior. For both TypeDecorator and Variant,
PG dialect needs to ensure it's looking at the SQLAlchemy
type to check for SmallInteger / BigInteger.
Fixes: 3739
Change-Id: I2d45fb997f17c6272d6bb826a77d2dba665adae7
|
|
|||||
- add backports
Change-Id: Iee0bf9e60a5991bedbe29b305803b4c79ac5c511
|
|
|||||
Preserve type for math negation
Fixed issue in SQL math negation operator where the type of the
expression would no longer be the numeric type of the original.
This would cause issues where the type determined result set
behaviors.
Change-Id: If0e339614a3686e251235fc94b6f59310c4630a5
Fixes: #3735
(cherry picked from commit 5c60aaefd32a7bdee611fb340911409e0b8223ed)
|
|
|||||
- revert the RTD reqs workaround, we are self-hosting now
Change-Id: Ie11361147d497c6eb6418cdc850ed277dfbd1de4
(cherry picked from commit f8781840aff51058bc8b1180012eed2a722a3e6f)
|
|
|||||
Repair pickling for Properties object
Fixed bug whereby the ``__getstate__`` / ``__setstate__``
methods for sqlalchemy.util.Properties were
non-working due to the transition in the 1.0 series to ``__slots__``.
The issue potentially impacted some third-party applications.
Pull request courtesy Pieter Mulder.
Fixes: #3728
Change-Id: I01ebd425bbfe145747fea2edd0d2d412c74fd84d
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/286
(c…
|
|
|||||
- update alembic link
Change-Id: I5ac6ba8234873fdd19bee6c1decd311a9cb4d55e
(cherry picked from commit 13f9578082ae669734d65a38cb6058e21df88362)
|
|
|||||
- dont use id() to test identity as these can be recycled
Change-Id: Ie4cb4924909d55c5962f66e36cd5325e8e8f0538
(cherry picked from commit e5bdf96bc0b1503c4e4c8461748cd061f624e346)
|
|
|||||
- flake8
Change-Id: I74e369d1d71c98cb0af58dde80b7d535d17cbdf7
(cherry picked from commit 345cc1e304f3dc75bf5362e6c9f1975230a94753)
|
|
|||||
Deprecate FromClause.count() (pending for 1.1)
count() here is misleading in that it not only
counts from an arbitrary column in the table, it also
does not make accommodations for DISTINCT, JOIN, etc.
as the ORM-level function does. Core should not be
attempting to provide a function like this.
Change-Id: I9916fc51ef744389a92c54660ab08e9695b8afc2
Fixes: #3724
|
|
|||||
Ensure CTE internals are handled during clone
The CTE construct was missing a _copy_internals() method
which would handle CTE-specific structures including _cte_alias,
_restates during a clone operation.
Change-Id: I9aeac9cd24d8f7ae6b70e52650d61f7c96cb6d7e
Fixes: #3722
(cherry picked from commit 7189d0bc82598c2d6dcbb55b054837416db2ee7d)
|
|
|||||
- use a mock here, do away with timing problems for good. need to do this
for the rest of the timing tests
Change-Id: I06a815b1500222126a4dbc2a9a5da3ef7847e321
(cherry picked from commit 74ca7f627ea8f31a8312f965d5249ce1f701d627)
|
|
|||||
a113318
M
|
Merge "Skip UniqueConstraint marked by unique=True in tometadata" into rel_1_0
|
|
||||
- limit oracle DB reaps to identifiers generated from this
run to prevent race conditions against concurrent runs
Change-Id: I065d1cec346ea7af03792c3cc2f30766f73c2bd3
(cherry picked from commit eb28ebb0f8a48ba57f68f21d64479b56bf689d24)
|
|
|||||
Skip UniqueConstraint marked by unique=True in tometadata
Fixes an issue where a Column would be copied with unique=True
and at the same time the UniqueConstraint would also be copied,
leading to duplicate UniqueConstraints in the target table,
when tometadata() is used. Imitates the same logic used
by index=True/Index to avoid duplicates. For some reason
a fix was implemented for Index long ago but never for
UniqueConstraint.
Change-Id: Ie622ee912a6…
|
|
|||||
Convert readthedocs link for their .org -> .io migration for hosted projects
As per their email ‘Changes to project subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
(cherry picked …
|
|
|||||