Configuration: Patching
- The following configuration options control the behavior of the JavaScript engine during patch operations.
- Learn more about patching in:
- In this article:
Patching.AllowStringCompilation
-
Determines whether the JavaScript engine is allowed to compile code from strings at runtime,
using constructs such aseval(...)
ornew Function(arg1, arg2, ..., functionBody)
. -
A
JavaScriptException
is thrown if this option is disabled and such a construct is used.
- Type:
bool
- Default:
false
- Scope: Server-wide or per database
Patching.MaxStepsForScript
Specifies the maximum number of execution steps a patch script can perform.
A Jint.Runtime.StatementsCountOverflowException
is thrown if the script exceeds this number.
- Type:
int
- Default:
10_000
- Scope: Server-wide or per database
Patching.StrictMode
Enables strict mode in the JavaScript engine used during patching.
- Type:
bool
- Default:
true
- Scope: Server-wide or per database