if ($this->optimizeTable === false
) { if ($this->db->DBDebug
) { throw new DatabaseException('Unsupported feature of the database platform you are using.'
);
} return false;
} $result =
[];
foreach ($this->db->
listTables() as $tableName) { $res =
$this->db->
query(sprintf($this->optimizeTable,
$this->db->
escapeIdentifiers($tableName)));
if (is_bool($res)) { return $res;
} // Build the result array...
$res =
$res->
getResultArray();
// Postgre & SQLite3 returns empty array
if (empty($res)) {