File: missing_info.py

package info (click to toggle)
mysql-workbench 6.2.3%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 102,612 kB
  • ctags: 84,593
  • sloc: ansic: 804,682; cpp: 438,759; yacc: 59,129; python: 54,293; xml: 48,851; sql: 5,512; objc: 1,414; makefile: 505; sh: 455; java: 237; ruby: 6; perl: 5; php: 1
file content (41 lines) | stat: -rw-r--r-- 2,157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
opts = [
{'name': 'ansi', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
#{'name': 'bdb-no-recover', 'values': ({'off':'0', 'on':'1', 'type':'boolean'},)},
#{'name': 'bdb-no-sync', 'values': ({'off':'0', 'on':'1', 'type':'boolean'},)},
#{'name': 'bdb-shared-data', 'values': ({'off':'0', 'on':'1', 'type':'boolean'},)},
{'name': 'bootstrap', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
{'name': 'console', 'values': [{'off':'0', 'on':'1', 'type':'boolean', 'platform':'windows'}]},
{'name': 'des-key-file', 'values': []},
#{'name': 'help', 'values': ()},
{'name': 'innodb_rollback_on_timeout', 'values': []},
{'name': 'log-long-format', 'values': []},
{'name': 'mysql-backup', 'values': []},
{'name': 'safe-mode', 'values': [{'off':'0', 'on':'1', 'type':'boolean'}]},
{'name': 'slave-skip-errors', 'values': []},
{'name': 'symbolic-links', 'values': [{'off':'0', 'on':'1', 'type':'boolean'}], 'disabledby':'skip-symbolic-links'},
{'name': 'verbose', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
#{'name': 'version', 'values': ()},
{'name': 'standalone', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
{'name': 'enable-named-pipe', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
{'name': 'old', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
{'name': 'one-thread', 'values': [{'off':'del', 'on':'name', 'type':'boolean'}]},
#{'name': 'maria', 'values': ()},
#{'name': 'maria-checkpoint-interval', 'values': ()},
#{'name': 'maria-log-dir-path', 'values': ()},
#{'name': 'maria-max-sort-file-size', 'values': ()},
{'name': 'skip-innodb', 'values': [{ 'off': 'del', 'on': 'name', 'type': 'boolean'}]
        , 'caption':'skip-innodb', 'description':'Disable InnoDB', 'versions': ((),((5, 1),), ())
},
{'name': 'concurrent_insert', 'disabledby' : 'skip-concurrent-insert'},
{'name': 'local-infile', 'values': [{ 'off': '0', 'on': '1', 'type': 'boolean', 'default':'true'}]}
]

non_requested = map(lambda x: x['name'], opts)

def get_def(name):
    adef = None
    for o in opts:
        if o['name'] == name:
            adef = o
            non_requested.remove(name)
    return adef