Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc55445

Browse files
author
Michael Meskes
committed
Reversed my incorrect fix.
1 parentedcf9c2 commitdc55445

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,6 +1422,16 @@ Fri May 16 11:45:50 CEST 2003
14221422
Fri May 16 13:32:10 CEST 2003
14231423

14241424
- Made double variables work again.
1425+
1426+
Mon May 19 09:22:40 CEST 2003
1427+
1428+
- Fixed exec sql ifdef command.
1429+
1430+
Tue May 20 11:47:00 CEST 2003
1431+
1432+
- Reversed my fix for ifdef. It was the example, not ecpg which was
1433+
incorrect.
1434+
- Changed DBPATH variable to PG_DBPATH.
14251435
- Set ecpg version to 2.12.0.
14261436
- Set ecpg library to 3.4.2.
14271437
- Set pgtypes library to 1.0.0

‎src/interfaces/ecpg/ecpglib/connect.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.4 2003/05/02 14:43:25 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.5 2003/05/20 11:05:27 meskes Exp $ */
22

33
#include"postgres_fe.h"
44

@@ -264,8 +264,9 @@ ECPGconnect_informix(int lineno, const char *name, const char *user, const char
264264
char*informix_name= (char*)name,*envname;
265265

266266
/* Informix uses an environment variable DBPATH that overrides
267-
* the connection parameters given here */
268-
envname=getenv("DBPATH");
267+
* the connection parameters given here.
268+
* We do the same with PG_DBPATH as the syntax is different. */
269+
envname=getenv("PG_DBPATH");
269270
if (envname)
270271
informix_name=envname;
271272
return (ECPGconnect(lineno,informix_name,user,passwd,connection_name,autocommit));

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.108 2003/05/19 07:19:57 meskes Exp $
15+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.109 2003/05/20 11:05:27 meskes Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -905,7 +905,7 @@ cppline{space}*#(.*\\{space})+.*
905905

906906
<xskip>{other}{/* ignore */ }
907907

908-
<xcond>{identifier}{space}* {
908+
<xcond>{identifier}{space}*';' {
909909
if ( preproc_tos >= MAX_NESTED_IF-1 ) {
910910
mmerror(PARSE_ERROR, ET_FATAL,"Too many nested 'EXEC SQL IFDEF' conditions");
911911
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp