Adding logs

skala
Julio Montoya 12 years ago
parent 3fe0865b3f
commit 996a0ee752
  1. 2
      main/install/index.php
  2. 2
      main/install/update-db-1.8.8-1.9.0.inc.php

@ -778,6 +778,8 @@ if (@$_POST['step2']) {
$singleDbForm = isset($_configuration['single_database']) ? $_configuration['single_database'] : false; $singleDbForm = isset($_configuration['single_database']) ? $_configuration['single_database'] : false;
} }
Log::notice("singledbForm: '$singleDbForm'");
Database::query("SET storage_engine = MYISAM;"); Database::query("SET storage_engine = MYISAM;");
if (version_compare($my_old_version, '1.8.7', '>=')) { if (version_compare($my_old_version, '1.8.7', '>=')) {

@ -306,6 +306,8 @@ if (defined('SYSTEM_INSTALLATION')) {
$prefix = get_config_param('table_prefix'); $prefix = get_config_param('table_prefix');
} }
Log::notice("Database prefix: '$prefix'");
// Get the courses databases queries list (c_q_list) // Get the courses databases queries list (c_q_list)
$c_q_list = get_sql_file_contents('migrate-db-'.$old_file_version.'-'.$new_file_version.'-pre.sql', 'course'); $c_q_list = get_sql_file_contents('migrate-db-'.$old_file_version.'-'.$new_file_version.'-pre.sql', 'course');
Log::notice('Starting migration: '.$old_file_version.' - '.$new_file_version); Log::notice('Starting migration: '.$old_file_version.' - '.$new_file_version);

Loading…
Cancel
Save