Skip to content

Commit

Permalink
marklogic-community#492 fixing errors caught by self-test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcassel committed Jan 17, 2017
1 parent b7c6ad3 commit 4f74e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/lib/xquery/setup.xqy
Original file line number Diff line number Diff line change
Expand Up @@ -2384,7 +2384,7 @@ declare function setup:add-range-field-indexes-helper(
admin:database-range-field-index(
$index/db:scalar-type,
$index/db:field-name,
$index/db:collation,
($index/db:collation/fn:string(), "")[1], (: ML6 requires xs:string; later requires xs:string? :)
$index/db:range-value-positions,
$index/db:invalid-values
)
Expand Down Expand Up @@ -2647,7 +2647,7 @@ declare function setup:add-word-lexicons(
setup:remove-existing-word-lexicons($admin-config, $database),
$database,
for $lex in $db-config/db:word-lexicons/db:word-lexicon
return admin:database-word-lexicon($lex/db:collation)
return admin:database-word-lexicon($lex/fn:string())
)
};

Expand Down

0 comments on commit 4f74e8a

Please sign in to comment.