Manual:$wgDBStrictWarnings/dtp
Database settings: $wgDBStrictWarnings | |
---|---|
Check for warnings after DB queries and throw an exception if an unacceptable warning is detected. |
|
Introduced in version: | 1.42.0 (Gerrit change 979189; git #551ec29e) |
Removed in version: | Still in use |
Allowed values: | Unspecified |
Default value: | false |
Other settings: Alphabetical | By function |
Otolinahas
Check for warnings after DB queries and throw an exception if an unacceptable warning is detected.
This setting is only used if $wgLBFactoryConf['class']
is set to '\Wikimedia\Rdbms\LBFactorySimple'
and $wgDBservers is an empty array.
Otherwise, the 'strictWarnings'
parameter of the server array must be set to achieve the same functionality.