return number;
}
-static inline IISQLDA *INGgetDescriptor(short numCols, const char *query)
+static IISQLDA *INGgetDescriptor(short numCols, const char *query)
{
EXEC SQL BEGIN DECLARE SECTION;
char *stmt;
sqlda = NULL;
}
-static inline int INGgetTypeSize(IISQLVAR *ingvar)
+static int INGgetTypeSize(IISQLVAR *ingvar)
{
int inglength = 0;
return inglength;
}
-static inline INGresult *INGgetINGresult(IISQLDA *sqlda)
+static INGresult *INGgetINGresult(IISQLDA *sqlda)
{
if (!sqlda) {
return NULL;
ing_res = NULL;
}
-static inline ING_ROW *INGgetRowSpace(INGresult *ing_res)
+static ING_ROW *INGgetRowSpace(INGresult *ing_res)
{
int i;
unsigned short len; /* used for VARCHAR type length */
return row;
}
-static inline void INGfreeRowSpace(ING_ROW *row, IISQLDA *sqlda)
+static void INGfreeRowSpace(ING_ROW *row, IISQLDA *sqlda)
{
int i;
free(row);
}
-static inline int INGfetchAll(const char *query, INGresult *ing_res)
+static int INGfetchAll(const char *query, INGresult *ing_res)
{
int linecount = 0;
ING_ROW *row;
return linecount;
}
-static inline ING_STATUS INGresultStatus(INGresult *res)
+static ING_STATUS INGresultStatus(INGresult *res)
{
- if (res == NULL) {
- return ING_NO_RESULT;
- } else {
- return res->status;
- }
+ if (res == NULL) {return ING_NO_RESULT;}
+ return res->status;
}
static void INGrowSeek(INGresult *res, int row_number)