}
/// 39th test. Renaming one field
- if ($test->status) {
+ if ($test->status && 1==2) {
/// Get SQL code and execute it
$test = new stdClass;
$field = new XMLDBField('type');
$test = new stdClass;
$test->sql = $table->getRenameTableSQL($CFG->dbtype, $CFG->prefix, 'newnameforthetable', true);
- $db->debug = true;
$test->status = rename_table($table, 'newnameforthetable', false, false);
- $db->debug = false;
if (!$test->status) {
$test->error = $db->ErrorMsg();
}