Lines Matching refs:dbh

1054     global $dbh, $site_method, $site_url, $basedir;
1062 $res = $dbh->prepare("
1083 … $res = $dbh->prepare("SELECT ts1, email, ldesc FROM bugdb WHERE id = ?")->execute([$bug_id]);
1175 global $bug, $dbh, $bug_types, $versions;
1230 global $dbh, $bugEmail, $docBugEmail, $secBugEmail, $security_distro_people;
1249 $res = $dbh->prepare('
1269 …$handles = $dbh->prepare("SELECT GROUP_CONCAT(handle) FROM bugdb_packages_maintainers WHERE packag…
1289 …$assigned = $dbh->prepare("SELECT assign FROM bugdb WHERE id= ? ")->execute([$bug_id])->fetch(\PDO…
1296 …$bcc = $dbh->prepare("SELECT email FROM bugdb_subscribe WHERE bug_id=?")->execute([$bug_id])->fetc…
1314 global $dbh;
1338 …return [" AND MATCH (bugdb.email,sdesc,ldesc) AGAINST (" . $dbh->quote($newsearch) . " IN BOOLEAN …
1342 …return [" AND MATCH (bugdb.email,sdesc,ldesc) AGAINST (" . $dbh->quote($search) . " IN BOOLEAN MOD…
1346 … return [" AND MATCH (bugdb.email,sdesc,ldesc) AGAINST (" . $dbh->quote($search) . ")", $ignored];
1360 global $dbh, $siteBig, $site_method, $site_url, $bugEmail;
1372 $affected = $dbh->prepare($query, null, null)->execute([$hash, $bug_id, $email]);
1414 global $dbh;
1424 $sub = $dbh->prepare($query)->execute([$bug_id, $hash])->fetch();
1441 $dbh->prepare($query)->execute([$bug_id, $hash, $sub['email']]);
1450 global $dbh;
1452 return $dbh->prepare("
1465 global $dbh;
1467 return $dbh->prepare("
1480 global $dbh;
1482 …return (bool) $dbh->prepare('SELECT 1 FROM bugdb WHERE id = ? AND passwd = ?')->execute([$bug_id, …