Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
e9876098
Commit
e9876098
authored
Mar 09, 2001
by
dave%intrec.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refix for bug 25693: more accurate regexp to find duplicates when generating…
Refix for bug 25693: more accurate regexp to find duplicates when generating initial duplicates table.
parent
59742102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
checksetup.pl
checksetup.pl
+3
-3
No files found.
checksetup.pl
View file @
e9876098
...
...
@@ -2029,7 +2029,7 @@ if (!($sth->fetchrow_arrayref()->[0])) {
print
(
"Populating duplicates table...\n"
);
$sth
=
$dbh
->
prepare
(
"SELECT longdescs.bug_id, thetext FROM longdescs left JOIN bugs using(bug_id) WHERE (thetext "
.
"regexp '
This bug has been marked as a duplicate of
') AND (resolution = 'DUPLICATE') ORDER"
.
"regexp '
[.*.]{3,3} This bug has been marked as a duplicate of [[:digit:]]{1,5} [.*.]{3,3}
') AND (resolution = 'DUPLICATE') ORDER"
.
" BY longdescs.bug_when"
);
$sth
->
execute
();
...
...
@@ -2044,9 +2044,9 @@ if (!($sth->fetchrow_arrayref()->[0])) {
foreach
$key
(
keys
(
%
dupes
))
{
$dupes
{
$key
}
=~
s/.*
This bug has been marked as a duplicate of (\d{1,5}).*
/$1/sm
;
$dupes
{
$key
}
=~
s/.*
\*\*\* This bug has been marked as a duplicate of (\d{1,5}) \*\*\*.*?
/$1/sm
;
$dbh
->
do
(
"INSERT INTO duplicates VALUES('$dupes{$key}', '$key')"
);
#
BugItsADupeOf Dupe
# BugItsADupeOf Dupe
}
$::regenerateshadow
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment