Stepan Zakharov wrote:
> Nothing & Nothing. Just returns SQLITE_OK, doesn't enter into Callback.
This program:
#include <stdio.h>
#include <sqlite3.h>
static int callback(void *p, int cols, char **data, char **names)
{
printf("%s %s %s %s %s %s\n", data[0], data[1], data[2], data[3],
data[4], data[5]);
return 0;
}
int main()
{
sqlite3 *db;
sqlite3_open(":memory:", &db);
sqlite3_exec(db, "create table TABLE_NAME(hello world)", NULL, NULL,
NULL);
sqlite3_exec(db, "pragma table_info(TABLE_NAME)", callback, NULL, NULL);
}
outputs:
0 hello world 0 (null) 0
Regards,
Clemens
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users