Although it does not appear to be mentioned in the documentation, is it
correct to assume that sqlite3_get_table can only handle string datatypes?
In a particular problem I am working a query is made to return an
integer and three string fields.
The issue may have more to do with the wrapper I am using (e_sqlite.c)
which defines a structure to hold the data with a char fieldtype for
each column.
It does this in a loop following the call:
recordset[i][j] = (char *) malloc( (strlen(result[count]) + 1) );
strcpy(recordset[i][j], result[count]);
So the result data is assumed to always be a string type.
Is sqlite3_get_table intended to work properly if it is I passed a
structure that represents the data I want it to return? It would be
great if someone might point me to an example of sqlite3_get_table that
works with different field types.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------