MediaWiki REL1_34
DBQueryTimeoutError.php
Go to the documentation of this file.
1<?php
22namespace Wikimedia\Rdbms;
23
30 public function __construct( IDatabase $db, $error, $errno, $sql, $fname ) {
31 $message = "A database query timeout has occurred. \n" .
32 "Query: $sql\n" .
33 "Function: $fname\n" .
34 "Error: $errno $error\n";
35
36 parent::__construct( $db, $error, $errno, $sql, $fname, $message );
37 }
38}
IDatabase null $db
Definition DBError.php:32
Error thrown when a query times out.
__construct(IDatabase $db, $error, $errno, $sql, $fname)
Basic database interface for live and lazy-loaded relation database handles.
Definition IDatabase.php:38