File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -377,9 +377,9 @@ export function generateScroller(basicSelect: string, parameters: SqlParameter[]
377377 appendRows(data.rows);
378378 }
379379
380- if (data.rows === undefined && totalRows === 0) {
380+ if (data.rows === undefined || totalRows === 0) {
381381 document.getElementById(messageSpanId).innerText = 'Statement executed with no result set returned. Rows affected: ' + data.update_count;
382- } else {
382+ } else if (totalRows > 0) {
383383 if (data.executionTime) {
384384 document.getElementById(statusId).innerText = (noMoreRows ? ('Loaded ' + totalRows + ' rows in ' + data.executionTime.toFixed() + 'ms. End of data.') : ('Loaded ' + totalRows + ' rows in ' + data.executionTime.toFixed() + 'ms. More available.')) + ' ' + (updateTable ? 'Updatable.' : '');
385385 }
You can’t perform that action at this time.
0 commit comments