]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 172284 : checksetup assumes that there are < 99999 bugs
authortravis%sedsystems.ca <>
Fri, 11 Mar 2005 03:20:31 +0000 (03:20 +0000)
committertravis%sedsystems.ca <>
Fri, 11 Mar 2005 03:20:31 +0000 (03:20 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>   r=mkanat a=justdave

checksetup.pl

index 42ee7e29583b53609451a4514067e195e303a279..c82d4a3b4b71e2e692da7796a6687cdb99150d32 100755 (executable)
@@ -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();