From 81429be398ae2126b74fe38ccbc17cc87c40d1fd Mon Sep 17 00:00:00 2001 From: Jerome Jamnicky Date: Thu, 15 Apr 2004 13:08:22 +0000 Subject: [PATCH] Add $wgBufferSQLResults and $wgIgnoreSQLErrors - they were being used as globals in wfQuery() and wfGetDB() but not being set anywhere. --- includes/DefaultSettings.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index cbb26ddb37..09ec72ccb0 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -68,6 +68,8 @@ $wgDBtransactions = false; # Set to true if using InnoDB tables $wgDBmysql4 = false; # Set to true to use enhanced fulltext search $wgSqlTimeout = 30; +$wgBufferSQLResults = true; # use buffered queries by default + # Other wikis on this site, can be administered from a single developer account # Array, interwiki prefix => database name $wgLocalDatabases = array(); @@ -128,6 +130,10 @@ $wgReadOnly = false; $wgLogQueries = false; $wgDebugDumpSql = false; +# Whether to disable automatic generation of "we're sorry, +# but there has been a database error" pages. +$wgIgnoreSQLErrors = false; + $wgUseCategoryMagic = false; $wgEnablePersistentLC = false; # Persistent link cache in linkscc table; FAILS on MySQL 3.x $wgCompressedPersistentLC = true; # use gzcompressed blobs -- 2.20.1