MDL-53226 search_simpledb: Fix table name in query
authorJun Pataleta <jun@moodle.com>
Thu, 29 Mar 2018 04:38:06 +0000 (12:38 +0800)
committerJun Pataleta <jun@moodle.com>
Thu, 29 Mar 2018 04:38:06 +0000 (12:38 +0800)
search/engine/simpledb/tests/engine_test.php

index 46dd4a6..807fedc 100644 (file)
@@ -346,7 +346,7 @@ class search_simpledb_engine_testcase extends advanced_testcase {
             return;
         }
 
             return;
         }
 
-        $DB->execute("ALTER FULLTEXT INDEX ON t_search_simpledb_index START UPDATE POPULATION");
+        $DB->execute("ALTER FULLTEXT INDEX ON {search_simpledb_index} START UPDATE POPULATION");
 
         $catalogname = $DB->get_prefix() . 'search_simpledb_catalog';
         $retries = 0;
 
         $catalogname = $DB->get_prefix() . 'search_simpledb_catalog';
         $retries = 0;