Hey calvin,

2010/3/25 calvin <[email protected]>:
>
>
>>
>> Does the error message (from SQlite3) not provide any useful information?
>>
>
>
> Thanks Koen.
>
> The problem turned out to be that a new transaction was needed to
> be instantiated before performing the query. However, the error was not
> propagated through to cerr... (all that was reported was a dead session) and 
> was
> only found by diving deeper into the code.
>
>
> How does one get any SQLite3 messages? Is this printed in the console?

It should: any uncaught exception thrown by the application will
terminate the session. If the exception derives from std::exception,
then the message .what() is printed to std::err.

If you do not have a transaction, then you should see something like:

[2010-Mar-25 09:13:35.591465] 19925 [/blog sRrbTDinH6mk6qm8] [fatal]
"Dbo find(): no active transaction"

Regards,
koen

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to