forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc5e46c7
committed
Fix bogus list-iteration code in pg_regress.c, affecting ecpg tests only.
While looking at a recent buildfarm failure in the ecpg tests, I wonderedwhy the pg_regress output claimed the stderr part of the test failed, whenthe regression diffs were clearly for the stdout part. Looking into it,the reason is that pg_regress.c's logic for iterating over three parallellists is wrong, and has been wrong since it was written: it advances the"tag" pointer at a different place in the loop than the other two pointers.Fix that.1 parenteb16011 commitc5e46c7
1 file changed
+4
-10
lines changedLines changed: 4 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1752 | 1752 |
| |
1753 | 1753 |
| |
1754 | 1754 |
| |
1755 |
| - | |
| 1755 | + | |
| 1756 | + | |
1756 | 1757 |
| |
1757 | 1758 |
| |
1758 | 1759 |
| |
1759 |
| - | |
1760 |
| - | |
1761 |
| - | |
1762 |
| - | |
1763 | 1760 |
| |
1764 | 1761 |
| |
1765 | 1762 |
| |
| |||
1848 | 1845 |
| |
1849 | 1846 |
| |
1850 | 1847 |
| |
1851 |
| - | |
| 1848 | + | |
| 1849 | + | |
1852 | 1850 |
| |
1853 | 1851 |
| |
1854 | 1852 |
| |
1855 |
| - | |
1856 |
| - | |
1857 |
| - | |
1858 |
| - | |
1859 | 1853 |
| |
1860 | 1854 |
| |
1861 | 1855 |
| |
|
0 commit comments
Comments
(0)