From 1c13ff2330b95d525b21da112e43ce5160a50dc0 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 1 Oct 2009 15:02:00 +0000 Subject: [PATCH] NOBUG: Just adding some "database" words here and there to help a bit when debugging problems. --- lib/sessionlib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'); } } -- 2.39.5