From e096f6115ec144949103da34495e36fbcc3ee544 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Fri, 11 Mar 2005 03:20:31 +0000 Subject: Bug 172284 : checksetup assumes that there are < 99999 bugs Patch by Marc Schumann r=mkanat a=justdave --- checksetup.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 42ee7e295..c82d4a3b4 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -2431,7 +2431,8 @@ if (!($sth->fetchrow_arrayref()->[0])) { "SELECT longdescs.bug_id, thetext " . "FROM longdescs " . "LEFT JOIN bugs using(bug_id) " . - "WHERE (thetext regexp '[.*.]{3,3} This bug has been marked as a duplicate of [[:digit:]]{1,5} [.*.]{3,3}') " . + "WHERE (thetext " . $dbh->sql_regexp . + " '[.*.]{3} This bug has been marked as a duplicate of [[:digit:]]+ [.*.]{3}') " . "AND (resolution = 'DUPLICATE') " . "ORDER BY longdescs.bug_when"); $sth->execute(); -- cgit v1.2.3-24-g4f1b