summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/default.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-10-04 11:32:20 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-10-04 11:32:20 -0400
commit562e37ee7eaab8b19a9f081d4b170b95fce4f619 (patch)
tree02a1429a1306973b185dbc4b975fa39b9f6824de /lib/sqlalchemy/engine/default.py
parentf0ea9e37f94bd39fa4f0785dbdcd0ee1759c4a11 (diff)
downloadsqlalchemy-562e37ee7eaab8b19a9f081d4b170b95fce4f619.tar.gz
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 Fixes: #3810
Diffstat (limited to 'lib/sqlalchemy/engine/default.py')
0 files changed, 0 insertions, 0 deletions