Hi all, The following errors are generated in a multi threaded program where each thread has its own independent Connection to sqlite. The command sql=[PRAGMA synchronous=FULL] Results in a rc=[5] and errorr msg=[database is locked] How can this can be avoided? I've tried starting a transaction "begin exclusive" but that results in: rc=[1] msg=[Safety level may not be changed inside a transaction] Thanks.