]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Include schema in all_tab_comments query
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 13 Mar 2020 03:11:18 +0000 (23:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 13 Mar 2020 03:13:35 +0000 (23:13 -0400)
commit19b248c14c37c88280018423b3ac929ea101cc46
treed300503cca04e0f607d65cc351a84f43a846ce2e
parent82ab7c825d30cce4a02c5226755e744e28752466
Include schema in all_tab_comments query

Fixed regression / incorrect fix caused by fix for :ticket:`5146` where the
Oracle dialect reads from the "all_tab_comments" view to get table comments
but fails to accommodate for the current owner of the table being
requested, causing it to read the wrong comment if multiple tables of the
same name exist in multiple schemas.

Fixes: #5146
Change-Id: Id79fbaa81b0e36cd4af60c48e4ab35c593ace057
(cherry picked from commit f1429823d31c56b589017e60328f826f5e721f0e)
doc/build/changelog/unreleased_13/5146.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/base.py
test/dialect/oracle/test_reflection.py