87 for (i = 0; i < ncols; i++) {
109 db_error(
_(
"fetch: table has wrong number of columns"));
112 for (i = 0; i < ncols; i++) {
int db__recv_table_definition(dbTable **table)
Receive table definition.
#define DB_RECV_COLUMN_DEFINITION(x)
int db__recv_table_data(dbTable *table)
Receive table data.
int db_get_error_code(void)
Get error code.
#define DB_SEND_COLUMN_VALUE(x)
#define DB_SEND_STRING(x)
dbTable * db_alloc_table(int)
Allocate a table with a specific number of columns.
int db__send_table_definition(dbTable *table)
Send table definition.
int db__send_table_data(dbTable *table)
Send table data.
void db_error(const char *)
Report error message.
#define DB_SEND_COLUMN_DEFINITION(x)
dbColumn * db_get_table_column(dbTable *, int)
Returns column structure for given table and column number.
#define DB_RECV_COLUMN_VALUE(x)
#define DB_RECV_STRING(x)