Skip to content

OracleEnhanced::Quoting::NONQUOTED_OBJECT_NAME has "hard-coded" identifier length #1704

@yahonda

Description

@yahonda

Steps to reproduce

#1703 introduces longer identifier support. However, there is hardcoded value expecting shorter identifier length, 30 bytes.

Expected behavior

OracleEnhanced::Quoting::NONQUOTED_OBJECT_NAME or equivalent should return value depending on max_identifier_length introduced in #1703.

Actual behavior

OracleEnhanced::Quoting::NONQUOTED_OBJECT_NAME has hard coded{0,29} in NONQUOTED_OBJECT_NAME = /[[:alpha:]][\w$#]{0,29}/

System configuration

Rails version:master

Oracle enhanced adapter version:master

Ruby version:ruby 2.6.0dev (2018-04-16 trunk 63163) [x86_64-linux]

Oracle Database version:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions