From: travis%sedsystems.ca <> Date: Fri, 11 Mar 2005 03:20:31 +0000 (+0000) Subject: Bug 172284 : checksetup assumes that there are < 99999 bugs X-Git-Tag: bugzilla-2.19.3~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e096f6115ec144949103da34495e36fbcc3ee544;p=thirdparty%2Fbugzilla.git Bug 172284 : checksetup assumes that there are < 99999 bugs Patch by Marc Schumann r=mkanat a=justdave --- diff --git a/checksetup.pl b/checksetup.pl index 42ee7e2958..c82d4a3b4b 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();