forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd86e9e2
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 parent217d8f3 commitd86e9e2
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1742 | 1742 | | |
1743 | 1743 | | |
1744 | 1744 | | |
1745 | | - | |
| 1745 | + | |
| 1746 | + | |
1746 | 1747 | | |
1747 | 1748 | | |
1748 | 1749 | | |
1749 | | - | |
1750 | | - | |
1751 | | - | |
1752 | | - | |
1753 | 1750 | | |
1754 | 1751 | | |
1755 | 1752 | | |
| |||
1829 | 1826 | | |
1830 | 1827 | | |
1831 | 1828 | | |
1832 | | - | |
| 1829 | + | |
| 1830 | + | |
1833 | 1831 | | |
1834 | 1832 | | |
1835 | 1833 | | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | | - | |
1840 | 1834 | | |
1841 | 1835 | | |
1842 | 1836 | | |
| |||
0 commit comments
Comments
(0)