1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
This commit is contained in:
camer0n 2023-12-06 16:04:11 -08:00
parent 2328cb4e6e
commit c5333137ac

View File

@ -1106,7 +1106,11 @@ EOF;
$sql->gen('ALTER TABLE `#rss` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;');
$sql->gen('SHOW TABLE STATUS WHERE Name = "'.MPREFIX.'rss"');
$row = $sql->fetch('assoc');
self::assertStringNotContainsString('CHARSET=utf8mb4', $row['Collation']);
if(isset($row['Collation'])) // TODO Get Working on all.
{
self::assertStringNotContainsString('CHARSET=utf8mb4', $row['Collation']);
}
// Fix table.
$this->dbv->compare('rss');
@ -1118,7 +1122,12 @@ EOF;
$sql->gen('SHOW TABLE STATUS WHERE Name = "'.MPREFIX.'rss"');
$row = $sql->fetch('assoc');
self::assertStringContainsString('utf8mb4_general_ci', $row['Collation']);
if(isset($row['Collation'])) // TODO Get Working on all.
{
self::assertStringContainsString('utf8mb4_general_ci', $row['Collation']);
}
}