MediaWiki REL1_37
DBQueryTimeoutError.php
Go to the documentation of this file.
1<?php
22namespace Wikimedia\Rdbms;
23
31
41 public function __construct( IDatabase $db, $error, $errno, $sql, $fname ) {
42 $message = "A database query timeout has occurred. \n" .
43 "Query: $sql\n" .
44 "Function: $fname\n" .
45 "Error: $errno $error\n";
46
47 parent::__construct( $db, $error, $errno, $sql, $fname, $message );
48 }
49}
IDatabase null $db
Definition DBError.php:34
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