1 | public class ProcessesTab extends BaseSQLTab↵ | | 1 | public class ShowVariablesTab extends BaseSQLTab↵
|
2 | {↵ | | 2 | {↵
|
3 | private static final StringManager s_stringMgr =↵ | | 3 | private static final StringManager s_stringMgr =↵
|
4 | StringManagerFactory.getStringManager(ProcessesTab.class);↵ | | 4 | StringManagerFactory.getStringManager(ShowVariablesTab.class);↵
|
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * This interface defines locale specific strings. This should be↵ | | 6 | * This interface defines locale specific strings. This should be↵
|
7 | * replaced with a property file.↵ | | 7 | * replaced with a property file.↵
|
8 | */↵ | | 8 | */↵
|
9 | private interface i18n↵ | | 9 | private interface i18n↵
|
10 | {↵ | | 10 | {↵
|
11 | // i18n[mysql.processes=MySQL Processes]↵ | | 11 | // i18n[mysql.variables=MySQL Variables]↵
|
12 | String TITLE = s_stringMgr.getString("mysql.processes");↵ | | 12 | String TITLE = s_stringMgr.getString("mysql.variables");↵
|
13 | // i18n[mysql.displayProcesses=(MySQL) Display database processes]↵ | | 13 | // i18n[mysql.↵
|
14 | String HINT = s_stringMgr.getString("mysql.displayProcesses");↵ | | |
|
15 | }↵ | | |
|
|
16 | /** Logger for this class. */↵ | | |
|
17 | // private final static ILogger s_log =↵ | | |
|
18 | // LoggerController.createLogger(ProcessesTab.class);↵ | | |
|
|
19 | public Process↵ | | 14 | shoeVariables=(MySQL) Show Variables]↵
|
| | | 15 | String HINT = s_stringMgr.getString("mysql.shoeVariables");↵
|
| | | 16 | }↵
|
|
20 | esTab()↵ | | 17 | public ShowVariablesTab()↵
|
21 | {↵ | | 18 | {↵
|
22 | super(i18n.TITLE, i18n.HINT);↵ | | 19 | super(i18n.TITLE, i18n.HINT);↵
|
23 | }↵ | | 20 | }↵
|
|
24 | protected String getSQL()↵ | | 21 | protected String getSQL()↵
|
25 | {↵ | | 22 | {↵
|
26 | return "show full processlist";↵ | | 23 | return "show variables";↵
|
27 | | | 24 |
|