I wonder how one would read BLOB column and loop over its rows?
BAT *b = table_funcs.full_column(m->session->tr, blob_col_name);
//blob *readblobrows = (blob*) b->T.heap.base;
//unsigned char *readblobrows = (unsigned char*) b->T.heap.base;
p.s.
For INT column it would be go like this:
int * readintrows = (int *) b->T.heap.base;
for (irow=0; irow < nrow; irow++) {
intvalue = *readintrows++;
}
Thanks,
Anton