Jump to content

Manual:$wgSQLMode

From mediawiki.org
This page is a translated version of the page Manual:$wgSQLMode and the translation is 67% complete.
MySQLの固有設定: $wgSQLMode
MySQL の sql_mode パラメーターの値
導入されたバージョン:1.17.0 (r68558)
除去されたバージョン:使用中
許容される値:(文字列) または null
既定値:''

詳細

If this setting is not null, the MySQL server is sent the SQL query SET sql_mode = "$wgSQLMode". See the MySQL documentation for more details. The default empty string turns off all modes, including strict, if set.

If this setting is null, the query to set sql_mode is not issued. This can be used to skip the setting for performance reasons and assume the database admin (DBA) has done their best job.