QA
Dieser Commit ist enthalten in:
Ursprung
898ba15ff6
Commit
0155920475
3 geänderte Dateien mit 28 neuen und 26 gelöschten Zeilen
|
@ -52,7 +52,7 @@ class Msd_Dump
|
|||
}
|
||||
// set db to be dumped first -> start index is needed
|
||||
$this->dbActual = $dbNames[0];
|
||||
//Debug::out($taskList->getTasks());
|
||||
//var_dump($taskList->getTasks());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -88,9 +88,9 @@ class Msd_Dump
|
|||
/**
|
||||
* Get sum of tables, records and data size grouped by table type
|
||||
*
|
||||
* @param string $db The database to check
|
||||
* @param string $dbName The database to check
|
||||
*
|
||||
* @return void
|
||||
* @return array
|
||||
*/
|
||||
private function _getDatabaseSums($dbName)
|
||||
{
|
||||
|
@ -185,6 +185,7 @@ class Msd_Dump
|
|||
'table' => $table['TABLE_NAME']
|
||||
)
|
||||
);
|
||||
|
||||
// add dump data
|
||||
if ($table['TABLE_TYPE'] === 'BASE TABLE') {
|
||||
$taskList->addTask(
|
||||
|
@ -194,6 +195,7 @@ class Msd_Dump
|
|||
)
|
||||
);
|
||||
}
|
||||
|
||||
// add keys and indexes
|
||||
$taskList->addTask(
|
||||
Msd_TaskManager::GET_ALTER_TABLE_ADD_KEYS,
|
||||
|
|
|
@ -62,7 +62,7 @@ class Msd_Registry extends Zend_Registry
|
|||
*/
|
||||
public static function setConfig(Msd_Config $config)
|
||||
{
|
||||
self::set(self::CONFIG_KEY . '', $config);
|
||||
self::set(self::CONFIG_KEY, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -106,7 +106,7 @@ class Msd_TaskManager
|
|||
*
|
||||
* @param string $type
|
||||
*
|
||||
* @return array|false
|
||||
* @return array|bool
|
||||
*/
|
||||
public function getTasks($type = '')
|
||||
{
|
||||
|
|
Laden …
In neuem Issue referenzieren