Changeset 6774


Ignore:
Timestamp:
Feb 6, 2018, 3:02:06 PM (19 months ago)
Author:
mabarracus
Message:

fix bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/sbin/analyticsd

    r6771 r6774  
    281281            size = 0
    282282            rows = 0
    283             self.cur.execute('select round(((data_length + index_length - data_free) / 1024 / 1024),2) `size`,table_rows from information_schema.TABLES where table_schema = "analytics" and table_name = "{}";'.format(table_name))
     283            self.cur.execute('select floor((data_length + index_length) / 1048576) `size`,table_rows from information_schema.TABLES where table_schema = "analytics" and table_name = "{}";'.format(table_name))
    284284
    285285            res=self.cur.fetchone()
Note: See TracChangeset for help on using the changeset viewer.