-
Bug
-
Resolution: Fixed
-
Major
-
3.0.10
-
None
The ACP statistics try to list the database size retrieved with 'SELECT ((SUM(size) * 8.0) * 1024.0) as dbsize FROM sysfiles' which does not work on Azure.
Relevant code from phpBB/includes/functions_admin.php:
case 'mssql':
|
case 'mssql_odbc':
|
case 'mssqlnative':
|
$sql = 'SELECT ((SUM(size) * 8.0) * 1024.0) as dbsize
|
FROM sysfiles';
|
$result = $db->sql_query($sql, 7200);
|
$database_size = ($row = $db->sql_fetchrow($result)) ? $row['dbsize'] : false;
|
$db->sql_freeresult($result);
|
break;
|
|