Commit Graph

14 Commits

Author SHA1 Message Date
levlam
af8042dc61 Use std::atomic for close_state. 2022-08-18 22:04:20 +03:00
levlam
eced652ca6 Add close state to fatal error message. 2022-07-30 12:33:57 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
23f585caf0 Unify set SQLite PRAGMAs. 2021-09-23 11:20:42 +03:00
levlam
a0cc1be3e6 Add allow_creation parameter to SqliteDb::init. 2021-09-22 19:04:56 +03:00
levlam
f8402d5d9d Simplify error message. 2021-09-22 14:56:48 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
Arseny Smirnov
28596f1a3f TdDb: reuse derived sqlcipher version
GitOrigin-RevId: 28a94a5dee34f47850deb5cf1ca41e92e24bf648
2020-08-14 17:48:43 +03:00
Arseny Smirnov
45bfb1b384 TdDb: create sqlite db during SqliteDb::change_key
GitOrigin-RevId: bc0bff23a50f17d9111edac6ba4194fbdffaa1b4
2020-08-14 17:11:58 +03:00
levlam
811c4ed95c Add database path to most database errors.
GitOrigin-RevId: 469033593d39a542d517d328de546d24c76c77b1
2020-02-19 04:34:55 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
c74263ce3d Better log message when database can't be opened.
GitOrigin-RevId: d5aeadb0e89fb1c9391721f716801bc239b6d9b0
2019-10-03 20:38:47 +03:00
levlam
c63144f22f Add SqliteConnectionSafe.cpp.
GitOrigin-RevId: 6e56f276c9467383c1eaa462ee7eb3530fafca55
2019-10-03 20:15:15 +03:00