Вверх ↑
Ответов: 655
Рейтинг: 18
#1: 2015-03-07 23:41:47 ЛС | профиль | цитата
Tad,

1) SQLITE открывате БД в том режиме который был указан при компиляции это написано на сайте sqlite. http://www.sqlite.org/threadsafe.html
The threading mode can be selected at compile-time (when the SQLite library is being compiled from source code) or at start-time (when the application that intends to use SQLite is initializing) or at run-time (when a new SQLite database connection is being created). Generally speaking, run-time overrides start-time and start-time overrides compile-time. Except, single-thread mode cannot be overridden once selected.


2) Режим по умолчанию SERIALIZED (SQLITE_THREADSAFE=1) http://www.sqlite.org/threadsafe.html
The default mode is serialized.


3) SQLITE открывает БД в режиме FULLMUTEX или NOMUTEX программно только через SQLITE3_OPEN_V2
пруф:
[url]https://www.sqlite.org/c3ref/open.html [/url]
https://www.sqlite.org/c3ref/c_open_autoproxy.html


карма: 0

0