The following miscellaneous differences also exist between the BDB SQL interface and SQLite:
The BDB SQL interface does not support the EXCLUSIVE
and IMMEDIATE
keywords. Use of
BEGIN EXCLUSIVE
and
BEGIN IMMEDIATE
cause a deferred
transaction (the default type of transaction) to be
started.
There are differences in how the two products work in a concurrent application that will cause the BDB SQL interface to deadlock where SQLite would result in a different error. This is because the products use different locking paradigms. See Locking Notes for more information.
When you use the BDB SQL interface, you cannot attach a database more than once within the same runtime.