~ubuntu-branches/ubuntu/utopic/mysql-workbench/utopic

« back to all changes in this revision

Viewing changes to plugins/wb.sqlide/sqlide_catalogman_ext.py

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-05-31 12:03:58 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140531120358-cjik5ofkmj0fxsn8
Tags: 6.1.6+dfsg-1
* New upstream release [May 2014].
* Dropped "prtcl.patch".
* "debian/clean": better clean-up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import grt 
21
21
 
22
22
from workbench.log import log_error
23
 
from mforms import IconStringColumnType, StringColumnType, LongIntegerColumnType, IntegerColumnType
 
23
from mforms import IconStringColumnType, StringColumnType, LongIntegerColumnType, IntegerColumnType, NumberWithUnitColumnType
24
24
from workbench.notifications import NotificationCenter
25
25
from wb_admin_utils import make_panel_header
26
26
from workbench.utils import human_size, Version
377
377
               ("Row_format", StringColumnType, "Row Format", 100, None),
378
378
               ("Rows", LongIntegerColumnType, "Rows", 80, None),
379
379
               ("Avg_row_length", LongIntegerColumnType, "Avg Row Length", 100, None),
380
 
               ({'field' : "Data_length", 'format_func' : lambda x: human_size(long(x))}, StringColumnType, "Data Length", 100, None),
381
 
               ({'field' : "Max_data_length", 'format_func' : lambda x: human_size(long(x))}, StringColumnType, "Max Data Length", 100, None),
382
 
               ({'field' : "Index_length", 'format_func' : lambda x: human_size(long(x))}, StringColumnType, "Index Length", 100, None),
383
 
               ({'field' : "Data_free", 'format_func' : lambda x: human_size(long(x))}, StringColumnType, "Data Free", 80, None),
 
380
               ({'field' : "Data_length", 'format_func' : lambda x: human_size(long(x))}, NumberWithUnitColumnType, "Data Length", 100, None),
 
381
               ({'field' : "Max_data_length", 'format_func' : lambda x: human_size(long(x))}, NumberWithUnitColumnType, "Max Data Length", 100, None),
 
382
               ({'field' : "Index_length", 'format_func' : lambda x: human_size(long(x))}, NumberWithUnitColumnType, "Index Length", 100, None),
 
383
               ({'field' : "Data_free", 'format_func' : lambda x: human_size(long(x))}, NumberWithUnitColumnType, "Data Free", 80, None),
384
384
               ("Auto_increment", LongIntegerColumnType, "Auto Increment", 80, None),
385
385
               ("Create_time", StringColumnType, "Create Time", 100, None),
386
386
               ("Update_time", StringColumnType, "Update Time", 100, None),