From 294c7286c30749a183729b1bf259a34947c77359 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Wed, 17 Sep 2008 14:41:16 +0000 Subject: [PATCH] MDL-15666 MDL-16486 --- lib/simpletestlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simpletestlib.php b/lib/simpletestlib.php index 7af88779d2..4646ee1541 100644 --- a/lib/simpletestlib.php +++ b/lib/simpletestlib.php @@ -186,7 +186,7 @@ class MoodleUnitTestCase extends UnitTestCase { continue; } - if ($max_id = $DB->get_field_sql("SELECT MAX(id) FROM {$CFG->prefix}{$table}")) { + if ($max_id = $DB->get_field_sql("SELECT MAX(id) FROM {$CFG->unittest_prefix}{$table}")) { $this->tables[$table] = $max_id; } else { $this->tables[$table] = 0; -- 2.39.5