1 | public class ShowLogsTab 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(ShowLogsTab.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.logs=MySQL Logs]↵ | | 11 | // i18n[mysql.variables=MySQL Variables]↵
|
12 | String TITLE = s_stringMgr.getString("mysql.logs");↵ | | 12 | String TITLE = s_stringMgr.getString("mysql.variables");↵
|
13 | // i18n[mysql.showLogs=(MySQL) Show Logs]↵ | | 13 | // i18n[mysql.shoeVariables=(MySQL) Show Variables]↵
|
14 | String HINT = s_stringMgr.getString("mysql.showLogs");↵ | | 14 | String HINT = s_stringMgr.getString("mysql.shoeVariables");↵
|
15 | }↵ | | 15 | }↵
|
|
16 | public ShowLogsTab()↵ | | 16 | public ShowVariablesTab()↵
|
17 | {↵ | | 17 | {↵
|
18 | super(i18n.TITLE, i18n.HINT);↵ | | 18 | super(i18n.TITLE, i18n.HINT);↵
|
19 | }↵ | | 19 | }↵
|
|
20 | protected String getSQL()↵ | | 20 | protected String getSQL()↵
|
21 | {↵ | | 21 | {↵
|
22 | return "show logs";↵ | | 22 | return "show variables";↵
|
23 | | | 23 |
|