Skip to content

Commit d5740d7

Browse files
author
Michael Meskes
committed
Added DATABASE command as alias to CONNECT TO.
1 parent cde8bbc commit d5740d7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/interfaces/ecpg/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,12 @@ Fri Feb 14 14:14:25 CET 2003
13381338

13391339
- Synced parser and keyword file.
13401340
- More work on Informix compatibility.
1341+
1342+
1343+
Wed Feb 19 13:39:29 CET 2003
1344+
1345+
- Added DATABASE command as alias to CONNECT TO.
1346+
- Fixed struct parsing bug.
13411347
- Set ecpg version to 2.12.0.
13421348
- Set library to 3.4.2.
13431349

src/interfaces/ecpg/preproc/preproc.y

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.209 2003/02/17 14:06:40 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.210 2003/02/19 12:36:39 meskes Exp $ */
22

33
/* Copyright comment */
44
%{
@@ -4442,6 +4442,7 @@ enum_definition: '{' c_list '}'
44424442
struct_type: s_struct '{' variable_declarations '}'
44434443
{
44444444
ECPGfree_struct_member(struct_member_list[struct_level]);
4445+
struct_member_list[struct_level] = NULL;
44454446
free(actual_storage[struct_level--]);
44464447
$$ = cat_str(4, $1, make_str("{"), $3, make_str("}"));
44474448
}
@@ -4450,6 +4451,7 @@ struct_type: s_struct '{' variable_declarations '}'
44504451
union_type: s_union '{' variable_declarations '}'
44514452
{
44524453
ECPGfree_struct_member(struct_member_list[struct_level]);
4454+
struct_member_list[struct_level] = NULL;
44534455
free(actual_storage[struct_level--]);
44544456
$$ = cat_str(4, $1, make_str("{"), $3, make_str("}"));
44554457
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy