logo       

sqlite_free_table bug??: msg#00119

db.sqlite.general

Subject: sqlite_free_table bug??

I am having problems with sqlite_free_table. I tried and cannot call it
twice in a row. Is that the same as cant be call with "NULL" pointer?

using the same pointer as in example, something like this.


char **result;
char request_saved[300] = "select * from abc";
int nrow = 0;
int ncolumn = 0;
int rc = 0;

void FreeTable( void ) {
sqlite_free_table(result);
}

int foo (void) {
FreeTable(result);
rc = sqlite_get_table(db, request_saved, &result, &nrow, &ncolumn,
&zErrMsg);

return foo;
}

Any ideas?

To unsubscribe from this group, send an email to:
sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise