diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog index 72173d1dda47a28058f9a61611de937caa5490ac..6f698f4cbd8816cbac04ac3287b0e955391a37fd 100644 --- a/src/interfaces/ecpg/ChangeLog +++ b/src/interfaces/ecpg/ChangeLog @@ -2142,5 +2142,7 @@ Tu 5. Sep 11:49:08 CEST 2006 - Synced parser. - Fixed ecpglib trying to read one character after end-of-string. - Fixed port number setting in regression suite. + - Added some interval checks to regression suite. + - Started to cleanup complex tests. - Set ecpg library version to 5.2. - Set ecpg version to 4.2.1. diff --git a/src/interfaces/ecpg/pgtypeslib/interval.c b/src/interfaces/ecpg/pgtypeslib/interval.c index 22643dbd966d114cea02c2c42a163ef60ed8debd..d68866856c3a598301d8afa78963d845bb39ff1b 100644 --- a/src/interfaces/ecpg/pgtypeslib/interval.c +++ b/src/interfaces/ecpg/pgtypeslib/interval.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/interval.c,v 1.33 2006/09/04 01:26:28 tgl Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/interval.c,v 1.34 2006/09/05 12:17:09 meskes Exp $ */ #include "postgres_fe.h" #include <time.h> @@ -836,10 +836,10 @@ PGTYPESinterval_to_asc(interval * span) } int -PGTYPESinterval_copy(interval * intvlsrc, interval * intrcldest) +PGTYPESinterval_copy(interval * intvlsrc, interval * intvldest) { - intrcldest->time = intvlsrc->time; - intrcldest->month = intvlsrc->month; + intvldest->time = intvlsrc->time; + intvldest->month = intvlsrc->month; return 0; } diff --git a/src/interfaces/ecpg/test/pg_regress.sh b/src/interfaces/ecpg/test/pg_regress.sh index 9b427efc72b1e25a54d05c0d58fa4372208e53d6..000e4f6676e59acee3ab83e799aa195bf637c37c 100644 --- a/src/interfaces/ecpg/test/pg_regress.sh +++ b/src/interfaces/ecpg/test/pg_regress.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress.sh,v 1.11 2006/09/05 10:00:53 meskes Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress.sh,v 1.12 2006/09/05 12:17:09 meskes Exp $ me=`basename $0` @@ -711,7 +711,7 @@ for i in \ connect/*.pgc \ compat_informix/*.pgc \ complex/*.pgc \ - errors/*.pgc \ + preproc/*.pgc \ pgtypeslib/*.pgc \ sql/*.pgc \ thread/*.pgc; do