Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
df28f09e
Commit
df28f09e
authored
4 years ago
by
Sebastian Listl
Browse files
Options
Downloads
Patches
Plain Diff
#1063558: accidental global variable fixed
parent
49da3610
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
process/Sql_lib/process.js
+1
-1
1 addition, 1 deletion
process/Sql_lib/process.js
with
1 addition
and
1 deletion
process/Sql_lib/process.js
+
1
−
1
View file @
df28f09e
...
...
@@ -4068,7 +4068,7 @@ SqlUtils.replaceConditionTemplate = function(pCondition, pPlaceholder, pReplacem
---------------------
*/
//use replaceAll because it's faster and supports negative lookbehinds
replacements
=
{};
var
replacements
=
{};
//manually readd the replaced backslashes by using a group reference, because they a part of the match and therefore replaced by "replaceAll"
//since the field COULD contain already a group reference (I think this is extremely uncommon;
//probably that never happens but better stay save): escape that references within the fieldname
...
...
This diff is collapsed.
Click to expand it.
Sebastian Listl
@s.listl
mentioned in commit
f6e2ffd0
·
4 years ago
mentioned in commit
f6e2ffd0
mentioned in commit f6e2ffd0bb7cdd43dfd574d47663b35c8c5677ae
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment