httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Linking sqlite in to apache module
Date Mon, 13 Jul 2015 16:21:37 GMT

>    char *zErrMsg;
>    rc = sqlite3_open("a.db", &db);
>    if (rc) {

Besides the faulty error trapping in the other mail - it just occurred to me that your default/current
working directory is also in a place you are unlikely to be allowed to write 

So I would out the correct path there; or for testing use

>    rc = sqlite3_open(“/tmp/a.db", &db);

in conjunction with not using exit0) & adding error logging.


View raw message