aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/tuplelist.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-11 04:56:58 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-11 04:56:58 +0000
commit9d244ddb26eb8521510a01271e61f9c37e74827e (patch)
tree575424831f2a9ca9cdbf8cea37ce6fe4804a57dc /src/interfaces/odbc/tuplelist.c
parent71f2b6f015b5f8da162e808a37bd7d3cc8732ce3 (diff)
downloadpostgresql-9d244ddb26eb8521510a01271e61f9c37e74827e.tar.gz
postgresql-9d244ddb26eb8521510a01271e61f9c37e74827e.zip
Cleanup of source.
Diffstat (limited to 'src/interfaces/odbc/tuplelist.c')
-rw-r--r--src/interfaces/odbc/tuplelist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/odbc/tuplelist.c b/src/interfaces/odbc/tuplelist.c
index 7d879c04d12..519222f051f 100644
--- a/src/interfaces/odbc/tuplelist.c
+++ b/src/interfaces/odbc/tuplelist.c
@@ -133,6 +133,7 @@ TL_get_fieldval(TupleListClass * self, Int4 tupleno, Int2 fieldno)
}
else if (start_is_closer)
{
+
/*
* the shortest way is to start the search from the head of the
* list
@@ -179,6 +180,7 @@ TL_get_fieldval(TupleListClass * self, Int4 tupleno, Int2 fieldno)
char
TL_add_tuple(TupleListClass * self, TupleNode * new_field)
{
+
/*
* we append the tuple at the end of the doubly linked list of the
* tuples we have already read in
@@ -197,6 +199,7 @@ TL_add_tuple(TupleListClass * self, TupleNode * new_field)
}
else
{
+
/*
* there is already an element in the list, so add the new one at
* the end of the list