Added commit and rollback

This commit is contained in:
Thorsten Muerell
2017-11-14 00:46:10 +01:00
parent 5a1c85aa04
commit 107a162370
6 changed files with 154 additions and 3 deletions

View File

@@ -59,6 +59,11 @@ export function activate(context: vscode.ExtensionContext) {
});
context.subscriptions.push(disposable);
disposable = vscode.commands.registerCommand('frog.checkConnection', () => {
sessionManager.execute("select 1 from dual", 1);
});
context.subscriptions.push(disposable);
function changeSession(node: ConnectionNode) {
sessionManager.currentConnection = node;
}