]> 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:24 +0000 (23:13 -0400)
commitf1429823d31c56b589017e60328f826f5e721f0e
treecdf48528f09c781ce8a79aa54a197eedfb22cc34
parent993e6449e3f5f3532f6f5426b824718435ce6c6d
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
doc/build/changelog/unreleased_13/5146.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/base.py
test/dialect/oracle/test_reflection.py