We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 368b1ae commit 2c1d5c9Copy full SHA for 2c1d5c9
src/notebooks/Controller.ts
@@ -87,8 +87,8 @@ export class IBMiController {
87
const results = await query.run();
88
89
const table = results.data;
90
- if (table === undefined && results.success && !results.has_results && results.update_count > 0) {
91
- items.push(vscode.NotebookCellOutputItem.text(`Statement executed successfully. ${results.update_count} rows affected.`, `text/markdown`));
+ if (table === undefined && results.success && !results.has_results) {
+ items.push(vscode.NotebookCellOutputItem.text(`Statement executed successfully. ${results.update_count ? `${results.update_count} rows affected.` : ``}`, `text/markdown`));
92
break;
93
}
94
0 commit comments