]> git.mjollnir.org Git - moodle.git/commitdiff
NOBUG: Just adding some "database" words here and there to help a bit when debugging...
authorstronk7 <stronk7>
Thu, 1 Oct 2009 15:02:00 +0000 (15:02 +0000)
committerstronk7 <stronk7>
Thu, 1 Oct 2009 15:02:00 +0000 (15:02 +0000)
lib/sessionlib.php

index 5123833f27e5fd207dd7e95012b0e55531fa2499..aac9aa015820020c30febe0f7e17b2c5396ab095 100644 (file)
@@ -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');
             }
         }