What I whant is that in // Here! I whant to update (increment, decrement,
> etc).
>
> But it say that the DB is locked...
With sqlite v2, yes. If you were using sqlite v3 you could do the
UPDATE in the SELECT callback.
That mean Im using sqlite version 2?? (Because it say database locked).
Like I know I have here sqlite3 I will search the way to print the version
of the library used...
Also an extra question, I have done a wrapper for sqlite_exec... but because
I get sometimes the msg "Database is locked", I have writed something like
this:
while ((rc = sqlite3_exec (db, x, callBack, primerArg, &zErrMsg)) ==
SQLITE_BUSY);
I have tried after putting a counter, but aparently it is to fast a 5 count
for retry the exec...
Sorry for the "anterior way" word, was thinking that it exist anterior, but
in fact it should be "previous way"