RE: [sqlite] Function to find the size returned data size from a SELECT??

2005-09-22 Thread Richard Boyd
OK Thanks for your reply. Yeah, I know that sqlite3_get_table() allocates the memory for me, but thanks for the heads up any way! I think the possibility of checking the number of rows will be sufficient for my purposes... If I don't check is there not a possibility of there not being enough

Re: [sqlite] Function to find the size returned data size from a SELECT??

2005-09-21 Thread Dan Kennedy
> I was wondering if there was a way to find the size of data that will be > returned before actually making the call to sqlite3_get_table which will > return a pointer to a malloc'd memory location. My question is really: can I > find the required memory size before the call? The short answer