Closed ChristianGruen closed 2 years ago
Command script:
SET MIXUPDATES true XQUERY xquery:eval('<a/> update { }')
The query raises an error. It should be detected as non-updating in spite of the MIXUPDATES flag.
MIXUPDATES
Background: Various checks are omitted if MIXUPDATES is enabled.
https://github.com/BaseXdb/basex/blob/4b1d5178e1505127a386f3af07feb32900350228/basex-core/src/main/java/org/basex/query/QueryParser.java#L289-L298
Command script:
The query raises an error. It should be detected as non-updating in spite of the
MIXUPDATES
flag.Background: Various checks are omitted if MIXUPDATES is enabled.
https://github.com/BaseXdb/basex/blob/4b1d5178e1505127a386f3af07feb32900350228/basex-core/src/main/java/org/basex/query/QueryParser.java#L289-L298