Manual:$wgSQLMode/zh

This page is a translated version of the page Manual:$wgSQLMode and the translation is 17% complete.
Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎中文 • ‎日本語
MySQL相关: $wgSQLMode
Value for the MySQL sql_mode parameter
引进版本:1.17.0 (r68558)
移除版本:仍在使用
允许的值:(字符串)或null
默认值:''

Details

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 is null, which means that 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.