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

Commit9f0ffa2

Browse files
author
Michael Meskes
committed
*** empty log message ***
1 parentfaf7d78 commit9f0ffa2

File tree

7 files changed

+107
-218
lines changed

7 files changed

+107
-218
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,3 +609,11 @@ Fri Jun 25 07:17:10 CEST 1999
609609
- Changed error message in ecpglib.c to list correct database name.
610610
- Set library version to 3.0.0
611611
- Set ecpg version to 2.6.0
612+
613+
Mon Jul 19 07:53:20 CEST 1999
614+
615+
- Synced preproc.y with gram.y.
616+
- Synced pgc.l with scan.l.
617+
- Fixed quoting bug in ecpglib.c
618+
- Set ecpg version to 2.6.1
619+
- Set library version to 3.0.1

‎src/interfaces/ecpg/TODO

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ support for dynamic SQL with unknown number of variables with DESCRIPTORS
1313

1414
The line numbering is not exact.
1515

16-
Inside an SQL statement quoting only works with SQL92 style double quotes: ''.
17-
1816
Missing statements:
1917
- exec sql allocate
2018
- exec sql deallocate

‎src/interfaces/ecpg/lib/Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.44 1999/06/30 23:57:23 tgl Exp $
9+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.45 1999/07/19 12:37:46 meskes Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

1313
NAME= ecpg
1414
SO_MAJOR_VERSION= 3
15-
SO_MINOR_VERSION= 0.0
15+
SO_MINOR_VERSION= 0.1
1616

1717
SRCDIR= @top_srcdir@
1818
include$(SRCDIR)/Makefile.global

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ add_mem(void *ptr, int lineno)
209209
auto_allocs=am;
210210
}
211211

212-
/* This function returns a newly malloced string that has the' and \
213-
in the argument quoted with \.
212+
/* This function returns a newly malloced string that has the \
213+
in the argument quoted with \ and the ' quote with ' as SQL92 says.
214214
*/
215215
static
216216
char*
@@ -228,8 +228,11 @@ quote_postgres(char *arg, int lineno)
228228
switch (arg[i])
229229
{
230230
case'\'':
231+
res[ri++]='\'';
232+
break;
231233
case'\\':
232234
res[ri++]='\\';
235+
break;
233236
default:
234237
;
235238
}

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
33

44
MAJOR_VERSION=2
55
MINOR_VERSION=6
6-
PATCHLEVEL=0
6+
PATCHLEVEL=1
77

88
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION)\
99
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)\

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ identifier{letter}{letter_or_digit}*
132132

133133
typecast"::"
134134

135-
self[,()\[\].;$\:\+\-\*\/\%\<\>\=\|]
135+
self[,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|]
136136
op_and_self[\~\!\@\#\^\&\|\?\$\:\+\-\*\/\%\<\>\=]
137137
operator{op_and_self}+
138138

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp