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

Commit32cfc4a

Browse files
committed
From: Michael Meskes <meskes@online-club.de>++ Fri Aug 14 12:44:21 CEST 1998++ - Added EXEC SQL DEFINE statement+ - Set version to 2.4.0++ Tue Aug 18 09:24:15 CEST 1998++ - Removed keyword IS from DEFINE statement+ - Added latest changes from gram.y+ - Removed duplicate symbols from preproc.y+ - Initialize sqlca structure+ - Added check for connection to ecpglib+ - Set version to 2.4.1++ Thu Aug 20 15:31:29 CEST 1998++ - Cleaned up memory allocation in ecpglib.c+ - Set library version to 2.6+
1 parent2aab1b9 commit32cfc4a

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,3 +277,23 @@ Fri Aug 7 12:38:50 CEST 1998
277277
- Added support for variables in cursor
278278
- Set version to 2.3.6
279279
- Set library version to 2.5
280+
281+
Fri Aug 14 12:44:21 CEST 1998
282+
283+
- Added EXEC SQL DEFINE statement
284+
- Set version to 2.4.0
285+
286+
Tue Aug 18 09:24:15 CEST 1998
287+
288+
- Removed keyword IS from DEFINE statement
289+
- Added latest changes from gram.y
290+
- Removed duplicate symbols from preproc.y
291+
- Initialize sqlca structure
292+
- Added check for connection to ecpglib
293+
- Set version to 2.4.1
294+
295+
Thu Aug 20 15:31:29 CEST 1998
296+
297+
- Cleaned up memory allocation in ecpglib.c
298+
- Set library version to 2.6
299+

‎src/interfaces/ecpg/TODO

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ it would be nice to be able to use :var[:index] as cvariable
1313

1414
Missing statements:
1515
- exec sql type
16-
- exec sql define
1716
- exec sql prepare
1817
- exec sql allocate
1918
- exqc sql free

‎src/interfaces/ecpg/include/ecpgerrno.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@
2222
#defineECPG_FLOAT_FORMAT-206
2323
#defineECPG_CONVERT_BOOL-207
2424
#defineECPG_EMPTY-208
25-
#defineECPG_NO_CONN-209
25+
2626
#defineECPG_UNDECLARED_CURSOR-210
2727

28-
/* finally the backend error messages, they start at 300 */
29-
#defineECPG_PGSQL-300
30-
#defineECPG_TRANS-301
31-
#defineECPG_CONNECT-302
28+
#defineECPG_NO_CONN-220
29+
#defineECPG_NOT_CONN-221
30+
31+
/* finally the backend error messages, they start at 400 */
32+
#defineECPG_PGSQL-400
33+
#defineECPG_TRANS-401
34+
#defineECPG_CONNECT-402
3235

3336
#endif/* !_ECPG_ERROR_H */

‎src/interfaces/ecpg/include/ecpglib.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ struct cursor {const char *name;
3737
structcursor*next;
3838
};
3939

40+
externintno_auto_trans;
41+
4042
/* define this for simplicity as well as compatibility */
4143

4244
#defineSQLCODE sqlca.sqlcode

‎src/interfaces/ecpg/include/sqlca.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ struct sqlca
3838
/* 7: empty */
3939

4040
charsqlext[8];
41-
}sqlca;
41+
};
4242

43+
externstructsqlcasqlca;
44+
4345
#endif
4446

4547
#ifdef__cplusplus

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp