SQLitening Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the SQLitening support forums!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - sbirrari

Pages: [1]
1
You've got Questions? We've got Answers! / Messages suppression
« on: October 31, 2018, 01:59:05 AM »
Hello,

in my application I'm using two SQLite databases. The library version is 1.60.4.
I would like to suppress every message from SQLitening (errors and lock retries), and handle all the errors in the application.

This is how I open a DB:
 - slSetProcessMods "E0 T1000" (to suppress messages while opening the DB)
 - slsOpen
 - slSetProcessMods "rE0 T1000"
 - slPushDatabase

Every time I need to use a DB:
 - slPopDatabase
 - slsExe/slsSel

I read in the docs that mods are pushed/poped along with the database handle, but one of my customers saw this message


How can I completely suppress every error message and let the library calls fail when there is a lock timeout?
Do I need to set the mods on every call?

Thank you,
Riccardo

Pages: [1]