Jump to content

Manual:$wgDBStrictWarnings

From mediawiki.org
This page is a translated version of the page Manual:$wgDBStrictWarnings and the translation is 33% complete.
データベースの設定: $wgDBStrictWarnings
Check for warnings after DB queries and throw an exception if an unacceptable warning is detected.
導入されたバージョン:1.42.0 (Gerrit change 979189; git #551ec29e)
除去されたバージョン:使用中
許容される値:未指定
既定値:false

詳細

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.