Re: PostgreSQL 8.4.15 update for squeeze
On 10.12.2012 16:06, Martin Pitt wrote:
As usual, they are on
http://people.debian.org/~mpitt/psql/squeeze/
together with a full debdiff.
fwiw, at the time of writing there doesn't appear to be a debdiff
there. I generated one myself for the purposes of review.
The package pass the upstream testsuite (runs during package build),
and the postgresql-common integration test suite.
diff -Nru postgresql-8.4-8.4.13/src/interfaces/ecpg/preproc/variable.c
postgresql-8.4-8.4.15/src/interfaces/ecpg/preproc/variable.c
--- postgresql-8.4-8.4.13/src/interfaces/ecpg/preproc/variable.c
2012-08-14 22:45:54.000000000 +0000
+++ postgresql-8.4-8.4.15/src/interfaces/ecpg/preproc/variable.c
2012-12-03 20:25:45.000000000 +0000
@@ -100,7 +100,11 @@
}
break;
case '-':
- return
(find_struct_member(name, end, members->type->u.element->u.members,
brace_level));
+ if (members->type->type
== ECPGt_array)
+ return
(find_struct_member(name, ++end, members->type->u.element->u.members,
brace_level));
+ else
+ return
(find_struct_member(name, ++end, members->type->u.members,
brace_level));
+ break;
break;
There's now two "break"s there (although the second is redundant).
Please go ahead; thanks.
Regards,
Adam
Reply to: