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[]
377
377
appendRows(data.rows);
378
378
}
379
379
380
- if (data.rows === undefined && totalRows === 0) {
380
+ if (data.rows === undefined || totalRows === 0) {
381
381
document.getElementById(messageSpanId).innerText = 'Statement executed with no result set returned. Rows affected: ' + data.update_count;
382
- } else {
382
+ } else if (totalRows > 0) {
383
383
if (data.executionTime) {
384
384
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.' : '');
385
385
}
You can’t perform that action at this time.
0 commit comments