diff options
Diffstat (limited to 'src/interfaces/odbc/tuplelist.c')
-rw-r--r-- | src/interfaces/odbc/tuplelist.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/interfaces/odbc/tuplelist.c b/src/interfaces/odbc/tuplelist.c index 80b962482f2..7b2747450e0 100644 --- a/src/interfaces/odbc/tuplelist.c +++ b/src/interfaces/odbc/tuplelist.c @@ -1,16 +1,16 @@ -
-/* Module: tuplelist.c
- *
- * Description: This module contains functions for creating a manual result set
- * (the TupleList) and retrieving data from it for a specific row/column.
- *
- * Classes: TupleListClass (Functions prefix: "TL_")
- *
- * API functions: none
- *
- * Comments: See "notice.txt" for copyright and license information.
- *
- */
+ +/* Module: tuplelist.c + * + * Description: This module contains functions for creating a manual result set + * (the TupleList) and retrieving data from it for a specific row/column. + * + * Classes: TupleListClass (Functions prefix: "TL_") + * + * API functions: none + * + * Comments: See "notice.txt" for copyright and license information. + * + */ #include <stdlib.h> #include <malloc.h> @@ -21,8 +21,8 @@ TupleListClass * TL_Constructor(UInt4 fieldcnt) { TupleListClass *rv; -
- mylog("in TL_Constructor\n");
+ + mylog("in TL_Constructor\n"); rv = (TupleListClass *) malloc(sizeof(TupleListClass)); if (rv) { @@ -35,8 +35,8 @@ TupleListClass *rv; rv->last_indexed = -1; } - mylog("exit TL_Constructor\n");
-
+ mylog("exit TL_Constructor\n"); + return rv; } @@ -46,8 +46,8 @@ TL_Destructor(TupleListClass *self) int lf; TupleNode *node, *tp; - mylog("TupleList: in DESTRUCTOR\n");
-
+ mylog("TupleList: in DESTRUCTOR\n"); + node = self->list_start; while(node != NULL) { for (lf=0; lf < self->num_fields; lf++) @@ -57,11 +57,11 @@ TupleNode *node, *tp; tp = node->next; free(node); node = tp; - }
-
- free(self);
+ } + + free(self); - mylog("TupleList: exit DESTRUCTOR\n");
+ mylog("TupleList: exit DESTRUCTOR\n"); } |