summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/qresult.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/qresult.c')
-rw-r--r--src/interfaces/odbc/qresult.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/interfaces/odbc/qresult.c b/src/interfaces/odbc/qresult.c
index 66a509dd744..9b1e99814ff 100644
--- a/src/interfaces/odbc/qresult.c
+++ b/src/interfaces/odbc/qresult.c
@@ -34,7 +34,7 @@ extern GLOBAL_VALUES globals;
/* Used for building a Manual Result only */
/* All info functions call this function to create the manual result set. */
void
-QR_set_num_fields(QResultClass * self, int new_num_fields)
+QR_set_num_fields(QResultClass *self, int new_num_fields)
{
mylog("in QR_set_num_fields\n");
@@ -48,25 +48,25 @@ QR_set_num_fields(QResultClass * self, int new_num_fields)
}
void
-QR_set_position(QResultClass * self, int pos)
+QR_set_position(QResultClass *self, int pos)
{
self->tupleField = self->backend_tuples + ((self->base + pos) * self->num_fields);
}
void
-QR_set_cache_size(QResultClass * self, int cache_size)
+QR_set_cache_size(QResultClass *self, int cache_size)
{
self->cache_size = cache_size;
}
void
-QR_set_rowset_size(QResultClass * self, int rowset_size)
+QR_set_rowset_size(QResultClass *self, int rowset_size)
{
self->rowset_size = rowset_size;
}
void
-QR_inc_base(QResultClass * self, int base_inc)
+QR_inc_base(QResultClass *self, int base_inc)
{
self->base += base_inc;
}
@@ -117,7 +117,7 @@ QR_Constructor(void)
}
void
-QR_Destructor(QResultClass * self)
+QR_Destructor(QResultClass *self)
{
mylog("QResult: in DESTRUCTOR\n");
@@ -154,7 +154,7 @@ QR_Destructor(QResultClass * self)
}
void
-QR_set_command(QResultClass * self, char *msg)
+QR_set_command(QResultClass *self, char *msg)
{
if (self->command)
free(self->command);
@@ -163,7 +163,7 @@ QR_set_command(QResultClass * self, char *msg)
}
void
-QR_set_notice(QResultClass * self, char *msg)
+QR_set_notice(QResultClass *self, char *msg)
{
if (self->notice)
free(self->notice);
@@ -172,7 +172,7 @@ QR_set_notice(QResultClass * self, char *msg)
}
void
-QR_free_memory(QResultClass * self)
+QR_free_memory(QResultClass *self)
{
register int lf,
row;
@@ -209,7 +209,7 @@ QR_free_memory(QResultClass * self)
/* This function is called by send_query() */
char
-QR_fetch_tuples(QResultClass * self, ConnectionClass * conn, char *cursor)
+QR_fetch_tuples(QResultClass *self, ConnectionClass *conn, char *cursor)
{
int tuple_size;
@@ -297,7 +297,7 @@ QR_fetch_tuples(QResultClass * self, ConnectionClass * conn, char *cursor)
/* Close the cursor and end the transaction (if no cursors left) */
/* We only close cursor/end the transaction if a cursor was used. */
int
-QR_close(QResultClass * self)
+QR_close(QResultClass *self)
{
QResultClass *res;
@@ -346,7 +346,7 @@ QR_close(QResultClass * self)
/* This function is called by fetch_tuples() AND SQLFetch() */
int
-QR_next_tuple(QResultClass * self)
+QR_next_tuple(QResultClass *self)
{
int id;
QResultClass *res;
@@ -573,7 +573,7 @@ QR_next_tuple(QResultClass * self)
}
char
-QR_read_tuple(QResultClass * self, char binary)
+QR_read_tuple(QResultClass *self, char binary)
{
Int2 field_lf;
TupleField *this_tuplefield;