X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fdatabase%2FDatabase.php;h=5f59f348227da9ef3e54b9aaefbf875c2d7da645;hp=51596da7c3e5d9d0c80460a64dc45376e5d40014;hb=88e3a888cc6823f11df79ac53eb963a7e4d2871a;hpb=824ecd9b75bcbcbda0d9330656ea0f06ce288c3a diff --git a/includes/libs/rdbms/database/Database.php b/includes/libs/rdbms/database/Database.php index 51596da7c3..5f59f34822 100644 --- a/includes/libs/rdbms/database/Database.php +++ b/includes/libs/rdbms/database/Database.php @@ -1334,10 +1334,11 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware // Avoid the overhead of logging calls unless debug mode is enabled if ( $this->getFlag( self::DBO_DEBUG ) ) { $this->queryLogger->debug( - "{method} [{runtime}s] {db_host}: $sql", + "{method} [{runtime}s] {db_host}: {sql}", [ 'method' => $fname, 'db_host' => $this->getServer(), + 'sql' => $sql, 'domain' => $this->getDomainID(), 'runtime' => round( $queryRuntime, 3 ) ]