Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | private function checkInnodbEngine(Varien_Db_Adapter_Interface $dbAdapter) |
||
40 | { |
||
41 | $innodbFound = false; |
||
42 | |||
43 | $engines = $dbAdapter->fetchAll('SHOW ENGINES'); |
||
44 | |||
45 | foreach ($engines as $engine) { |
||
46 | if (strtolower($engine['Engine']) === 'innodb') { |
||
47 | $innodbFound = true; |
||
48 | break; |
||
49 | } |
||
50 | } |
||
51 | |||
52 | return $innodbFound; |
||
53 | } |
||
54 | } |
||
55 |