forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit938c6f4
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 parentd6ec3d2 commit938c6f4
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
| 1720 | + | |
| 1721 | + | |
1721 | 1722 | | |
1722 | 1723 | | |
1723 | 1724 | | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | 1725 | | |
1729 | 1726 | | |
1730 | 1727 | | |
| |||
1804 | 1801 | | |
1805 | 1802 | | |
1806 | 1803 | | |
1807 | | - | |
| 1804 | + | |
| 1805 | + | |
1808 | 1806 | | |
1809 | 1807 | | |
1810 | 1808 | | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
1815 | 1809 | | |
1816 | 1810 | | |
1817 | 1811 | | |
| |||
0 commit comments
Comments
(0)