}
return res->act_row->sqlvar[column_number].sqldata;
}
-int INGgetisnull(INGresult *res, int row_number, int column_number)
+bool INGgetisnull(INGresult *res, int row_number, int column_number)
{
if (row_number != res->act_row->row_number) {
INGrowSeek(res, row_number);
}
- return (*res->act_row->sqlvar[column_number].sqlind == -1) ? 1 : 0;
+ return (*res->act_row->sqlvar[column_number].sqlind == -1) ? true : false;
}
int INGntuples(const INGresult *res)
{
int INGcheck(void);
short INGgetCols(B_DB *mdb, const char *stmt);
char *INGgetvalue(INGresult *res, int row_number, int column_number);
-int INGgetisnull(INGresult *res, int row_number, int column_number);
+bool INGgetisnull(INGresult *res, int row_number, int column_number);
int INGntuples(const INGresult *res);
int INGnfields(const INGresult *res);
char *INGfname(const INGresult *res, int column_number);
return res->act_row->sqlvar[column_number].sqldata;
}
-int INGgetisnull(INGresult *res, int row_number, int column_number)
+bool INGgetisnull(INGresult *res, int row_number, int column_number)
{
if (row_number != res->act_row->row_number) {
INGrowSeek(res, row_number);
}
- return (*res->act_row->sqlvar[column_number].sqlind == -1) ? 1 : 0;
+ return (*res->act_row->sqlvar[column_number].sqlind == -1) ? true : false;
}
int INGntuples(const INGresult *res)
int INGcheck(void);
short INGgetCols(B_DB *mdb, const char *stmt);
char *INGgetvalue(INGresult *res, int row_number, int column_number);
-int INGgetisnull(INGresult *res, int row_number, int column_number);
+bool INGgetisnull(INGresult *res, int row_number, int column_number);
int INGntuples(const INGresult *res);
int INGnfields(const INGresult *res);
char *INGfname(const INGresult *res, int column_number);