diff options
author | travis%sedsystems.ca <> | 2005-03-11 04:20:31 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-11 04:20:31 +0100 |
commit | e096f6115ec144949103da34495e36fbcc3ee544 (patch) | |
tree | 3e8775643543cb71a841830dbc6f4e247b088e50 /checksetup.pl | |
parent | ab5067bb0995cce2afe51803b5f005cc9f994416 (diff) | |
download | bugzilla-e096f6115ec144949103da34495e36fbcc3ee544.tar.gz bugzilla-e096f6115ec144949103da34495e36fbcc3ee544.tar.xz |
Bug 172284 : checksetup assumes that there are < 99999 bugs
Patch by Marc Schumann <wurblzap@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |