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

Commit7cf0f63

Browse files
author
Michael Meskes
committed
*** empty log message ***
1 parenta010be7 commit7cf0f63

File tree

7 files changed

+234
-137
lines changed

7 files changed

+234
-137
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,3 +730,10 @@ Fri Dec 3 16:35:07 CET 1999
730730

731731
- Fixed memory leak in ecpglib.
732732
- Set library version to 3.0.8.
733+
734+
Wed Dec 8 08:26:13 CET 1999
735+
736+
- Synced preproc.y with gram.y.
737+
- Clean up error handling.
738+
- Set ecpg version to 2.6.11.
739+

‎src/interfaces/ecpg/TODO

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ DESCRIPTOR statement will be ignored.
1010
If a NOTICE message is given by the backend it should not be printed to
1111
stderr. Instead it should be listed as a warning.
1212

13+
The error handling has to be improved by adding additional error-rules to
14+
the parser.
15+
1316
it would be nice to be able to use :var[:index] as cvariable
1417

1518
support for dynamic SQL with unknown number of variables with DESCRIPTORS

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ include $(SRCDIR)/Makefile.global
33

44
MAJOR_VERSION=2
55
MINOR_VERSION=6
6-
PATCHLEVEL=10
6+
PATCHLEVEL=11
77

88
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION)\
99
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)\
10-
-DINCLUDE_PATH=\"$(HEADERDIR)\"
10+
-DINCLUDE_PATH=\"$(HEADERDIR)\" -g
1111

1212
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o\
1313
keywords.o c_keywords.o ../lib/typename.o

‎src/interfaces/ecpg/preproc/ecpg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include"extern.h"
1313

1414
struct_include_path*include_paths;
15-
intautocommit=0;
15+
intret_value=OK,autocommit=0;
1616
structcursor*cur=NULL;
1717
structtypedefs*types=NULL;
1818

@@ -215,5 +215,5 @@ main(int argc, char *const argv[])
215215
free(input_filename);
216216
}
217217
}
218-
returnOK;
218+
returnret_value;
219219
}

‎src/interfaces/ecpg/preproc/extern.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
/* variables */
66

77
externintbraces_open,
8-
autocommit,
9-
struct_level;
8+
autocommit,
9+
ret_value,
10+
struct_level;
1011
externchar*yytext,
1112
errortext[128];
1213
externintyylineno,

‎src/interfaces/ecpg/preproc/keywords.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.19 1999/10/15 19:02:08 meskes Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.20 1999/12/08 09:52:29 meskes Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -220,6 +220,7 @@ static ScanKeyword ScanKeywords[] = {
220220
{"stdin",STDIN},
221221
{"stdout",STDOUT},
222222
{"substring",SUBSTRING},
223+
{"sysid",SYSID},
223224
{"table",TABLE},
224225
{"temp",TEMP},
225226
{"temporary",TEMPORARY},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp