Skip to content

Commit

Permalink
SQLServer metadata fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Jun 4, 2019
1 parent c05aced commit 479a42a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Database private constructor(val connector: () -> Connection) {
private val supportsMixedId = metadata.supportsMixedCaseIdentifiers()
private val supportsQuotedMixedId = metadata.supportsMixedCaseQuotedIdentifiers()
val keywords = ANSI_SQL_2003_KEYWORDS + VENDORS_KEYWORDS[currentDialect.name].orEmpty() + metadata.sqlKeywords.split(',')
private val extraNameCharacters by lazy(LazyThreadSafetyMode.NONE) { metadata.extraNameCharacters!! }
private val extraNameCharacters = metadata.extraNameCharacters!!
private val identifierLengthLimit = metadata.maxColumnNameLength.takeIf { it > 0 } ?: Int.MAX_VALUE

val checkedIdentities = object : LinkedHashMap<String, Boolean> (100) {
Expand Down

0 comments on commit 479a42a

Please sign in to comment.