From cff9544ab3aba84b65b008e51b79cdf486567d12 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 2 Oct 2019 15:37:24 -0400 Subject: Change Oracle max_identifier_length to 128 The max_identifier_length for the Oracle dialect is now 128 characters by default, unless compatibility version less than 12.2 upon first connect, in which case the legacy length of 30 characters is used. This is a continuation of the issue as committed to the 1.3 series which adds max identifier length detection upon first connect as well as warns for the change in Oracle server. Fixes: #4857 Change-Id: I5b11edaebb54ec7f0e5456a785105838a1d752e5 --- test/dialect/oracle/test_compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dialect/oracle/test_compiler.py') diff --git a/test/dialect/oracle/test_compiler.py b/test/dialect/oracle/test_compiler.py index a6ea7d2b1..32ef7fd78 100644 --- a/test/dialect/oracle/test_compiler.py +++ b/test/dialect/oracle/test_compiler.py @@ -664,11 +664,11 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): checkparams={"param_1": 20, "param_2": 10}, ) - def test_long_labels(self): + def test_long_labels_legacy_ident_length(self): dialect = default.DefaultDialect() dialect.max_identifier_length = 30 - ora_dialect = oracle.dialect() + ora_dialect = oracle.dialect(max_identifier_length=30) m = MetaData() a_table = Table( -- cgit v1.2.1