From: Dylan William Hardison Date: Wed, 10 Jun 2020 13:32:49 +0000 (-0400) Subject: fix regexp that is not compatible with mysql 8 (#92) X-Git-Tag: bugzilla-5.2~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06b3f19ddfa6306788675527baf63fb252f618a4;p=thirdparty%2Fbugzilla.git fix regexp that is not compatible with mysql 8 (#92) --- diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index ab71a5334f..01b30b3bfa 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -4115,7 +4115,7 @@ sub _add_password_salt_separator { my $profiles = $dbh->selectall_arrayref( "SELECT userid, cryptpassword FROM profiles WHERE (" - . $dbh->sql_regexp("cryptpassword", "'^[^,]+{'") + . $dbh->sql_regexp("cryptpassword", "'^[^,]+\\\\{'") . ")"); if (@$profiles) {