Commit 4652005
committed
Fix missing table on wb db query output
In #277 this code was changed in order to support a count number for
certain types of queries. That change had a side effect of removing the
default table that MySQL/MariaDB prints for regular queries because that
relies on TTY detection from MySQL/MariaDB itself. To revert to
preivious behavior, only run the new code if we know it is a row
modifying query that will just print the count. Otherwise, use the
previous code path.
Fixes #2901 parent c821b92 commit 4652005
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | 529 | | |
535 | 530 | | |
536 | | - | |
537 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
538 | 537 | | |
539 | | - | |
540 | | - | |
| 538 | + | |
| 539 | + | |
541 | 540 | | |
542 | 541 | | |
543 | 542 | | |
| |||
0 commit comments