Manual:$wgBufferSQLResults

Database settings: $wgBufferSQLResults
Use buffered queries by default
Introduced in version:1.3.0
Removed in version:1.4.0 (r7517)
Allowed values:(boolean)
Default value:true

Details

edit

Use buffered queries by default.