From: stronk7 Date: Thu, 1 Oct 2009 15:02:00 +0000 (+0000) Subject: NOBUG: Just adding some "database" words here and there to help a bit when debugging... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c13ff2330b95d525b21da112e43ce5160a50dc0;p=moodle.git NOBUG: Just adding some "database" words here and there to help a bit when debugging problems. --- diff --git a/lib/sessionlib.php b/lib/sessionlib.php index 5123833f27..aac9aa0158 100644 --- a/lib/sessionlib.php +++ b/lib/sessionlib.php @@ -412,7 +412,7 @@ class database_session extends session_stub { global $CFG; if ($this->record and $this->record->sid != $sid) { - error_log('Weird error reading session - mismatched sid'); + error_log('Weird error reading database session - mismatched sid'); return ''; } @@ -516,9 +516,9 @@ class database_session extends session_stub { } catch (Exception $ignored) { } - error_log('Can not write session - please verify max_allowed_packet is at least 4M!'); + error_log('Can not write database session - please verify max_allowed_packet is at least 4M!'); } else { - error_log('Can not write session'); + error_log('Can not write database session'); } } @@ -537,7 +537,7 @@ class database_session extends session_stub { try { $this->database->get_session_lock($this->record->id); } catch (dml_exception $ex) { - error_log('Can not write new session'); + error_log('Can not write new database session'); } }