| @@ 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 | } |
|
| @@ 1069-1073 (lines=5) @@ | ||
| 1066 | // Figure out storage engines - what do we have, etc. |
|
| 1067 | $get_engines = $smcFunc['db_query']('', 'SHOW ENGINES', array()); |
|
| 1068 | ||
| 1069 | while ($row = $smcFunc['db_fetch_assoc']($get_engines)) |
|
| 1070 | { |
|
| 1071 | if ($row['Support'] == 'YES' || $row['Support'] == 'DEFAULT') |
|
| 1072 | $engines[] = $row['Engine']; |
|
| 1073 | } |
|
| 1074 | ||
| 1075 | // Done with this now |
|
| 1076 | $smcFunc['db_free_result']($get_engines); |
|