Hi everyone.

Im developing my program in C++ and using i386 linux as OS. 
Im having some problem with SQLite 2.8.6.

In my program I have a method wich is a void and its call a Callback
function to do a query of DB in SQLite. I whant to do another
sqlite_exec() inside a callback funcion of a previous sqlite_exec().

But when it arrives in the second sqlite_exec():

src = sqlite_exec(sbd,  qUpdateLimiar.c_str(), NULL, 0, NULL);

I get a segmentation fault. In GDB I get the following menssage:

Program received signal SIGSEGV, Segmentation fault.
sqliteSafetyOn (db=0x0) at ./src/util.c:1123
1123    ./src/util.c: Arquivo ou diretório não encontrado.
        in ./src/util.c
Current language:  auto; currently c


I dont know whats is that Im doing wrong, the variables in the callback
function is all static, can I do a sqlite_exec() inside a callback
function?!

Thanks in advance for any help.

Thiago Mello


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to