← Back to team overview

mahara-contributors team mailing list archive

[Bug 1691329] Re: Fetching folder size value not working for Mysql

 

** Changed in: mahara/17.04
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1691329

Title:
  Fetching folder size value not working for Mysql

Status in Mahara:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Released
Status in Mahara 17.10 series:
  Fix Committed

Bug description:
  We have a bit of code to estimate the size of a folder to display it
  in the files content list.

  This works on postgres but fails on mysql

  The issue is when we call SUM(aff.size) in postgres it sets the column
  title to sum for the results  but with mysql it returns SUM(aff.size)
  as the column title.

  The fix https://reviews.mahara.org/#/c/7765/

  sorts this out as we give it a column alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1691329/+subscriptions


References