get_data:
if (colidx < 0 || colidx >= (int)cols->nstring)
goto no_data;
-
+
switch (mql_result_rows_get_row_column_type(rslt, colidx)) {
case mqi_string:
string = mql_result_rows_get_string(rslt, colidx, rowidx,
static const_def_t const_defs[] = {
{ "string" , mqi_string },
{ "integer" , mqi_integer },
+ { "unsigned" , mqi_unsignd },
{ "floating" , mqi_floating },
{ NULL , mqi_unknown }
};
if ( cd->name == NULL ||
(cd->type != mqi_string &&
cd->type != mqi_integer &&
+ cd->type != mqi_unsignd &&
cd->type != mqi_floating ))
goto error;
}