- Return OID in sqlca.sqlerrd[1] if possible.
- Set ecpg version to 2.6.3
- Set library version to 3.0.2
+
+Fri Sep 17 07:43:55 CEST 1999
+
+ - Fixed bug in parsing C strings.
+ - Fixed bug in parsing operators.
+ - Set ecpg version to 2.6.4
+
char sqlerrp[8];
long sqlerrd[6];
/* Element 0: empty */
- /* 1: OID of processed tuple if applicable */
+ /* 1: OID of processed tuple if applicable */
/* 2: number of rows processed */
/* after an INSERT, UPDATE or */
/* DELETE statement */
MAJOR_VERSION=2
MINOR_VERSION=6
-PATCHLEVEL=3
+PATCHLEVEL=4
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
dquote \"
xdstart {dquote}
xdstop {dquote}
-xdcqdq \\\"
xdinside [^"]*
-xdcinside ({xdinside}|{xdcqdq})*
+
+/* special stuff for C strings */
+xdcqq \\\\
+xdcqdq \\\"
+xdcother [^"]
+xdcinside ({xdcqq}|{xdcqdq}|{xdcother})
/* Comments
* Ignored by the scanner and parser.
typecast "::"
self [,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|]
-op_and_self [\~\!\@\#\^\&\|\\1c?\$\:\+\-\*\/\%\<\>\=]
+op_and_self [\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
operator {op_and_self}+
xmstop -
memcpy(literal+llen, yytext, yyleng+1);
llen += yyleng;
}
-
<xm>{space}* { /* ignore */ }
<xm>{xmstop} {
BEGIN(SQL);