Bug 487443: MS-SQL requires a different use of SUBSTRING in Bugzilla::User - Patch by Michael Thomas <m.thomas@valueclick.com> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@257273 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
47ad2eccc2
commit
5201e6f0cd
@ -1657,7 +1657,7 @@ sub is_available_username {
|
||||
$dbh->sql_position(q{':'}, 'eventdata') . "- 1)) = ?)
|
||||
OR (tokentype = 'emailnew'
|
||||
AND SUBSTRING(eventdata, (" .
|
||||
$dbh->sql_position(q{':'}, 'eventdata') . "+ 1)) = ?)",
|
||||
$dbh->sql_position(q{':'}, 'eventdata') . "+ 1), LENGTH(eventdata)) = ?)",
|
||||
undef, ($username, $username));
|
||||
|
||||
if ($eventdata) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user