| @@ 1074-1078 (lines=5) @@ | ||
| 1071 | // Figure out storage engines - what do we have, etc. |
|
| 1072 | $get_engines = $smcFunc['db_query']('', 'SHOW ENGINES', array()); |
|
| 1073 | ||
| 1074 | while ($row = $smcFunc['db_fetch_assoc']($get_engines)) |
|
| 1075 | { |
|
| 1076 | if ($row['Support'] == 'YES' || $row['Support'] == 'DEFAULT') |
|
| 1077 | $engines[] = $row['Engine']; |
|
| 1078 | } |
|
| 1079 | ||
| 1080 | // Done with this now |
|
| 1081 | $smcFunc['db_free_result']($get_engines); |
|
| @@ 156-160 (lines=5) @@ | ||
| 153 | // Figure out which engines we have |
|
| 154 | $get_engines = $smcFunc['db_query']('', 'SHOW ENGINES', array()); |
|
| 155 | ||
| 156 | while ($row = $smcFunc['db_fetch_assoc']($get_engines)) |
|
| 157 | { |
|
| 158 | if ($row['Support'] == 'YES' || $row['Support'] == 'DEFAULT') |
|
| 159 | $engines[] = $row['Engine']; |
|
| 160 | } |
|
| 161 | ||
| 162 | $smcFunc['db_free_result']($get_engines); |
|
| 163 | } |
|