with the
configure.in above.
if HAVE_SQLITE
bin_PROGRAMS = getquota setquotas quotadb
else
bin_PROGRAMS = getquota setquotas
endif
getquota_SOURCES = getquota.c quota.h
setquotas_SOURCES = setquotas.c quota.h
quotadb_SOURCES = quotadb.c quota.h
quotadb_LDADD = @INCLUDES@ @SQLIBOBJS@ @EXTRALIB@ @SQLLIBS@
Hope with helps.
Regards,
Mike Chirico
potential memory leaks
with multiple failed calls, if the zErrMsg is not freed. It would
be helpful to inform the user, with the first example, that it is
the programmers responsibility to free this variable.
Another example can be seen in the "SQLite Tutorial" in the
section C and C++ API. Reference the following link:
http://souptonuts.sourceforge.net/readme_sqlite_tutorial.html
Regards,
Mike Chirico
tatements, with long running programs, the
memory is never freed. At least I believe it is not.
If the above is correct, changing the example my help users.
Regards,
Mike Chirico
#include
#include
static int callback(void *NotUsed, int argc, char **argv, char **azColName){
3 matches
Mail list logo